29.07.2013, 17:02
Hi, sorry for posting this, I'm new at scripting and I have this question.
I added this:
When I compile the size is: 4223KB
Without it:
101KB.
Anyone have a clue of why it's happening?
Sorry for my bad english.
I added this:
PHP код:
public OnPlayerConnect(playerid)
{
new string[150];
if(fexist(Path(playerid)))
{
INI_ParseFile(Path(playerid), "loadaccount_%s", .bExtra = true, .extra = playerid);
format(string, sizeof(string), "{80999B}Welcome back!{28F2F2}%s{80999B}.Please insert your password to log into your account", Name(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login",string,"Login","Quit");
}
else
{
format(string, sizeof(string), "{80999B}Welcome {28F2F2}%s{80999B}.Please insert a password to register your account.", Name(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Register",string,"Register","Quit");
}
return 1;
}
Without it:
101KB.
Anyone have a clue of why it's happening?
Sorry for my bad english.