[HELP]: /heal command
#3

Made in 20 seconds and not tested, this is a basic /heal command:

pawn Код:
CMD:heal(playerid, params[])
{
    new hp;
    new destid;
    if(sscanf(params,"ud",destid,hp)) return SCM(playerid, -1,"Usage: /heal <playerid> <ammount>");
    SetPlayerHealth(destid,hp);
    SendClientMessage(playerid, pink, "Player healed");
    return 1;
}
Reply


Messages In This Thread
[HELP]: /heal command - by Areax - 06.04.2013, 07:10
Re: [HELP]: /heal command - by Giroud12 - 06.04.2013, 07:19
Re: [HELP]: /heal command - by Face9000 - 06.04.2013, 07:21
Re: [HELP]: /heal command - by ]Rafaellos[ - 06.04.2013, 07:21
Re: [HELP]: /heal command - by Skyrise - 06.04.2013, 07:27
Re: [HELP]: /heal command - by ]Rafaellos[ - 06.04.2013, 07:41
Re: [HELP]: /heal command - by Areax - 06.04.2013, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)