Quote:
Originally Posted by Fugitive.
pawn Код:
if(buyfood[playerid] == 1) { if (strcmp(text,"1",true) == 0) { new Playermoney = GetPlayerMoney(playerid); if (Playermoney >= 1) { SetPlayerHealth(playerid, eHealth+5); buyfood[playerid] = 1; return 0; } SendClientMessage(playerid,RED,"You don't have enough money to buy this!"); return 1; }
Right for some reason when this command is being used, In chat I keep saying 1. How can I stop this? my code is right isn't?
|
Return False. then the chat wont show it.