Skip to main content

esx:setAccountMoney

Server Side

This event is triggered when the player has change any money/account

Arguments

ArgumentData TypeExplanation
playernumberplayer serverId
accountNamestringmoney, black_money, bank
moneynumber
reasonstring

Example Usage

RegisterNetEvent('esx:setAccountMoney', function(player, accountName, money, reason)
if accountName == 'money' then
print(player, ' money is: ', money)
print('Reason:', reason)
end
end)