All my newbie script questions.
#1

Needs attention!
/Health ID

I really need help with getting another player's health. Just like this one, but you can choose who's health you want to see.

Код:
if (strcmp("/MyHealth", cmdtext, true, 10) == 0)
{
new HeString[128];
new Float:MyHealth;
GetPlayerHealth(playerid, MyHealth);
format(HeString, sizeof(HeString), "Your Health is %i/100.", MyHealth);
SendClientMessage(playerid, GREEN, HeString);
return 1;
}

Fixed! Helper(s) : DeathOnaStick
Ok, i do NOT need this for my own use. I just want to see how this script works. So maybe i can get a idea and make my own.

/Myhealth will send you a message showing your health.

Fixed! Helper(s) : DeathOnaStick
Scripting wise, how much health/Armour do you have max? Ex : Setplayerarmour 100, or 200. Witch one would make it full?
Reply


Messages In This Thread
All my newbie script questions. - by Sal_Kings - 10.11.2009, 15:26
Re: Simple script. - by DeathOnaStick - 10.11.2009, 15:29
Re: Simple script. - by Sal_Kings - 10.11.2009, 15:30
Re: Simple script. - by DeathOnaStick - 10.11.2009, 15:31
Re: Simple script. - by MenaceX^ - 10.11.2009, 15:33
Re: Simple script. - by DeathOnaStick - 10.11.2009, 15:34
Re: Simple script. - by Sal_Kings - 10.11.2009, 15:37
Re: Simple script. - by DeathOnaStick - 10.11.2009, 15:39
Re: Simple script. - by Sal_Kings - 10.11.2009, 15:40
Re: All my newbie script questions. - by Peter_Corneile - 10.11.2009, 15:45

Forum Jump:


Users browsing this thread: 4 Guest(s)