01.02.2017, 11:57
Something like
#define MAXCARS 200
But you can load the vehicles once using the loop then you will be able to use the vehicleid to get the infos so you dont have to loop more times.
Depends on what you want to do with those infos, also you will need to use enumerators.
How do you store vehicles? ini file or MySQL?
#define MAXCARS 200
PHP Code:
for(new i = 0; i < MAXCARS; i++)
{
//code here
}
Depends on what you want to do with those infos, also you will need to use enumerators.
How do you store vehicles? ini file or MySQL?