Question about 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: Question about timer (
/showthread.php?tid=511512)
Question about timer -
Ananisiki - 05.05.2014
What this mean
Re: Question about timer -
Scrillex - 05.05.2014
24 x 60 x 1000 = on
Re: Question about timer -
PinEvil - 05.05.2014
The "*" in 'Pawno' is a shortcut for using multiplication.
Re: Question about timer -
Ananisiki - 05.05.2014
So... hm.... 24 x 60 = 1440
1440 x 1000 = 1440000
is that milliseconds or
Re: Question about timer -
mrtms - 06.05.2014
Probably, since you're multiplying by 1,000. If you want us to be definitely sure, you should paste the variable in as well.
Re: Question about timer -
SickAttack - 06.05.2014
The symbol * is an arithmetic operator. Just like +, -, / and % witch is used in Excel, Programing, Math, etc.
+ Add 3+4
- Difference 3-4
* Product 3*4
/ Ratio 20/7
% Module 20%7
Re: Question about timer -
RajatPawar - 06.05.2014
Quote:
Originally Posted by Ananisiki
What this mean
|
Assuming that is a timer, it means that the timer is set to repeat every (since timers are in milliseconds)
-> .. 60 seconds (60 * 1000)
-> 24 * 60 seconds -> 24 minutes
It will repeat every 24 minutes.
If you are asking about the operator '*', you need to step back a bit, probably take a break.
Re: Question about timer -
Ananisiki - 06.05.2014
So if i want 24 seconds instead, how i do
Re: Question about timer -
moof2010 - 06.05.2014
24*1000 or 24000