26.12.2016, 20:56
Mesma coisa:
o cуdigo estб assim:
o cуdigo estб assim:
PHP код:
// anti cheat speed on foot
if(GetPlayerWeapon(playerid) != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 958) return 1;
if(GetPlayerSpeed(playerid, true) >= 30 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
//if(GetPlayerWeapon(playerid) != WEAPON_PARACHUTE && GetPlayerAnimationIndex(playerid) == 958) return 1;
if(playerid == INVALID_PLAYER_ID) return 1; // pra nгo floodar com gente off q jб foi banida
new string[128];
format(string, sizeof(string), "SERVER | {FFFFFF} %s foi kickado pela varredura [ Motivo: speed hack (ON-FOOT) ]", GetName(playerid));
SendClientMessageToAll(0x00FFFBAA, string);
//SetTimerEx("tempo1",400,0, "i", playerid);