Again argument mismatch.
#5

Tell me if i did it correct
Код:
    new name[MAX_PLAYER_NAME];
    new string[128];
    new file[128];
	GetPlayerName(playerid, name, sizeof(name));
    PlayerInfo[playerid][pSelect] == 0;
    format(file,sizeof(file),"%s.json","player/name",name);
 	if(!djIsSet(file))
    {
		ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Register","Enter your password below:","Register","Cancel");
	}
	else if(djIsSet(file))
	{
	    ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Login","Enter your password below:","Login","Cancel");
	}
}
I'm gettin' only those warnings
Код:
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(153) : warning 202: number of arguments does not match definition
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(157) : warning 202: number of arguments does not match definition
C:\Users\Machlik\Downloads\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(148) : warning 204: symbol is assigned a value that is never used: "string"
If it's good please give me a point how to make password save
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: 1 Guest(s)