Script problem
#2

Try with this:

pawn Код:
dcmd_heal(playerid, params[])
    {
        new apple;
        apple = SetPlayerHealth(player1, 100);
        new player1 = strval(tmp);
        new id;
        if (sscanf(params, "u", id)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/heal <playerid>\"");
        else
        {
        apple(playerid);
        }
       
        return 1;

    }
Reply


Messages In This Thread
Script problem - by typedef - 31.07.2010, 22:07
Re: Script problem - by cofy1 - 31.07.2010, 22:15
Re: Script problem - by cofy1 - 31.07.2010, 23:27
Re: Script problem - by iggy1 - 31.07.2010, 23:43
Re: Script problem - by typedef - 01.08.2010, 00:58
Re: Script problem - by iggy1 - 01.08.2010, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)