get a specif number value.
#2

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.");
Reply


Messages In This Thread
get a specif number value. - by audriuxxx - 01.03.2014, 05:45
Re: get a specif number value. - by LocMax - 01.03.2014, 06:18

Forum Jump:


Users browsing this thread: 1 Guest(s)