Heal in red marker
#3

Put this on OnPlayerCommandText.

pawn Код:
if(strcmp(cmdtext, "/gethealth", true) == 0)
    {
    SetPlayerCheckpoint(playerid,x,y,z,4.0);
        GameTextForPlayer(playerid, "~g~Get Health", 5000, 1);
        if (TestDistance(playerid,giveplayerid,x,y.z,7))
        SetPlayerHealth(playerid, 100.0);
        return 1;
    }
It's untested.
Reply


Messages In This Thread
Heal in red marker - by killdahobo99 - 15.06.2009, 21:44
Re: Heal in red marker - by miokie - 15.06.2009, 21:45
Re: Heal in red marker - by joeri55 - 15.06.2009, 21:56
Re: Heal in red marker - by killdahobo99 - 15.06.2009, 23:27
Re: Heal in red marker - by steven_italy - 16.06.2009, 00:49
Re: Heal in red marker - by yezizhu - 16.06.2009, 01:05
Re: Heal in red marker - by killdahobo99 - 16.06.2009, 01:08
Re: Heal in red marker - by sidhu123 - 16.06.2009, 01:10
Re: Heal in red marker - by killdahobo99 - 16.06.2009, 01:35
Re: Heal in red marker - by Moustafa - 16.06.2009, 01:49

Forum Jump:


Users browsing this thread: 1 Guest(s)