Quote:
Originally Posted by Sellen
pawn Code:
#define Ping 700
Nome(playerid) {
new Nom [21] GetPlayerName(playerid, Nome, 21); return Nom; } public OnPlayerUpdate(playerid) { static PPing = GetPlayerPing(playerid); new celulas[80] ; if(PPing > Ping) { format(celulas, 128,"[AdmCmd]: %s foi kikado por ping alto (%d)",Nome(playerid), Ping); SendClientMessageToAll(-1,celulas); Kick(playerid); } return 1; }
|
Esse static aн vai dar problema, nгo?