08.05.2013, 20:50
Ok so i got an unkdown number of vehicles , wich i load from mysql
Curently i have the variable defined as this
I reaaly thot about a way of replacing MAX_VEHICLES with the exact number of the vehicles from mysql , but the question is , can i change the array size of a variabile after being created ? If not , can any1 thinks of a way to do this ?
PS :Ive just given a example , i also load things like Faction/gates/pickups and much more from mysql
Curently i have the variable defined as this
pawn Код:
new CarInfo[MAX_VEHICLES][cInfo];
PS :Ive just given a example , i also load things like Faction/gates/pickups and much more from mysql