Help: Esx_policejob infinite vehicle spawn

I just loaded esx_policejob onto my server and when I spawn a vehicle from the police garage, it does not register the vehicle being spawned, so I can spawn an infinite number of the same car with the same plate. How can I fix this?

Try using this:

You may need to delay the check or not depending on how the script handles spawning.

How can I find where the vehicle spawn check is located?

Um, Ctrl+F :thinking:
Just see if there is any check in the script - if there isnt, grab the coordinates of where the vehicle is spawned (that’s be done via another native, but there’s multiple that do it) and simply add the new native checking the position above.
You need to know some very basic lua though, and if you dont I dont think you will be able to do that. In that case I suggest looking for a newer version of esx_policejob - there’s no way nobody put a check in until now lol

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.