16.09.2012, 16:29
pawn Код:
public OnGameModeInit()
{
SetTimer("Antisp", 2000, 1);
return 1;
}
forward Antisp();
public Antisp()
{
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
if(GetPlayerSpeed(playerid) > 210) // if it is above.
{
SendClientMessage(playerid, -1, "<< Anti-Speed: You are kicked >>"); // will be displayed this message
Kick(playerid); // Then will kick the player.
}
}
return 1;
}