Give health when write cmds
#1

I tryed some scripts with SetPlayerHealth();

Well, i want a script when you write /eat you get 20 health.
Now i have:
Код:
        if(!strcmp("/eat", cmdtext,true))
    {
        if(!IsPlayerInRangeOfPoint(playerid, 2.0, 240.1804,1117.3380,1080.9922))return SendClientMessage(playerid, COLOR_WHITE,"You are not in /eat checkpoint");
        {
		SetPlayerHealth(playerid...???);
            return 1;
        }
Reply


Messages In This Thread
Give health when write cmds - by nejc001 - 12.09.2010, 18:01
Re: Give health when write cmds - by DeathOnaStick - 12.09.2010, 18:08
Re: Give health when write cmds - by nejc001 - 12.09.2010, 18:11
Re: Give health when write cmds - by Cameltoe - 12.09.2010, 18:11
Re: Give health when write cmds - by nejc001 - 12.09.2010, 18:15
Re: Give health when write cmds - by DeathOnaStick - 12.09.2010, 18:17
Re: Give health when write cmds - by Cameltoe - 12.09.2010, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)