esx_banking
A beautiful and Easy-To-Use Banking & ATM system for ESX
https://github.com/esx-framework/esx_banking

Configuration
Config.Debug
- type:
boolean
- default:
false
- description: Enable or disable debug mode
- type:
Config.DrawMarker
- type:
integer
- default:
10
- description: Draw distance for the marker
- type:
Config.EnablePeds
- type:
boolean
- default:
true
- description: Will spawn peds at the Banks
- type:
Config.AtmModels
- type:
table
- default:
{ "prop_atm_01", "prop_atm_02", "prop_atm_03", "prop_fleeca_atm" }
- description: List of ATM models
- type:
Config.Banks
- type:
table
- description: List of banks
Config.Peds
- type:
table
- description: List of peds
- type:
Config.Banks
parameters
Position
- type:
vector4
- description: Bank position
- type:
Blip
- type:
table
- description: Bank blip
Paramters
Enabled
- type:
boolean
- description: Enable or disable the blip
- type:
Color
- type:
integer
- description: Blip color
- type:
Label
- type:
string
- description: Blip name
- type:
Sprite
- type:
integer
- description: Blip sprite
- type:
Scale
- type:
float
- description: Blip scale
- type:
- type:
Config.Peds
parameters
Position
- type:
vector4
- description: Ped position
- type:
Model
- type:
hash
- description: Ped model
- type:
Scenario
- type:
string
- description: Ped scenario to play
- type:
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)