onplayertext value?
#6

Ah..

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
}
I should of noticed that!
Reply


Messages In This Thread
onplayertext value? - by Admigo - 28.11.2011, 18:04
Re: onplayertext value? - by Ash. - 28.11.2011, 18:05
Re: onplayertext value? - by Admigo - 28.11.2011, 18:08
Re: onplayertext value? - by Ash. - 28.11.2011, 18:14
Re: onplayertext value? - by Admigo - 28.11.2011, 18:34
Re: onplayertext value? - by Ash. - 28.11.2011, 18:37
Re: onplayertext value? - by Admigo - 28.11.2011, 18:42
Re: onplayertext value? - by Ash. - 28.11.2011, 18:49
Re: onplayertext value? - by Admigo - 28.11.2011, 18:53
Re: onplayertext value? - by Ash. - 28.11.2011, 19:01

Forum Jump:


Users browsing this thread: 2 Guest(s)