• how to check the entity name ?
    1 replies, posted
Pretty sure its can't be detect as String. Would someone give me hint ? local looktarget = ply:GetEyeTrace().Entity hook.Add("Think", "Spam",function() if (looktarget == "prop_door_rotating") then  print("Im looking at the door!") end end)
Entity/GetClass
Sorry, you need to Log In to post a reply to this thread.