#1

Код:
SetTimer("Event", 1000 * 60 * 30, true);
i got given this but not sure what each nunmber means
Reply
#2

Event = The function to execute
1000 * 60 * 30 = How long the timer will take before executing it in milliseconds
True = Will it repeat or not? True means it will and False means it won't

You might also find this useful:
https://sampwiki.blast.hk/wiki/SetTimer
Reply
#3

So why is there 3 numbers not one does first one mean how long between 2nd one how long the even is or something
Reply
#4

You mean this? 1000 * 60 * 30
It is a calculation ;p
1000 times 60 times 30 = 1800000 milliseconds
Reply
#5

oh kk thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)