Well heres what i got
function playerDies( victim, weapon, killer )
ply:DropWeapon(ply:GetActiveWeapon())
end
hook.Add( "PlayerDeath", "playerDeathTest", playerDies )
its not workin to well
It's right, except your argument is [b]victim[/b], not [b]ply[/b]. It should be:
[code]victim:DropWeapon( victim:GetActiveWeapon() )[/code]
oh, silly me, thank you so much!
Sorry, you need to Log In to post a reply to this thread.