Installation guide
Welcome to the Brutal Ambulance Job installation guide, here you can learn how to completely install our asset.
If you don't have any experience in development we are highly recommend to follow each step in this documentation, and if you have a developer ask them to install the script for you as they have more experience.
Asset download
Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in the Granted Assets panel you will see the asset, download it and do the following steps to install it correctly.
Put the script folder to your server.
Start the script in the server.cfg. (ensure brutal_crafting)
Restart your server! (And you get permission to use the script)
Upload the SQL
Do not rename your previous SQL or columns to adapt them to this system, use the complete database without making use of edits in your old databases.
If you don't have the sql tables for your core's police job then upload these too below!
Upload the items
If you don't have the items integrated correctly, you will receive random errors.
Check that you don't have duplicate items in your inventory or database before integrating them, otherwise you might have some errors.
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.
The images which we used to the items are in the html/assets folder
Asset positioning
Correctly position the assets in the server.cfg by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step!
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
If you are using a multicharacter system then this step is really important to make our script working propetly! If you don't use any or the loaded event is the same as the basic core one then you are done with this step.
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
To use any functions of the script players have to duty in every time they join to the server. If they miss this step then they won't be able to use the mdt and many other functions!
Wheelchair
Download this resource or edit the WheelchairVehicle = 'iak_wheelchair' in the config.lua.
Editing framework
To use this script you will have to make some changes in your core. These steps have to be done to make our asset work 100% instead of the core police jo
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
If you got any error
If you followed the installational 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