28.11.2011, 18:37
Ah..
Try this instead:
I should of noticed that!
Try this instead:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(Bankmenu[playerid])
{
if(!IsNumeric(text)) return SendClientMessage(playerid, COLOUR, "You need to enter a numeric value that is above 0.");
dcmd_deposit(playerid, text);
return 0; //Don't allow OPT to continue any further.
}
//Rest of OPT
}