First time, second time, third time, etc
#1

Hi, it's me again
I know that I post alot of threads here in the weekend, its cuz I only play SAMP in the weekend...

ok basically I have a question if something is possible, I think it easy, but I think it's very hard too!
ok, so what I need is something wich gets called every 5 seconds, and then in the public there are 5 things, wich should be done once per time the public gets called...

E.x:
pawn Код:
public fivesectimer(stuff here)
{
    SendClientMessage(playerid,COLOR_RED,"blahblah");
    SetPlayerHealth(playerid, 0);
    GameText(stuff here);
    Kick(playerid);
    ban(playerid);
}
ok, this stuff makes no sence, but its just to give a clear exampl
so what it should do is the following:
after 5 seconds you get the clientmessage
after another 5 seconds the playerhealth thing
after another 5 secs the Gametext
after anhother 5 secs, kick
after another 5 secs, ban

then, it should go to the clientmessage again...
I know it can be scripted by creating 5 different timers, but it is extremely stuid i guess since it's possible with another way, but I don't know how...

rep++ for helper
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)