[help] how do i make a 24hour timer?
#2

At the top of your script, after the includes:
pawn Код:
forward Yourfunction();
Under some function (Ex.: under public OnFilterScriptInit())
pawn Код:
SetTimer("Yourfunction",86400000,0);
Not in another function:
pawn Код:
public Yourfunction()
{
print("Your message"); // You can do many many things. This is an example.
return 1;
}
[AG]Adam
Reply


Messages In This Thread
[help] how do i make a 24hour timer? - by Mowgli - 16.10.2009, 11:15
Re: [help] how do i make a 24hour timer? - by AG Adam - 16.10.2009, 11:41
Re: [help] how do i make a 24hour timer? - by Mowgli - 16.10.2009, 12:06
Re: [help] how do i make a 24hour timer? - by Mowgli - 16.10.2009, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)