Respawn
#7

pawn Код:
stock SetAllVehicleToRespawn()
{
    new trailers[MAX_VEHICLES/2];

    for(new i = 1, j; i < MAX_VEHICLES; i++)
    {
        for(new k = 0; k < j; k++) if(i == trailers[k])   goto Continue;

        if(IsTrailerAttachedToVehicle(i))
        {
            trailers[j] = GetVehicleTrailer(i);
            j++;
            continue;
        }
        SetVehicleToRespawn(i);
        Continue:
    }
}
Reply


Messages In This Thread
Respawn - by KamilPolska - 13.05.2018, 18:30
Re: Respawn - by KamilPolska - 14.05.2018, 15:33
Re: Respawn - by GTLS - 15.05.2018, 06:38
Re: Respawn - by KamilPolska - 15.05.2018, 19:04
Re: Respawn - by GTLS - 16.05.2018, 05:07
Re: Respawn - by KamilPolska - 16.05.2018, 18:27
Re: Respawn - by CyNiC - 17.05.2018, 00:16
Re: Respawn - by KamilPolska - 17.05.2018, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)