09.01.2012, 06:18
Quote:
Can you provide an example on how to use it? It's not very clear. I attempted it, but got invalid argument errors. How does the function know how many seconds to convert from, there's no argument for that?!
|
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
BTW, even if you suck at math you need to know certain things before attempting scripting for SA-MP, as it requires some knowledge to even start!
1 second = 1000 miliseconds
1 minut = 60 seconds = 60,000 miliseconds
1 hour = 60 minutes = 3600 seconds = 3,600,000 miliseconds