23.02.2013, 19:32
Quote:
Hi, thank you goood job! How do ı control the entrance punishment?
my code; Код:
if(PlayerInfo[playerid][pBanned] > 0) { SendClientMessage(playerid,-1,"Your account is banned"); Kick(playerid); } |
pawn Код:
#define KickWithDelay(%1) SetTimerEx("KickPlayer", 1000, false, "i", %1)
forward KickPlayer(playerid);
public KickPlayer(playerid)
{
return Kick(playerid);
}