strcmp question
#8

Quote:
Originally Posted by VincentDunn
View Post
Whoa, never seen that before.
Me neither.


Quote:
Originally Posted by VincentDunn
View Post
But
pawn Code:
if( strcmp( accInfo[ playerid ] [ Password ], inputtext, false ) )
                            return ShowPlayerDialog( playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT
You're not seeing if it won't return 0.
Code:
!= 0
I've fixed it in the actual script, thank you.

pawn Code:
if( strcmp( accInfo[ playerid ] [ Password ], inputtext, false ) )
                            return ShowPlayerDialog( playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT
Reply


Messages In This Thread
strcmp question - by 2KY - 31.03.2012, 15:13
Re: strcmp question - by jotan. - 31.03.2012, 15:15
Re: strcmp question - by 2KY - 31.03.2012, 15:16
Re: strcmp question - by Jochemd - 31.03.2012, 15:17
Re: strcmp question - by ReneG - 31.03.2012, 15:29
Re: strcmp question - by 2KY - 31.03.2012, 15:31
Re: strcmp question - by ReneG - 31.03.2012, 15:38
Re: strcmp question - by 2KY - 31.03.2012, 15:40
Re: strcmp question - by ReneG - 31.03.2012, 15:45
Re: strcmp question - by 2KY - 31.03.2012, 16:02
Re: strcmp question - by mprofitt - 07.05.2012, 20:13

Forum Jump:


Users browsing this thread: 2 Guest(s)