Quote:
Originally Posted by Tee
Here is a code i use for health.
pawn Код:
public OnPlayerUpdate(playerid) { new string[128],Float:health; GetVehicleHealth(GetPlayerVehicleID(playerid), health); format(string, sizeof(string), "Health: %.1f", health); TextDrawSetString(Textdraw3, string); return 1; }
|
I wouldn't recommend setting a TextDraw string about 37 times per second.