16.04.2011, 12:04
pawn Code:
new Float:RentACar[141][8] =
{
// model, x, y, z, a, color, price
{412, 2119.83203125, -1784.43359375, 13.31082916, 90.00000000, 119, 100}, //Voodoo
//rest of code
};
For creating vehicles:
pawn Code:
new RentVozilo[141];
for(new i; i < sizeof(RentVozilo); i++)
{
RentVozilo[i] = AddStaticVehicleEx(RentACar[i][0], RentACar[i][1], RentACar[i][2], RentACar[i][3], RentACar[i][4], RentACar[i][5], RentACar[i][5], 200);
}
How to fix that errors? :/