Page cover

βš™οΈConfiguration

Discover how to config your script.

To ensure you have everything you need, we are constantly updating our config files.

-- Change the framework to 'QB' or 'ESX':
zr_config.framework = 'QB'

-- If you have custom frameworks names, you can change them here:
zr_config.QB = 'qb-core'
zr_config.ESX = 'es_extended'

-- Set it to true if you want the Logout Button to Open Multicharacter instead of making you leave the server.
zr_config.MulticharacterLogout = false

-- You can change the background blur from here:
zr_config.zr_blur = 'MenuMGIn'

-- Change disconnect message from here:
zr_config.disconnect = '[zr-pausemenu] You have been disconnected from the server'

-- Put here your discord server invite link:
zr_config.discord = 'https://discord.gg/FwedjEV6kY'

-- Here you can add/remove jobs
zr_config.jobs = {
    {id='police', name='police', suivname='officers', color='#00A8FF'},
    {id='taxi', name='taxi', suivname='drivers', color='#FFFF00'},
    {id='ems', name='ems', suivname='doctors', color='#FF5D5D'},
    {id='mechanic', name='mechanic', suivname='technician', color='#00FFCB'},
    {id='realestate', name='realestate', suivname='brokers', color='#FF9900'},
    {id='trucker', name='trucker', suivname='drivers', color='#DB61FF'},
}

-- Here you can translate the script to the language you prefer
zr_trans.discord = 'join our discord.'
zr_trans.maps = 'MAPS'
zr_trans.mapstxt = 'SHOW THE MAP OF THE CITY.'
zr_trans.settings = 'SETTINGS'
zr_trans.settingstxt = 'OPEN GAME SETTINGS MENU.'
zr_trans.rulestitle = 'SERVER RULES'
zr_trans.rules = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker."
zr_trans.back = 'Go back to game.'
zr_trans.disconnect = 'Disconnect from server.'
zr_trans.infostitle = 'Character Information.'
zr_trans.fname = 'First Name'
zr_trans.lname = 'Last Name'
zr_trans.gender = 'Gender'
zr_trans.male = 'MALE'
zr_trans.female = 'FEMALE'
zr_trans.dob = 'Birthdate'
zr_trans.job = 'Job'
zr_trans.cash = 'Cash'
zr_trans.bank = 'Bank'
zr_trans.currency = '$'

Client Side :

  • Step 1 : Open qb-ambulancejob -> client -> laststand.lua

  • Step 2 : Search for the SetLastStand function.

  • Step 3 : Add the following events

  • Step 4 : Open qb-ambulance -> client -> main.lua

  • Step 5 : Go to 'hospital:client:Revive' event

  • Step 6 : Add the following Trigger after or before ResetAll()

Configuration for ESX :

  • Step 1 : Open esx_ambulancejob > client -> main.lua

  • Step 2 : Add the following events under function OnPlayerDeath()

  • Step 3 : Add the following Event in 'esx_ambulancejob:revive' event

Last updated