Exports

Server

GetJobIbanFromName

Returns the iban address of the job from the job name

local iban = exports["tgiann-bank"]:GetJobIbanFromName(jobName)

GetGangIbanFromName

Returns the iban address of the gang from the gang name

local iban = exports["tgiann-bank"]:GetGangIbanFromName(jobName)

CreatePlayerAccount

Creates a shared account for the player

local iban = exports["tgiann-bank"]:CreatePlayerAccount(src, iban, accountBalance)
name
type

src*

number

iban

string

accountBalance

number


CreateJobAccount

Creates a shared account for the player

name
type

jobName*

number

accountBalance

number

iban

string

gradePerms

{

can_withdraw = boolean;

can_deposit = boolean;

can_transfer = boolean;

can_ask = boolean;

}[]

Example


CreateGangAccount

Creates a shared account for the player

name
type

gangName*

number

accountBalance

number

iban

string

gradePerms

{

can_withdraw = boolean;

can_deposit = boolean;

can_transfer = boolean;

can_ask = boolean;

}[]

Example


AddMoney


AddJobMoney


AddGangMoney


RemoveMoney


RemoveJobMoney


RemoveGangMoney


SetMoney


SetJobMoney


SetGangMoney


GetAccountBalance


GetJobAccountBalance


GetGangAccountBalance

Client

BlipsIsOn


DeleteAtmBlips


CreateAtmBlips


ToggleAtmBlips

Last updated