02.04.2017, 19:14
Como posso fazer que quando a lataria chegar em 40% a textdraw fique vermelha?
PHP код:
new DamageString[50], Float:Health;
GetVehicleHealth(GetPlayerVehicleID(playerid),Health);
format(DamageString, 50, "~g~%d%% L", floatround(Health)/10);
PlayerTextDrawSetString(playerid, Velo[6], DamageString);
PlayerTextDrawShow(playerid,Velo[6]);