Help with my first command.
#3

Try this!

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/healme", cmdtext, true, 10) == 0)
    {
        SetPlayerArmour(playerid, 50);
        SetPlayerHealth(playerid, 50);
        SendClientMessage(playerid, COLOR_PINK, "You've refilled your Armour, and health. Goodluck!");
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Help with my first command. - by Goru - 11.07.2012, 14:21
Re: Help with my first command. - by Revo - 11.07.2012, 14:25
Re: Help with my first command. - by RedJohn - 11.07.2012, 14:27
Re: Help with my first command. - by Goru - 11.07.2012, 14:32
Re: Help with my first command. - by RedJohn - 11.07.2012, 14:34
Re: Help with my first command. - by Goru - 11.07.2012, 14:45
Re: Help with my first command. - by Lordzy - 11.07.2012, 14:49
Re: Help with my first command. - by Mark™ - 11.07.2012, 14:50
Re: Help with my first command. - by RedJohn - 11.07.2012, 15:01
Re: Help with my first command. - by Mark™ - 11.07.2012, 15:05

Forum Jump:


Users browsing this thread: 2 Guest(s)