01.03.2014, 06:18
Limit the numbers to 3 so player can only input 3 numbers, not more or less.
Then you can easily detect those 3 numbers because inputtext will equal the 3 numbers.
if(strlen(inputtext) > 3 || strlen(inputtext) < 3) return SendClientMessage(playerid, 0xFF0000AA, "You need to input 3 numbers.");
Then you can easily detect those 3 numbers because inputtext will equal the 3 numbers.
if(strlen(inputtext) > 3 || strlen(inputtext) < 3) return SendClientMessage(playerid, 0xFF0000AA, "You need to input 3 numbers.");