Good Evening. How can I give ply for Think hook?
Like that:
function ENT:Think(ply)
if ply:GetEyeTrace().Entity == self then
print("You are watching!")
end
end
What do you mean? "Give ply to think hook"? You mean how to get ply?
ply = LocalPlayer()
If you mean anything else then idk what you mean
GM/PlayerTick
attempt to call global 'LocalPlayer' (a nil value)
no you cant get any local player information on the server..the server is no player. if you really need certain play information for the server you have to network it
Sorry, you need to Log In to post a reply to this thread.