exports / triggers
Client Exports
TriggerEvent('brutal_banking:client:AddTransaction', amount, type, label)
type = 'add' / 'remove'
TriggerServerEvent('brutal_banking:server:CreateSubAccount', account_name, pincode)
Create a subaccount for the player where the trigger runs from
TriggerServerEvent('brutal_banking:server:DeleteSubAccount', account_id)
Deletes a sub account from a player the player where the trigger runs from
Server Exports
TriggerClientEvent('brutal_banking:client:AddTransaction', source, amount, type, label)
type = 'add' / 'remove'
TriggerEvent('brutal_banking:server:CreateSubAccount', player_id ,account_name, pincode)
Create a sub account for the player.
'player_id' = The server id of the player you want to create the sub account for.
TriggerEvent('brutal_banking:server:DeleteSubAccount', player_id, account_id)
Delete a sub account for the player.
'player_id' = The server id of the player you want to delete the sub account from.
Last updated
Was this helpful?