Register date small problem
#1

Hello,this is the variables when a player register:

pawn Код:
new Year, Month, Day, Hour, Minute, Second;
getdate(Year, Month, Day);
gettime(Hour, Minute, Second);
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Registering...","{FF0000}You have entered an invalid password.\n""Type your password below to register a new account.","Register","Quit");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File, "RegisterDate", Day,Month,Year,Hour,Minute,Second);
As you can see, i'm trying to save the register date in the player account file, but i got error in this line:

pawn Код:
INI_WriteInt(File, "RegisterDate", Day,Month,Year,Hour,Minute,Second);
warning 202: number of arguments does not match definition
Reply


Messages In This Thread
Register date small problem - by Face9000 - 14.10.2012, 19:53
Re: Register date small problem - by Finn - 14.10.2012, 20:14
Re: Register date small problem - by lorizz - 14.10.2012, 20:15
Re: Register date small problem - by zDevon - 14.10.2012, 20:17
Re: Register date small problem - by Face9000 - 14.10.2012, 20:18
Re: Register date small problem - by lorizz - 14.10.2012, 20:21
Re: Register date small problem - by Face9000 - 14.10.2012, 20:27
Re: Register date small problem - by lorizz - 14.10.2012, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)