01.07.2014, 17:18
pawn Код:
for(new i = 1; i <= MAX_VEHICLES; i++)
{
if(IsValidVehicle(i))
{
if(IsSellCar(i))
{
SetVehicleNumberPlate(i, "___");
SetVehicleToRespawn(i);
strcpy(aInfo[i][veh_numplate], "___", 30);
aInfo[i][nuosava] = 0;
print("selling cars");
}
else if(IsMedCar(i))
{
new s[30];
s = GenerateRandomVehicleNumPlate(i);
strcpy(aInfo[i][veh_numplate], s, 30);
aInfo[i][nuosava] = 0;
print("med cars");
}
else if(IsVMCar(i))
{
new s[30];
s = GenerateRandomVehicleNumPlate(i);
strcpy(aInfo[i][veh_numplate], s, 30);
aInfo[i][nuosava] = 0;
print("vm cars");
}
}
}
It stucks after 1st loop.
