09.03.2011, 13:53
pawn Код:
if (strcmp)("/Medkit", cmdtext, true, 7) == 0)
{
if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, COLOR_RED, "ERROR : You dont have enough money!");
{
GivePlayerMoney(playerid, -1000);
SetPlayerHealth(playerid,100);
}
return 1;
}