GetPlayerHealth.
#3

EDIT: To late, why am I last these days!

pawn Код:
new Float:Health, string[20];
GetPlayerHealth(playerid,Health);
format(string, sizeof(string), "Health: %f", Health);
SendClientMessage(playerid, -1, string);
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.
Reply


Messages In This Thread
GetPlayerHealth. - by TaLhA XIV - 26.07.2012, 06:30
Re: GetPlayerHealth. - by newbienoob - 26.07.2012, 06:35
Re: GetPlayerHealth. - by Kindred - 26.07.2012, 06:36
Re: GetPlayerHealth. - by [KHK]Khalid - 26.07.2012, 06:40
Re: GetPlayerHealth. - by Randy More - 26.07.2012, 07:59
Re: GetPlayerHealth. - by Glint - 26.07.2012, 08:29

Forum Jump:


Users browsing this thread: 2 Guest(s)