This commit is contained in:
BenCat07 2018-04-08 21:11:05 +02:00 committed by GitHub
parent 9ce68dfd37
commit c6e4d1b9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -910,7 +910,7 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
{ {
if (ucccccp::validate(message)) if (ucccccp::validate(message))
{ {
if (ucccccp::decrypt(message) == "meow" && hacks::shared::antiaim::communicate) { if (ucccccp::decrypt(message) == "meow" && hacks::shared::antiaim::communicate && data[0] != LOCAL_E->m_IDX && playerlist::AccessData(ENTITY(data[0])).state != playerlist::k_EState::CAT;) {
playerlist::AccessData(ENTITY(data[0])).state = playerlist::k_EState::CAT; playerlist::AccessData(ENTITY(data[0])).state = playerlist::k_EState::CAT;
chat_stack::Say("meow"); chat_stack::Say("meow");
} }