View Single Post
Old 02/02/2020, 05:34 PM   #7
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,708
Reputation: 1664
Default Re: MySQL load vehicles issue

It appears you are referring to 'vehicleid' (The server's vehicle id, created with AddStaticVehicle/CreateVehicle). If you want this to be 1-1000 ingame (like in the MySQL server), make sure to load these vehicles before any other vehicles.

CarInfo[*][cID] should countain the ID from the MySQL database. The CarID is probably the ID that must be used in-game? You should not save such data to the database. Especially since you're re-assigning it afterwards anyway.
__________________
When the opportunity presents itself to flip-a da table, uh, you flip-a da table.

Discord: Kwarde#1966
Kwarde is online now   Reply With Quote