[Ajuda] Lataria if (Speedo_HP <= 95)
#10

Quote:
Originally Posted by petrick_schoba
Посмотреть сообщение
Mais isso ira fazer que acontece com todos os veнculos do servidor, eu sу quero que aconteзa com os veнculos blindados.
E qual o mistйrio?


pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid) {

    if(blindado[vehicleid]) { // alterar de acordo com seu script

        static Float:health;
        GetVehicleHealth(vehicleid, health);

        if(health < 95.0) {

            RepairVehicle(vehicleid);
        }
    }
   
    return true;
}
Reply


Messages In This Thread
Lataria if (Speedo_HP <= 95) - by Petrick™ - 08.10.2013, 18:00
Re: Lataria if (Speedo_HP <= 95) - by Duduzinho - 08.10.2013, 18:09
Re: Lataria if (Speedo_HP <= 95) - by willttoonn - 08.10.2013, 18:10
Re: Lataria if (Speedo_HP <= 95) - by Petrick™ - 08.10.2013, 18:14
Re: Lataria if (Speedo_HP <= 95) - by zPain - 08.10.2013, 18:14
Re: Lataria if (Speedo_HP <= 95) - by Duduzinho - 08.10.2013, 18:17
Re: Lataria if (Speedo_HP <= 95) - by Petrick™ - 08.10.2013, 18:34
Re: Lataria if (Speedo_HP <= 95) - by zPain - 08.10.2013, 18:37
Re: Lataria if (Speedo_HP <= 95) - by Petrick™ - 08.10.2013, 18:41
Re: Lataria if (Speedo_HP <= 95) - by zPain - 08.10.2013, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)