Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("PlayerDeath","DropMoney", function(ply)
- local money = ply:getDarkRPVar("money")
- DarkRP.createMoneyBag( ply:GetPos() + Vector(0,0,16), money )
- ply:addMoney(-money)
- DarkRP.notify(ply, 2, 5, "You dropped all your money!")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement