20.12.2010, 18:59
Quote:
|
Код:
if (strcmp("/Ikky Wikky Medicine *puke*", cmdtext, true, 10) == 0)
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health > 100.0)
{
SendClientMessage(playerid,0xFF0000,"Lies you has full health already!");
}
}
else
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health < 99.0)
{
SendClientMessage(playerid,0xFF0000,"There ya go nub");
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid,-1337);
}
}
return 1;
}
|
pawn Код:
if (health > 99) return health;


