I want to know the name of an entity, that I am looking, something like that : sent_bloon
So I did this but doesn't work :
[CODE]
concommand.Add('what_is_that_entity',function(ply)
ply:ChatPrint(ply:GetEyeTrace().Entity:GetName())
end)
[/CODE]
I think Entity:GetClass() is what you're looking for.
Thanks man ;)
Sorry, you need to Log In to post a reply to this thread.