• help - looking for anti-prop kill
    1 replies, posted
is there any lua script that make collision when player holding a prop? i tried gsurf but its not working well.. any one know about other addon?
[code] hook.Add("PlayerShouldTakeDamage", "AntiPropKill", function(ply, ent) if IsValid(ent) and ent:GetClass() == "prop_physics" then return false end end) [/code] Something like that would make it so the player doesn't take damage from props.
Sorry, you need to Log In to post a reply to this thread.