First time, second time, third time, etc
#5

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;
}
Not tested. Test it, report bugs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)