Installation guide
Welcome to the Brutal Ambulance Job installation guide, here you can learn how to completely install our asset.
Asset download
Put the script folder to your server.
Start the script in the server.cfg. (ensure brutal_ambulancejob)
Restart your server! (And you get permission to use the script)
Upload the SQL
CREATE TABLE IF NOT EXISTS `ambulance_invoice_types` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`label` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL,
`amount` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
INSERT INTO `ambulance_invoice_types` (`id`, `label`, `amount`) VALUES
(1, 'Medical Care', 670),
(2, 'Hand breakage', 2000),
(3, 'Leg fracture', 3000),
(4, 'Gunshot wound care', 1650),
(5, 'Head injury', 1340);
ALTER TABLE `users`
ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
;CREATE TABLE IF NOT EXISTS `ambulance_invoice_types` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`label` varchar(255) COLLATE utf8_hungarian_ci DEFAULT NULL,
`amount` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
INSERT INTO `ambulance_invoice_types` (`id`, `label`, `amount`) VALUES
(1, 'Medical Care', 670),
(2, 'Hand breakage', 2000),
(3, 'Leg fracture', 3000),
(4, 'Gunshot wound care', 1650),
(5, 'Head injury', 1340);Upload the items
This asset depends on certain items for its operation, so don't forget to integrate all items correctly into your database or inventory system, depending on how you use your server.
If your inventory is not among the following, you can create the file yourself using the examples of each item by displaying any of the following tabs.
Asset positioning
Setting up the Webhook
If you want to use the opportunnities which can be given by a webhook then you will have to set it up in our assets. You can do it by changeing a value to your discord webhook in the sv-utils.lua file.

Setting the loaded event
In the client-core.lua file go to the LoadedEvent variable and if you are using a different event then paste there your event which is used on your server.

Checking the Config file
Please make sure that you go through the whole file during the installation and check everything. It is one of the most important things as if you miss this step the script might won't work propetly.
Most important steps
The most important things always at the top of the config so pay the most attencion to these elements.
Using the script
Wheelchair
Download this resource or edit the WheelchairVehicle = 'iak_wheelchair' in the config.lua.
Editing framework
Navigate to esx_society/server/main.lua and replace this function:
If you want the players only get paycheck if they are on duty then replace this function: es_extended/server /paycheck.lua
Navigate to qb-core/shared/job.lua and set the defaultDuty to false:

If you got any error
If you followed the installation guide and the script still don't work or you get any errors the please check the common errors, here in the docs and in our discord server, for more informations.
Last updated
