04.01.2015, 15:44
Simply do a loop through the number of rows retrieved and assign the arrays.
pawn Код:
//Once the data is retrieved, loop through the rows:
for(new i = 0; i< rows i++)
{
VehicleInfo[playerid][i][id] = CreateVehicle(...); // I assume "id" is supposed to store the vehicle ID, so store it.
VehicleInfo[playerid][i][loaded] = true; //Once if things are done, set "loaded" boolean to true.
}

