1 error
#8

I don't know how you use commands, but I use them this way.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/heal", cmdtext, true) == 0)
    {
    SetPlayerHealth(playerid, 100.0);
     SendClientMessage(playerid, COLOR_GREEN, "  You've been healed.");
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
1 error - by Domenic_Montery - 15.06.2009, 07:44
Re: 1 error - by Abernethy - 15.06.2009, 07:50
Re: 1 error - by AiVAMAN - 15.06.2009, 07:50
Re: 1 error - by AiVAMAN - 15.06.2009, 07:50
Re: 1 error - by Domenic_Montery - 15.06.2009, 07:53
Re: 1 error - by Abernethy - 15.06.2009, 08:02
Re: 1 error - by Domenic_Montery - 15.06.2009, 08:09
Re: 1 error - by Abernethy - 15.06.2009, 08:15
Re: 1 error - by Domenic_Montery - 15.06.2009, 08:17
Re: 1 error - by Abernethy - 15.06.2009, 08:18

Forum Jump:


Users browsing this thread: 3 Guest(s)