AMX size is very high for some unknown reason..
#1

Hi, sorry for posting this, I'm new at scripting and I have this question.
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(stringsizeof(string), "{80999B}Welcome back!{28F2F2}%s{80999B}.Please insert your password to log into your account"Name(playerid));
        
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_INPUT,"Login",string,"Login","Quit");
    }
    else
    {
        
format(stringsizeof(string), "{80999B}Welcome {28F2F2}%s{80999B}.Please insert a password to register your account."Name(playerid));
        
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_INPUT,"Register",string,"Register","Quit");
    }
    return 
1;

When I compile the size is: 4223KB

Without it:

101KB.

Anyone have a clue of why it's happening?


Sorry for my bad english.
Reply


Messages In This Thread
AMX size is very high for some unknown reason.. - by Magic_Time - 29.07.2013, 17:02
Re: AMX size is very high for some unknown reason.. - by Scenario - 29.07.2013, 17:03
Re: AMX size is very high for some unknown reason.. - by Magic_Time - 29.07.2013, 17:10
Re: AMX size is very high for some unknown reason.. - by Scenario - 29.07.2013, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)