11.02.2013, 12:14
MAX_VEHICLES would mean you have 2000 possible cars per team. Probably to much D:
Better define a MAX_GANGVEHICLES with the wanted value and use that.
And add a loop under new CarCheck = GetPlayerVehicleID(playerid);
for(new i=0; i<MAX_GANGVEHICLES;++i)
{
*your code but always use Cars[i][GroveStreet] instead of Cars[GroveStreet]*
}
Post the code then. Also the code where you assign the carids (the part where you create the vehicles)
It should normally work if you did it the right way.
Better define a MAX_GANGVEHICLES with the wanted value and use that.
And add a loop under new CarCheck = GetPlayerVehicleID(playerid);
for(new i=0; i<MAX_GANGVEHICLES;++i)
{
*your code but always use Cars[i][GroveStreet] instead of Cars[GroveStreet]*
}
Post the code then. Also the code where you assign the carids (the part where you create the vehicles)
It should normally work if you did it the right way.

