Converting seconds to hours, minutes and seconds
#7

Quote:
Originally Posted by MP2
View Post
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?!
Oh Dear God, please make a "******" button on everybody's head...

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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)