09.08.2014, 07:03
Let's get to the problem, shall we?
I use an Enumerator for my Vehicle System. Trying to figure out how to fix this.

The creation of Vehicles on Start.
Many Vehicles spawn, what had to be only 'LANDSTALKER'. And note, that Landstalker is 'ALSO' present there. I just want to remove the other Vehicles' Spawning. Any Help?
I use an Enumerator for my Vehicle System. Trying to figure out how to fix this.

The creation of Vehicles on Start.
pawn Код:
for(new i=1;i<MAX_SCRIPTVEHICLES+1;i++)
{
AddStaticVehicleEx(VehicleInfo[i][vModel],VehicleInfo[i][vLocX],VehicleInfo[i][vLocY],VehicleInfo[i][vLocZ], VehicleInfo[i][vAngle], VehicleInfo[i][vColorOne],VehicleInfo[i][vColorTwo],3900);
SetVehicleNumberPlate(i,VehicleInfo[i][vPlate]);
SetVehicleToRespawn(i);
SetVehiclePos(i,VehicleInfo[i][vLocX],VehicleInfo[i][vLocY],VehicleInfo[i][vLocZ]);
SetVehicleZAngle(i,VehicleInfo[i][vAngle]);
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(i,0,0,alarm,doors,bonnet,boot,objective);
}