27.06.2012, 19:57
Код:
public vhealth_td_update(playerid) { new tdstring[32], Float:vHealth; GetVehicleHealth(GetPlayerVehicleID(playerid), vHealth); format(tdstring, sizeof(tdstring), "Vehicle Health: %0f", vHealth); PlayerTextDrawSetString(playerid, pVehicleHealthTD[playerid], tdstring); // <<< Update the text to show the vehicle health return 1; }