All my newbie script questions.
#8

ow i see... i forgot something.. try this:

pawn Код:
if (strcmp("/MyHealth", cmdtext, true, 10) == 0)
{
new HeString[128];
new Float:MyHealth;
GetPlayerHealth(playerid, MyHealth);
format(HeString, sizeof(HeString), "Your Health is %i", MyHealth);
SendClientMessage(playerid, COLOR_GREEN, HeString);
return 1;
}
#EDIT#: Fixed!
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: 1 Guest(s)