Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. hook.Add("PlayerDeath","DropMoney", function(ply)
  2. local money = ply:getDarkRPVar("money")
  3. DarkRP.createMoneyBag( ply:GetPos() + Vector(0,0,16), money )
  4. ply:addMoney(-money)
  5. DarkRP.notify(ply, 2, 5, "You dropped all your money!")
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement