strval question
#1

Hello all,

pawn Код:
if(isnull(inputtext) || strval(inputtext) < 18 || strval(inputtext) > 60)
                {
                    SendClientMessage(playerid, COLOR_WHITE, "Your age must be between 18 and 60");
                    ShowPlayerDialog(playerid, DIALOG_SET_AGE, DIALOG_STYLE_INPUT, "Age", "Please enter an age between 18-60", "Proceed", "Exit");
                }
For some reason you can enter any age and it does not make you re-enter your age. Am I doing something wrong? Please make me look stupid.
Reply


Messages In This Thread
strval question - by BittleRyan - 03.06.2013, 23:40
Re: strval question - by Kirollos - 03.06.2013, 23:45
Re: strval question - by Pottus - 03.06.2013, 23:52
Re: strval question - by BittleRyan - 03.06.2013, 23:57
Re: strval question - by Kirollos - 04.06.2013, 00:07
Re: strval question - by BittleRyan - 04.06.2013, 00:24
Re: strval question - by Pottus - 04.06.2013, 00:54

Forum Jump:


Users browsing this thread: 1 Guest(s)