04.01.2018, 15:31
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:
it simply just shows him inputtext dialog, that he has to enter some kind of password, now in ondialogresponse i have this condition:
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
For example, this is when player join the server, and has to enter some password:
Код:
new string... format... showplayerdialog..
Код:
if(!strlen(inputtext))
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