Quote:
Originally Posted by [B
Vortex ]
wrong. It should be
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp ("/healme", cmdtext, true, 10) == 0) { if(GetPlayerMoney(playerid, < 800) { SendClientMessage(playerid,COLOR_RED,"Not enough money!"); } else { SendClientMessage(playerid, COLOR_RED, "You Have Healed Yourself."); SetPlayerHealth(playerid,100); //Set Player Health To 100 SendClientMessage(playerid,COLOR_RED, "Healing Yourself Costs $800."); GivePlayerMoney(playerid,-800); return 1; } }
pawn tag's indentation sucks D:
|
i put it right but the [pawn] put it wrong