09.02.2016, 10:45
My anti airbreak is right?
KillTimer(timerAtualizarPlayer[playerid]);
timerAtualizarPlayer[playerid] = SetTimerEx("AtualizarPlayer", 500, true, "i", playerid);
public AtualizarPlayer(playerid) {
KillTimer(timerAtualizarPlayer[playerid]);
timerAtualizarPlayer[playerid] = SetTimerEx("AtualizarPlayer", 500, true, "i", playerid);
public AtualizarPlayer(playerid) {
Код:
// anti airbreak new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); if(GetPlayerPos(playerid) >= x, y, 200 && GetPlayerSpeed(playerid, true) == 0) { format(string, sizeof(string), "ANTICHEAT: %s foi detectado por: AIRBREAK", PlayerName(playerid) ); ABroadCast(COLOR_LIGHTGREEN,string,3); }