Jigglypuff Posted March 19, 2019 Posted March 19, 2019 Hello, tell me how to make a timer. So that at the expiration of his player teleported to a certain point.
Z8pn Posted March 19, 2019 Posted March 19, 2019 setTimeout(function(){ //Your Code },1000) // Change 1000 to ur duration u want to wait ( in ms )
robearded Posted March 19, 2019 Posted March 19, 2019 If you're using C# check this out: https://wiki.gtanet.work/index.php?title=Task
Jigglypuff Posted March 19, 2019 Author Posted March 19, 2019 5 часов назад, Z8pn сказал: setTimeout(function(){ //Your Code },1000) // Change 1000 to ur duration u want to wait ( in ms ) Thank you 1 час назад, robearded сказал: If you're using C# check this out: https://wiki.gtanet.work/index.php?title=Task JS, but thank you.
Jigglypuff Posted March 19, 2019 Author Posted March 19, 2019 7 часов назад, Z8pn сказал: setTimeout(function(){ //Your Code },1000) // Change 1000 to ur duration u want to wait ( in ms ) but how to make the player teleport to a certain point at the end of the timer?
Z8pn Posted March 20, 2019 Posted March 20, 2019 Place your code in which you change the position inside the timeout, ( where i did // Your Code )
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