18.11.2016, 20:24
PHP Code:
public AddCar(carcoords)
{
new randcol = random(126); // you are not using it
new randcol2 = 1; // you are not using it
if(rccounter == 20) // what is rccounter?
{
rccounter = 0;
}
AddStaticVehicleEx(carselect[rccounter], CarSpawns[carcoords][pos_x], CarSpawns[carcoords][pos_y], CarSpawns[carcoords][pos_z], CarSpawns[carcoords][z_angle], randcol, randcol2, 900);
rccounter++;
return 1;
}