Vehicle Health
#1

hello i want to make vehicle health only for one vehicle with 3DTextLabelText and i have do it, but health say all time 0 here is my code
pawn Код:
public OnGameModeInit()
{
    SetTimer("rhinoHP", 250, true);
return 1;
}
forward rhinoHP(playerid);
public rhinoHP(playerid)
{
new rstr[30];
new Float:health;
format(rstr, sizeof(rstr), "health: %.2f", GetVehicleHealth(432, health));
Update3DTextLabelText(vehicle3Dtext[ Rhino1 ], 0xFFFFFFAA, rstr);
}
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)