Iād like help for a chat command that adds money to players. Not to set a certain amount but to add onto whatever they already have.
Thanks,
Edit: Nevermind. Screwing around with code and found a way although i will make this more secure
TriggerEvent('es:addCommand', 'givemoney', function(source, args, user)
TriggerClientEvent('chatMessage', -1, "", {255, 0, 0}, "You've added money...")
user:addMoney((args[2] + 100.0))
end)