13.09.2013, 21:07
Hell, I have created vehicles ownership system, that saves the vehicle id like this:
vInfo[i][Id] = CreateVehicle(....
Everything works fine until I do /car scrap and one of the vehiles are destroyed, if I buy another vehicle without making
server restart, everything works fine, because all the ids are same as in the files. But if I just /car scrap and make restart then the ids are not the same like in files and the vehiles become bugged, any ideas how to fix it?
vInfo[i][Id] = CreateVehicle(....
Everything works fine until I do /car scrap and one of the vehiles are destroyed, if I buy another vehicle without making
server restart, everything works fine, because all the ids are same as in the files. But if I just /car scrap and make restart then the ids are not the same like in files and the vehiles become bugged, any ideas how to fix it?