• is it possible to edit player pickup (e)
    3 replies, posted
is it possible to edit (when a player looks at a prop and press e to pick up ). I want to change the weight limit and other things on it but i don't know if its possible to edit. If it is can someone show me were the lua file is.
I don't think its lua, pretty sure it is handled by the engine.
You could probably fake it using PlayerUse [url]http://gmodwiki.net/Lua/Hooks/Base/PlayerUse[/url] and a mass check with PickupObject [url]http://gmodwiki.net/Lua/Classes/Player/PickupObject[/url]
if ply:KeyDown(IN_USE) then ply:Kill() end
Sorry, you need to Log In to post a reply to this thread.