Jump to content

Milliseconds to seconds?


megaman54

Recommended Posts

Posted
Then it should be:

SecondsToMS

And setTimer is still wrong.

should be:

function SecondsToMS( Seconds ) 
local MS = tonumber ( Seconds ) * 1000 
return MS 
end 
setTimer( function ( ) outputChatBox("test") end, SecondsToMS( 5) , 1 ) 

Oh yea, I didnt saw u.u

Posted
i think there should be an exported function like exports.coolscripts:secondsToMs(1) to handle such delicate matters

Please tell me you are kidding. :shock:

  • MTA Team
Posted

Well, it didn't sound like sarcasm :P, if i was sarcastic i would say

Well, ofcourse there shud be an exported function like exports.stupido:secToMs(1337)...xddd!!!!!!!!!!
your post sounded serious D:
  • 2 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...