-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Im having alot of issues with spawning and despawning vehicles. I am trying to use the OxVehicle.respawn(coords, heading) function, it doesnt work if the vehicle is spawned, only if you trigger OxVehicle.despawn(true) earlier and wait some times for me it works like this:
also i can find this error in the f8 console
If the vehicle doesnt spawn just using OxVehicle.respawn reusing OxVehicle.respawn doesnt work either, only restarting ox_core or using OxVehicle.despawn makes the vehicle spawnable again. I cant really make out what the issues is as it seems very random. Also if using OxVehicle.despawn and OxVehicle.respawn after the vehicle still sometimes despawns after a few seconds with the error posted above.
For anymore infos needed on this issues I can provide everything needed

