10-29-2016, 08:49 AM
(This post was last modified: 10-29-2016, 08:49 AM by PureTryOut.)
(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)