Advertisement
ProToTN

MTA giveCash Script

Jan 23rd, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. function giveCash(Player, _, cash)
  2.     if (Player) then
  3.         money = givePlayerMoney(player,tonumber(cash))
  4.         if (money) then
  5.             outputChatBox("$"..cash.. "have been added to your account",Player)
  6.         else
  7.             outputChatBox("Money addition failed")
  8.         end
  9.     end
  10. end
  11. addCommandHandler("giveme",giveCash)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement