PDA

View Full Version : Vehicles on server got mixed up with IDs


Saddin
15/02/2018, 09:28 PM
I have vehicle ownership and it was working fine until suddenly other normal vehicles that are not used for ownership starting to get ID of the owner.

Does anyone know how can I debug it and find solution to problem.

There are over 600 vehicles on server that are bought by players and some of the properties of ownership can be used with vehicles that are not in ownership.

This system worked for more than 5 years and I can't find any reason why is it mixing..

Any ideas?

Abagail
15/02/2018, 09:40 PM
This system worked for more than 5 years and I can't find any reason why is it mixing..

Well, what has changed since around the time this stopped working? Can you track code changes?

RogueDrifter
15/02/2018, 09:44 PM
used to happen with me, make sure after deleting a vehicle you set the variable's value to INVALID_VEHICLE_ID