SA-MP Forums Archive
Timer? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Timer? (/showthread.php?tid=513624)



Timer? - dorperez - 17.05.2014

I have this timer:

pawn Код:
SetTimer("StartFire", 60000, 1);

forward StartFire();
public StartFire()
{
    new
        rand = random(sizeof(RandomSpawn))
    ;
    fire1 = CreateFire(RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2]);

    SendClientMessageToAll(COLOR_WHITE, "A big fire has started ! LSFD are taking care of the cause !");

    return 1;
}
but it does'nt work,it doesn't even shows me the message..
How can I fix it ?