Update Events.cpp

This commit is contained in:
BenCat07 2018-02-25 14:03:09 +01:00 committed by GitHub
parent 7352f83c28
commit bfcae0d6cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,18 +29,19 @@ void CreateMove()
if (data[i] != CE_INT(ent, netvar.iClass))
{
if (colors::EntityF(ent) == colors::red) {
int skin = RAW_ENT(ent)->GetSkin();
if (skin == 1) {
PrintChat("\x07%06X%s\x01 changed from \"\x07%06X%s\x01\" to "
"\"\x07%06X%s\x01\"",
0xb8383b, info.name, 0x6b9ca0, inttochar(data[i]),
0x6ba072, inttochar(CE_INT(ent, netvar.iClass)));
}
else if (colors::EntityF(ent) == colors::blu) {
else if (skin == 2) {
PrintChat("\x07%06X%s\x01 changed from \"\x07%06X%s\x01\" to "
"\"\x07%06X%s\x01\"",
0x5885a2, info.name, 0x6b9ca0, inttochar(data[i]),
0x6ba072, inttochar(CE_INT(ent, netvar.iClass)));
}
}
data[i] = CE_INT(ent, netvar.iClass);
}