Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function deposit(player, amount)
- local bankbalance = bankBalance(player)
- local new_balance = bankbalance + amount
- MySQL:executeQuery("UPDATE users SET `bankbalance`='@value' WHERE identifier = '@identifier'", {['@value'] = new_balance, ['@identifier'] = player})
- end
Add Comment
Please, Sign In to add comment