Noob Question *In Need Of Help ASAP*
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/Ikky Wikky Medicine *puke*", cmdtext, true, 27) == 0)
    {
        if(GetPlayerHealth(playerid) > 99)
        {
            SendClientMessage(playerid,0xFF0000,"Lies you has full health already!");
            }
        }
        else
        if(GetPlayerHealth(playerid)  < 99)
        {
            SendClientMessage(playerid,0xFF0000,"There ya go nub");
            SetPlayerHealth(playerid,100);
            GivePlayerMoney(playerid,-1337);
            }
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Noob Question *In Need Of Help ASAP* - by [DBZ]Ali - 20.12.2010, 18:36
Re: Noob Question *In Need Of Help ASAP* - by blackwave - 20.12.2010, 18:41
Respuesta: Noob Question *In Need Of Help ASAP* - by admantis - 20.12.2010, 18:43
AW: Noob Question *In Need Of Help ASAP* - by [SU]Balli - 20.12.2010, 18:51
Respuesta: AW: Noob Question *In Need Of Help ASAP* - by admantis - 20.12.2010, 18:59
Re: Noob Question *In Need Of Help ASAP* - by blackwave - 20.12.2010, 19:01
Re: Noob Question *In Need Of Help ASAP* - by [DBZ]Ali - 21.12.2010, 10:14

Forum Jump:


Users browsing this thread: 3 Guest(s)