Timer?
#1

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 ?
Reply


Messages In This Thread
Timer? - by dorperez - 17.05.2014, 10:39

Forum Jump:


Users browsing this thread: 2 Guest(s)