26.07.2012, 06:36
EDIT: To late, why am I last these days!
Search before asking next time.
Simply gets the players health, stores it in a variable, formats a string with the Health value, and sends it to the player.
pawn Код:
new Float:Health, string[20];
GetPlayerHealth(playerid,Health);
format(string, sizeof(string), "Health: %f", Health);
SendClientMessage(playerid, -1, string);
Simply gets the players health, stores it in a variable, formats a string with the Health value, and sends it to the player.