Personal Vehicles loading issue. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Personal Vehicles loading issue. (
/showthread.php?tid=451551)
Personal Vehicles loading issue. -
Alyn_BesT - 17.07.2013
Hello There , I have a little issue .
In my database, i save the personal vehicles starting from id 580 to id 1000.When I load the cars on server,they have the same id from the database . The problem is that I would like to delete some cars from the database and keep the loading ids the same when I enter the server,but I don't mind how to do this.
An Example :
in database, i would have ids 580,581,582
on the server, they would be 580,581,582 too.
but,if i delete the id 581 from database, I would have on server id 580 and id 581 but I would want id 580 and id 582.
Can I do this?
Re: Personal Vehicles loading issue. -
Firewire - 17.07.2013
Post your vehicle loading function.
Re: Personal Vehicles loading issue. -
Alyn_BesT - 17.07.2013
It's not a problem with the loading , what i have to say is that if i load 2 cars and their id are 580 and 582 , CreateVehicle will make them on server id 580 and id 581 , and i would want to make id 580 and id 582.