Blank inputtext
#1

Hey guys, i have this problem, when player enters nothing into the INPUTTEXT, it still does the action that if he entered something, other than the action that I want to show.

For example, this is when player join the server, and has to enter some password:
Код:
new string...
format...
showplayerdialog..
it simply just shows him inputtext dialog, that he has to enter some kind of password, now in ondialogresponse i have this condition:

Код:
if(!strlen(inputtext))
and inside this condition, i am showing a another dialog, the same one, that player saw when he connected

if(!strlen(inputtext))
{
same connect dialog
}

the thing is, that even if player does not enter anything into the inputtext, server still proceedes to another action
Reply


Messages In This Thread
Blank inputtext - by MrakBuster - 04.01.2018, 15:31
Re: Blank inputtext - by MrakBuster - 04.01.2018, 15:33
Re: Blank inputtext - by RogueDrifter - 04.01.2018, 15:37
Re: Blank inputtext - by Meller - 04.01.2018, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)