Vehicle Health
#3

PHP код:
public OnVehicleSpawn(vehicleid)
{
    
SetTimerEx("rhinoHP"250true"i"vehicleid);
    return 
1;
}
forward rhinoHP(vehicleid);
public 
rhinoHP(vehicleid)
{
      new 
rstr[30], Float:health;
      if(
GetVehicleModel(vehicleid) == 432)
      {
          
format(rstrsizeof(rstr), "health: %.2f"GetVehicleHealth(vehicleidhealth));
          
Update3DTextLabelText(vehicle3DtextRhino1 ], 0xFFFFFFAArstr);
    }
    return 
1;

Reply


Messages In This Thread
Vehicle Health - by ScRipTeRi - 08.01.2014, 11:12
Re: Vehicle Health - by Konstantinos - 08.01.2014, 11:17
Re: Vehicle Health - by HardRock - 08.01.2014, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)