mysql bug cars
#2

I don't quite understand what you mean. The first vehicle is not loaded at all?

I have a question though, do you use R7 version and you use strval because there were added functions later that return integers/floats directly. Consider updating to latest (R41 or R39-6 if you can't run the latest).

Saving/loading in-game vehicle IDs is not a good way, people tend to use bad ways because of bad habits of others (yes, those who initially wrote it like that). Adding/Removing a vehicle will mess everything up.

If a vehicle doesn't have a single component, you are wasting 17 columns (there are only 14 slots by the way) to be empty. Here's a good tutorial about how to properly save components: https://sampforum.blast.hk/showthread.php?tid=420363
Reply


Messages In This Thread
mysql bug cars - by Capotte - 28.09.2016, 17:26
Re: mysql bug cars - by Konstantinos - 28.09.2016, 17:43
Re: mysql bug cars - by Capotte - 28.09.2016, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)