24.09.2011, 18:41
pawn Код:
// Top :3
forward SumTimer(playerid);
new TimeValue = 0;
// Sumwhere.
SetTimerEx("SumTimer",5000,1,"i",playerid);
//Sumwhere else :3
public SumTimer(playerid)
{
switch(TimeValue)
{
case 0: SendClientMessage(playerid,16,"blahblah");
case 1: SetPlayerHealth(playerid, 0);
case 2: GameTextForPlayer(playerid,"b",5000,3);
case 3: Kick(playerid);
case 4: Ban(playerid);
}
TimeValue++;
return 1;
}