Vehicle health
#5

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
In my understand, you want to set the Patriot's vehicle health to 3000.0

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    for(new i; i < sizeof(LSPDVehicles); ++i)
    {
        return SetVehicleHealth(LSPDVehicles[i], 2500.0);
    }
    if(GetVehicleModel(vehicleid) == 470)
    {
        return SetVehicleHealth(vehicleid, 3000.0);
    }
    return true;
}
return SetVehicleHealth(LSPDVehicles[i], 2500.0);

Will break that loop.
Reply


Messages In This Thread
Vehicle health - by Dorlevi1506 - 23.12.2013, 17:45
Re: Vehicle health - by CutX - 23.12.2013, 17:46
Re: Vehicle health - by Konstantinos - 23.12.2013, 17:48
Re: Vehicle health - by Patrick - 23.12.2013, 17:49
Re: Vehicle health - by Djole1337 - 23.12.2013, 18:30
Re: Vehicle health - by Dorlevi1506 - 24.12.2013, 06:48
Re: Vehicle health - by SilentSoul - 24.12.2013, 06:59

Forum Jump:


Users browsing this thread: 1 Guest(s)