Im having a problem
#1

Hello i have a warning

warning 202: number of arguments does not match definition

and the code is

Код:
public OnPlayerConnect(playerid)
{
	new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,24);
    new Y, M, D;
    new H, G, S;
    getdate(Y, M, D);
    gettime(H, G, S);
    if(fexist(Path(playerid)))
    {
        INI_ParseFile(Path(playerid),"loadaccount_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid,dlogin,DIALOG_STYLE_INPUT,"Login","Welcome back %s. This account is registered. \nInsert your password to login to your account","Login","Quit",pName);
    }
    else 
    {
        ShowPlayerDialog(playerid,dregister,DIALOG_STYLE_INPUT,"Register","Welcome! This account is not registered.\nEnter your own password to create a new account.","Register","Quit");
		return 1;
  	}
   	return 1;
}
I don't understan whats not working there.
Reply


Messages In This Thread
Im having a problem - by RuNBoY - 15.01.2016, 13:22
Re: Im having a problem - by lucamsx - 15.01.2016, 13:35
Re: Im having a problem - by RuNBoY - 15.01.2016, 13:35
Re: Im having a problem - by lucamsx - 15.01.2016, 13:41
Re: Im having a problem - by RuNBoY - 15.01.2016, 13:43
Re: Im having a problem - by Sew_Sumi - 15.01.2016, 14:08

Forum Jump:


Users browsing this thread: 2 Guest(s)