[SOLVED] How do i make a timer in lua?
#4
You should put it wherever you want the task to be started - if it is by a reaction to a player command, then the player command handler is the right place. If it should be done, say, if a player is killed, then the HOOK_KILLED is the right place.

As for the current world, "current for whom?" Each player has a world assigned to them, accessible via cPlayer:GetWorld(). Similarly, entities have a cEntity:GetWorld().
Reply
Thanks given by:


Messages In This Thread
[SOLVED] How do i make a timer in lua? - by denwo - 10-19-2016, 10:49 PM
RE: How do i make a timer in lua? - by NiLSPACE - 10-19-2016, 10:53 PM
RE: How do i make a timer in lua? - by denwo - 10-29-2016, 03:16 AM
RE: How do i make a timer in lua? - by xoft - 10-29-2016, 04:05 AM
RE: How do i make a timer in lua? - by denwo - 10-29-2016, 05:42 AM
RE: How do i make a timer in lua? - by PureTryOut - 10-29-2016, 08:49 AM



Users browsing this thread: 2 Guest(s)