Jump to content

[Q] Difference between server_timer and server_loop_timer


Recommended Posts

i think a server_timer() is a timer and when it ends, runs a code.(And it is a timer  for the whole server).

and a server_loop_timer() is a timer and when it ends, runs a code and then it restarts,(And it is a timer  for the whole server too)

 

The usage:

server_timer("name", time in seconds)

server_loop_timer("name", time in seconds)

 

how to run them when finished?

when name.server_timer() begin

 code

 

when name.server_timer() begin

 

I hope i helped you.

 

  • Love 3
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.