DIALOG_STYLE_INPUT Error
#4

Quote:
Originally Posted by Virtual1ty
use strcmp:
pawn Код:
new Array1[24],
            Array2[24];
       
        if(strcmp(Array1, Array2, true) == 0)
        {
                //your code
        }
Now i have this:

Код:
			if(strcmp(Array1, Array2, true) == 0)
			{
	  		if(strcmp(inputtext[] == KEY, true))
	  		{
					ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Key Accepted!", "Welcome To The Server", "Spawn", "Spawn");
				}
But i still have this error:

Код:
error 029: invalid expression, assumed zero
This is the Line: 	  		if(strcmp(inputtext[] == KEY, true))
Reply


Messages In This Thread
DIALOG_STYLE_INPUT Error - by GforceNL - 04.04.2010, 07:26
Re: DIALOG_STYLE_INPUT Error - by Khelif - 04.04.2010, 13:59
Re: DIALOG_STYLE_INPUT Error - by Virtual1ty - 04.04.2010, 13:59
Re: DIALOG_STYLE_INPUT Error - by GforceNL - 04.04.2010, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)