17.03.2010, 12:44
I have 1776 spawn positions for vehicles:
they are like this
new Float:VehicleSpawns[1776][7] = {
modelid, x, y, z, angle, color1, color2
...
...
};
When i test them it says no error with the array size.
But when i use them to spawn with this code under OnGameModeInit()
it shows tag mismatch error.
they are like this
new Float:VehicleSpawns[1776][7] = {
modelid, x, y, z, angle, color1, color2
...
...
};
When i test them it says no error with the array size.
But when i use them to spawn with this code under OnGameModeInit()
Код:
for(new i=0; i<1777; i++) { AddStaticVehicle(VehicleSpawns[i][0],VehicleSpawns[i][1],VehicleSpawns[i][2],VehicleSpawns[i][3],VehicleSpawns[i][4],VehicleSpawns[i][5],VehicleSpawns[i][6]); }