Update Events.cpp

This commit is contained in:
BenCat07 2018-02-25 15:55:46 +01:00 committed by GitHub
parent 4c605cce10
commit e0dd4b5b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,14 +29,13 @@ void CreateMove()
if (data[i] != CE_INT(ent, netvar.iClass))
{
int skin = RAW_ENT(ent)->GetSkin();
if (skin == 1) {
if (ent->m_iTeam == TEAM_RED) {
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 (skin == 2) {
else if (ent->m_iTeam == TEAM_BLU) {
PrintChat("\x07%06X%s\x01 changed from \"\x07%06X%s\x01\" to "
"\"\x07%06X%s\x01\"",
0x5885a2, info.name, 0x6b9ca0, inttochar(data[i]),