20.12.2010, 18:41
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;
}