need help in ternary operator
#1

I'm not really good in TO so I'm not sure what could be the reason of this problem.
pawn Code:
(db_num_rows(Result)) ? ShowPlayerDialog(playerid, dlogin, DIALOG_STYLE_INPUT, ""horange"LOGIN", "test", "Login", "Quit")
        : ShowPlayerDialog(playerid, dregister, DIALOG_STYLE_INPUT, ""horange"REGISTER", "test", "Register", "Quit");
Code:
warning 215: expression has no effect
Reply


Messages In This Thread
need help in ternary operator - by newbienoob - 24.08.2013, 02:42
Re : need help in ternary operator - by Naruto_Emilio - 24.08.2013, 02:58
Re: need help in ternary operator - by newbienoob - 24.08.2013, 02:59
Re : need help in ternary operator - by Naruto_Emilio - 24.08.2013, 03:05
Re: need help in ternary operator - by newbienoob - 24.08.2013, 03:18
Re: need help in ternary operator - by Pottus - 24.08.2013, 06:20
Re: need help in ternary operator - by newbienoob - 24.08.2013, 06:27
Re: need help in ternary operator - by RajatPawar - 24.08.2013, 07:04
Re: need help in ternary operator - by Misiur - 24.08.2013, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)