Installations
Remember that this resource has verified DMCA protection, and its illegal use or distribution could imply a claim for protection of Title 17 of Chapter 512 (c) (3) of the Digital Millennium Copyright Act


It is important to use the dependencies that are indicated in this step, do not use others, otherwise you will receive critical errors
The other dependencies you will find in the downloaded folder

It is important to put the resources in the correct order, below qb-core and inventory system
In order for the resource to start correctly and not receive any errors, we must start the resources in the following order
1
ensure backrooms-props
2
ensure qs-backrooms
3
ensure esx_ambulancejob

We will change the framework in qs-backrooms/config/config_framework.lua, there we will change the Config.Framework and place 'QBCore'
1
--███████╗██████╗░░█████╗░███╗░░░███╗███████╗░██╗░░░░░░░██╗░█████╗░██████╗░██╗░░██╗
2
--██╔════╝██╔══██╗██╔══██╗████╗░████║██╔════╝░██║░░██╗░░██║██╔══██╗██╔══██╗██║░██╔╝
3
--█████╗░░██████╔╝███████║██╔████╔██║█████╗░░░╚██╗████╗██╔╝██║░░██║██████╔╝█████═╝░
4
--██╔══╝░░██╔══██╗██╔══██║██║╚██╔╝██║█ █╔══╝░░░░████╔═████║░██║░░██║██╔══██╗██╔═██╗░
5
--██║░░░░░██║░░██║██║░░██║██║░╚═╝░██║███████╗░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║██║░╚██╗
6
--╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝
7
8
Config.Framework = 'QBCore' -- You can choose between 'ESX' and 'QBCore'
9
Config.CustomFrameworkExport = false -- Do you want to add your own export?
10
function CustomFrameworkExport()
11
-- ESX = exports["es_extended"]:getSharedObject()
12
-- QBCore = exports['qb-core']:GetCoreObject()
13
end
14
15
Config.RevivePlayer = 'esx_ambulancejob:revive' -- ESX: 'esx_ambulancejob:revive' || QBCore: 'hospital:client:Revive'
16
17
-- ESX configurations.
18
Config.getSharedObject = 'esx:getSharedObject' -- getSharedObject event for ESX
19
Config.esx_ambulancejob = 'esx_ambulancejob' -- esx_ambulancejob export name for ESX
20
21
-- QBCore configurations.
22
Config.GetCoreObject = 'qb-core' -- qb-core export name for QBCore
23
Config.inlaststand = 'inlaststand' -- metadata dead name for QBCore
Last modified 2mo ago