21.07.2018, 18:39
Somehow, server detect cheats, but i was only on foot/or walking but i didn't use cheat.
Code:
new playerState = GetPlayerState(playerid); if(oldPlayerState[playerid] == playerState ) { if(playerState == PLAYER_STATE_ONFOOT || playerState == PLAYER_STATE_DRIVER || playerState == PLAYER_STATE_PASSENGER) { if(playerState == PLAYER_STATE_ONFOOT) { switch(GetPlayerAnimationIndex(playerid)) { case 958, 959, 961, 962, 965, 971, 1126, 1130, 1132, 1134, 1156, 1208: { CheatDetect[playerid] = false; return true; } } }