ESX AddonAccount
[INSTALLATION]
git clone https://github.com/FXServer-ESX/fxserver-esx_addonaccount esx_addonaccount
start esx_addonaccount
[USAGE]
There is two types of accounts : shared and not shared.
You must create the account in the database (addon_account) before using it :
name = name of the account, label = label of the account, shared (0 or 1) = Is account shared
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_realestateagent', function(account) account.addMoney(500) end) TriggerEvent('esx_addonaccount:getAccount', 'property_black_money', 'steam:0123456789', function(account) account.removeMoney(500) end)