Command for enable/disable
#5

This is a fixed version of the command of sasuga.

pawn Код:
CMD:heal(playerid,params[])
{
    if(eheal)
    {
        SetPlayerHealth(playerid,100);
        eheal = false;
    }
    else if(!eheal)
    {
        SendClientMessage(playerid, 0xFFFFFFAA, "this command is disabled");
        eheal = true;
    }
    return 1;
}
I did all this on BlackBerry mobile, so sorry if I was a bit late.
Reply


Messages In This Thread
Command for enable/disable - by Join7 - 30.08.2011, 20:30
Re: Command for enable/disable - by PrawkC - 30.08.2011, 20:49
Re: Command for enable/disable - by Join7 - 30.08.2011, 20:51
Re: Command for enable/disable - by sasuga - 30.08.2011, 20:56
Re: Command for enable/disable - by Improvement™ - 30.08.2011, 21:40
Re: Command for enable/disable - by Join7 - 31.08.2011, 10:13
Re: Command for enable/disable - by =WoR=Varth - 31.08.2011, 10:23
Re: Command for enable/disable - by Join7 - 31.08.2011, 10:26
Re: Command for enable/disable - by =WoR=Varth - 31.08.2011, 10:50
Re: Command for enable/disable - by Join7 - 31.08.2011, 11:19

Forum Jump:


Users browsing this thread: 1 Guest(s)