https://github.com/esx-framework/ESX-Le ... sx_banking

Configuration
Config.Debug
type: boolean
default: false
description: Enable or disable debug mode
Config.DrawMarker
type: integer
default: 10
description: Draw distance for the marker
Config.EnablePeds
type: boolean
default: true
description: Will spawn peds at the Banks
Config.AtmModels
type: table
default: { "prop_atm_01", "prop_atm_02", "prop_atm_03", "prop_fleeca_atm" }
description: List of ATM models
Config.Banks
type: table
description: List of banks Config.Peds
type: table
description: List of peds
Config.Banks parameters
Position
type: vector4
description: Bank position
Blip
type: table
description: Bank blip
Paramters
Enabled
type: boolean
description: Enable or disable the blip
Color
type: integer
description: Blip color
Label
type: string
description: Blip name
Sprite
type: integer
description: Blip sprite
Scale
type: float
description: Blip scale
Config.Peds parameters
Position
type: vector4
description: Ped position
Model
type: hash
description: Ped model
Scenario
type: string
description: Ped scenario to play
API
Client
TriggerServerEvent("esx_banking:logTransaction",label, logType, amount)
Example:
TriggerServerEvent("esx_banking:logTransaction","TAX", "DEPOSIT", 2000)
Server
exports["esx_banking"]:logTransaction(source,label,logType,amount)
Example:
exports["esx_banking"]:logTransaction(source,"CAR PURCHASE","WITHDRAW",200)

