This resource allows for LEO & Fire to spawn Peds, Weapons and Vehicles via locations on the map specified in the config file.
Everything accessible through this resource/locations can be changed in the config file, even down to the components being added to weapons - you can also change every aspect of the marker (Colour & Size).
Scott this is amazing! I am going to set this up at every station thank you so much! I do have one question, so I am a little bit newer with coding FiveM, how can i go about blacklisting this to police who are onduty as I have a /onduty command and i want to make it so to access the menu you need to be onduty.
you would need to register the command, however, it may not work as i beleive not 100% one may cancel out the other so you would need to ones features into the others
So I have been playing with this for about an hour and I really like it. My server is currently based on ESX but I’m looking to move away from it. At the moment however, I am wondering if it is possible to make this work with esx police job mostly for the vehicle spawns (so only police can spawn vehicles). I’m sure it would work the same in ambulance as well but I can’t immediately see how to.
One other issue is that I crash when trying to spawn custom police cars
For this resource to work with the ESX Police Job, you would need to get the ESX Shared Object and check for the job.
The crashing when trying to spawn, may be an issue with either the menu, vehicle or your client - what error/crash code do you get?
Alright I have made a bit of progress to get this to work but I guess I should have been more clear. I have addon police vehicles and when loading this resource is crashes any time I attempt to load a addon. I am thinking it probably has something to do with police job and not really with this script but I am still not able to get it to fully work with esx. I’m not super experienced when it comes to jua but I will do my best. Thanks a ton for the script. It is amazing. I would love to actually just convert this to fully work as police job and get rid of the esx version but that may take me forever.
@Scott1 I am currently setting everything up i have add-on cars im using for the garage, the extras don’t seem to be loading on and is there a way to choose the livery that it spawns with instead of random?