15.01.2016, 13:22
Hello i have a warning
warning 202: number of arguments does not match definition
and the code is
I don't understan whats not working there.
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;
}


