Server
In this section you can find server-sided exports and events to be used/integrated with other resources.
Exports
Get Account Money
Gets the account balance/money from a given shop.
exports['t1ger_tuningsystem']:GetAccountMoney(shopId)
-- shopId(INT): tuner shop idAdd Account Money
Adds x money to the given account.
exports['t1ger_tuningsystem']:AddAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to add to the accountRemove Account Money
Removes x money from the given account.
exports['t1ger_tuningsystem']:RemoveAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to remove from the accountSet Account Money
Sets the account balance of the given account to x.
exports['t1ger_tuningsystem']:SetAccountMoney(shopId, amount)
-- shopId(INT): tuner shop id
-- amount(INT): amount of money to set the new account balance to.Events
Last updated