21.02.2012, 02:35
Edit Oops for got the error UnReachable COde After return count;
Skip this sorry for posting i created a stock worked..
pawn Код:
public OnGameModeExit()
{
new count;
for(new ISV=0; ISV != 9; ISV++)
{
if(AutoSalesVehicle[ISV] != INVALID_VEHICLE_ID)
IsDealerVehicle[AutoSalesVehicle[ISV]] = false;
DestroyVehicle(AutoSalesVehicle[ISV]);
VehiclePrice[AutoSalesVehicle[ISV]] = 0;
count ++;
}
return count;
TextDrawDestroy(Text:black);
for(new i = 0; i <MAX_PLAYERS; i++)
{
TextDrawDestroy(Text:Speedom[i]);
}
for(new i; i < MAX_FLAMES; i++)
{
KillFire(i);
KillTimer(RandFM);
}
return 1;
}