All my newbie script questions.
#4

Didn't put it into command yet.
Command should look like this:

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