Issues
Here are some frequently asked questions about error or issues regarding the script, have you got any of the following issues, make sure the follow the instructions below!
Last updated
Here are some frequently asked questions about error or issues regarding the script, have you got any of the following issues, make sure the follow the instructions below!
Last updated
Are you experiencing syntax errors in locked lua files?
You have used FileZilla which is breaking the structure of the script so please use WinSCP which works as expected and doesn't break anything. If you did not use FileZilla but you "drag and drop it" with Remote Desktop Control that will still damage it, so please drag and drop the zip and unzip it on server do not move it with method "file by file"\
Your server is outdated and needs to be at least 4752 or greater.
Are you encountering any issues that involves other players? Example when using the medical ui or stretcher?
Make sure that you use up-to-date artifacts, which can be found here: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/
Make sure that you have onesync infinity enabled in txadmin.
Still got issues? Open a ticket in our discord, explaning the issue thoroughly.
Are you having these exact errors when using the medical ui?
Then please make sure that you are using onesync infinity, as otherwise statebags won't work.
Are you having this exact native error when restarting the script?
This error might happen when restarting the script, and essentially means that the gfx files in the script were unable to load, resulting in a native error and making the 3d DUI screens stop working. To resolve this, simply restart the server and everything should be working again.
Do you get an error or nothing happening when trying to open the garage menu? If so, make sure that all your job grades have coresponding vehicle in the config. If you have more than 4 job grades you'll need to configure more vehicles for the increased grades.
For example if you have more than 4 grades, just add another by increaseing the index by one.
If you have got any inventory related issues, make sure the script is setup to use your inventory.
If you use qb or inventory default inventories the config value for Config.UsedInventory should be the default value of = '' Like following.
And if you use qs or ox, the value should ofcourse be changed to = 'ox' or = 'qs'
Qbox does by default have two medical scripts that conflict with osp_ambulance. Please remove them before using the ambulancejob. These are called: qbx_ambulance and qbx_medical
Then that's most likely due to the scripts listening to certain revive events, to re-enable the functions of the script. In the config or integration files, look for death and spawn events, and replace them with the following event names: