10.06.2015, 09:01
Veicolo[id][ID] holds the unique SQL ID for each vehicle. It's only used for the queries.
For the real vehicle ID in-game, it's in Veicolo[id][vO].
By the way, what both Vince and mamorunl say is that when loading from mysql the first valid row is 0 and you start from 1 which you skip a vehicle (not what you want).
It doesn't matters in loops as it still returns the old value.
For the real vehicle ID in-game, it's in Veicolo[id][vO].
By the way, what both Vince and mamorunl say is that when loading from mysql the first valid row is 0 and you start from 1 which you skip a vehicle (not what you want).
It doesn't matters in loops as it still returns the old value.