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

Quote:
Originally Posted by zPain
Посмотреть сообщение
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid) {

    static Float:health;
    GetVehicleHealth(vehicleid, health);
   
    if(floatcmp(health, 95.0) == -1) {
        RepairVehicle(vehicleid);
    }
   
    return true;
}

Deve funcionar sem precisar de timer nem nada. Somente isso.
Cara com timmer й melhor pro meu sistema.
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)