new amount = strval(inputtext);if(!(10 <= amount <= 10000)) // Min 10, max 10000 - change these if you like return SendClientMessage(playerid, COLOR_RED, "Invalid Amount!");