PHP код:
new DamageString[50], Float:Health;
GetVehicleHealth(GetPlayerVehicleID(playerid),Health);
new Lataria = floatround(Health)/10;
format(DamageString, 50, (Lataria<=40)?("~r~%d%% L"):("~g~%d%% L"), Lataria);
PlayerTextDrawSetString(playerid, Velo[6], DamageString);
PlayerTextDrawShow(playerid,Velo[6]);