Edit a rob filterscript
#4

GetPlayerHealth() doesnt return the players health,

so the correct usage for it

GetPlayerHealth(playerid, &health);

example:
Код:
new Float:Health;
GetPlayerHealth(playerid, Health);
new msg[100];
format(msg, 100, "Your health is %f", Health);
SendClientMessage(playerid, -1, msg);
i hope you understand me

EDIT: OMG the guy that posted before me told it. i am just slowly in posting
Reply


Messages In This Thread
Edit a rob filterscript - by waim - 28.01.2013, 21:35
Re: Edit a rob filterscript - by Roach_ - 28.01.2013, 21:38
Re: Edit a rob filterscript - by LarzI - 28.01.2013, 21:39
Re: Edit a rob filterscript - by Kirollos - 28.01.2013, 21:41
Re : Edit a rob filterscript - by waim - 28.01.2013, 21:41
Re : Edit a rob filterscript - by waim - 28.01.2013, 21:53

Forum Jump:


Users browsing this thread: 1 Guest(s)