Good evening. who does the activation of the cheatpack by stringhash? got the stringhash of the string "test" and changed the activation conditions from : if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then on the: if StringHash(GetEventPlayerChatString(),0,100)== -310027398 and not IsPlayerInForce(p2p,CHEATER) then or something like that: if StringHash(SubString(GetEventPlayerChatString(),0,100))== -310027398 and not IsPlayerInForce(p2p,CHEATER) then so: if StringHash(GetEventPlayerChatString())==-310027398 and not IsPlayerInForce(p2p,CHEATER) then
the map starts up, but according to the message in the chat "test", the cheat is not activated, is there a problem with the wrong condition, or is it necessary to add some code somewhere else?
|