Getting numbers with dialogs
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
new
    amount = strval(inputtext);

if(!(10 <= amount <= 10000)) // Min 10, max 10000 - change these if you like
    return SendClientMessage(playerid, COLOR_RED, "Invalid Amount!");
Would work just fine.
Thanks so much thats works.
Reply


Messages In This Thread
fixed - by Haydz - 03.01.2011, 18:31
Re: Getting numbers with dialogs - by Patrik356b - 03.01.2011, 18:43
Re: Getting numbers with dialogs - by Haydz - 03.01.2011, 18:47
Re: Getting numbers with dialogs - by Vince - 03.01.2011, 19:27
Re: Getting numbers with dialogs - by Haydz - 03.01.2011, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)