Get Account Money Event

Get Account Money Event Configuration

Config.GetAccountMoneyEvent

-- Place here the Event from your Framework to get the Player Account Money
Config.GetAccountMoneyEvent = function(source, account)
    ESX = exports['es_extended']:getSharedObject()
    local xPlayer = ESX.GetPlayerFromId(source)
    return xPlayer.getAccount(account).money
end

Last updated