SA-MP Forums Archive
HMMM??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HMMM??? (/showthread.php?tid=319967)



HMMM??? - Buzzbomb - 21.02.2012

Edit Oops for got the error UnReachable COde After return count;

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;
}
Skip this sorry for posting i created a stock worked..