09.03.2014, 22:27
pawn Code:
//top of script
new GroveCar[10]; // or however many you want
//under OnGamemodeInit
GroveCar[0] = AddStaticVehicle(etc.) // Arrays start at 0, and it counts as 1
GroveCar[1] =
.
.
.
GroveCar[9] =
// You have 2 options. You can set all the car colors to green in spawn info^ OR make a foreach loop:
for (new i = 0; i<sizeof(GroveCar);i++)
{
ChangeVehicleColor(GroveCar[i], 128, 128); // Sets all GroveCars to Green on spawn
}
// You would have to do this process for each of the gangs, but I hope this is a helpful start. :)