Sign in to follow this  
Jigglypuff

Timer RageMP

Recommended Posts

 

Hello, tell me how to make a timer. So that at the expiration of his player teleported to a certain point.

Share this post


Link to post
Share on other sites
setTimeout(function(){
//Your Code
},1000) // Change 1000 to ur duration u want to wait ( in ms )

 

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

Place your code in which you change the position inside the timeout, ( where i did // Your Code )

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.