[SOLVED] How do i make a timer in lua?
#6
(10-29-2016, 05:42 AM)denwo Wrote: also how can i get a class for example i would do

This would solve my problem.

You mean you want the player object? Often the arguments for a callback will provide those. If not, you can get it from cRoot()

Code:
cRoot:Get():ForEachPlayer(function(cPlayer)
       if (cPlayer:GetName() == "Steve") then
            ....
       end
end)
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: 1 Guest(s)