Nice_x #Scripting; Posted May 11, 2019 Share Posted May 11, 2019 Alguem poderia me dar um exemplo, de como eu poderia fazer um timer que iniciaria por minutos exemplo: /timer 1 -- Iniciaria um tempo de 1 minuto e não /timer 60000 Alguem pode me dizer como posso fazer essa conversão? Link to comment
Jonas^ Posted May 11, 2019 Share Posted May 11, 2019 Faça um calculo básico. local timer = 1 function mainFunction () outputChatBox ("Instant text!") setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 60000 * timer) end -- ( EXEMPLO DA WIKI ) 1 Link to comment
Nice_x #Scripting; Posted May 11, 2019 Author Share Posted May 11, 2019 Obrigado, consegui fazer. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now