Help!
#9

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/heal", true, 3))
    {
        SetPlayerHealth(playerid, 100);
    }
    return 1;
}
This actually works and I'm able to compile it in pawn compiler but when I'm getting in-game the command doesn't exist. What should I do in order to make it work? I would really appreciate that.
Reply


Messages In This Thread
Help! - by Syntax - 03.08.2011, 08:32
Re: Help! - by Cameltoe - 03.08.2011, 08:37
Re: Help! - by dr.pepper - 03.08.2011, 08:38
Re: Help! - by Syntax - 03.08.2011, 08:39
Re: Help! - by Syntax - 03.08.2011, 08:43
Re: Help! - by dr.pepper - 03.08.2011, 08:45
Re: Help! - by Cameltoe - 03.08.2011, 08:53
Re: Help! - by Calgon - 03.08.2011, 08:53
Re: Help! - by Syntax - 03.08.2011, 09:05
Re: Help! - by Syntax - 03.08.2011, 09:08

Forum Jump:


Users browsing this thread: 1 Guest(s)