Again argument mismatch.
#1

So i'm trying to make register/login system in dialogs I'm trying to learn from my fails but i really don't know what i'm doing I'm using Djson
Код:
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(149) : warning 215: expression has no effect
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(150) : error 035: argument type mismatch (argument 3)
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(154) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
public OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
    PlayerInfo[playerid][pSelect] == 0;
 	if(!djIsSet("%s.json","player/name", name))
    {
		ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Register","Enter your password below:","Register","Cancel");
	}
	else if(djIsSet("%s.json","player/name", name))
	{
	    ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Login","Enter your password below:","Login","Cancel");
	}
}
Reply


Messages In This Thread
Again argument mismatch. - by sekol - 04.09.2010, 19:09
Re: Again argument mismatch. - by woot - 04.09.2010, 19:10
Re: Again argument mismatch. - by sekol - 04.09.2010, 19:12
Re: Again argument mismatch. - by Calgon - 04.09.2010, 19:15
Re: Again argument mismatch. - by sekol - 04.09.2010, 19:20

Forum Jump:


Users browsing this thread: 4 Guest(s)