Vehicle health
#7

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    for(new i; i < MAX_VEHICLES; i ++) // creating a loop through all vehicles
    {
        if(GetVehicleModel(vehicleid[i]) == 470)
        {
            SetVehicleHealth(vehicleid[i], 2500);
        }// for each LSPD vehicle set vehicle health to 2500 as you want!
    }
    return 1;
}
Reply


Messages In This Thread
Vehicle health - by Dorlevi1506 - 12.12.2013, 16:34
Re: Vehicle health - by dominik523 - 12.12.2013, 17:06
Re: Vehicle health - by xVIP3Rx - 12.12.2013, 17:19
Re: Vehicle health - by Dorlevi1506 - 12.12.2013, 17:41
Re: Vehicle health - by SilentSoul - 12.12.2013, 17:49
Re: Vehicle health - by Dorlevi1506 - 12.12.2013, 18:43
Re: Vehicle health - by Loot - 12.12.2013, 18:52
Re: Vehicle health - by Pottus - 12.12.2013, 18:56
Re: Vehicle health - by arakuta - 12.12.2013, 19:34
Re: Vehicle health - by Dorlevi1506 - 12.12.2013, 19:50

Forum Jump:


Users browsing this thread: 1 Guest(s)