Script do not affect IG (Help)
#1

I got this code:

pawn Код:
GetPlayerName(playerid, plname, sizeof(plname));
    format(string, sizeof(string), "accounts/%s.ini", plname);
    if(fexist(string))
    {
        gPlayerAccount[playerid] = 1;
        SendClientMessage(playerid, COLOR_YELLOW, "SERVER: That nick is registered, please login");
        SendClientMessage(playerid, COLOR_WHITE, "HINT: You can now login by typing /login <password>");
        return 1;
    }
    else
    {
        gPlayerAccount[playerid] = 0;
        SendClientMessage(playerid,COLOR_YELLOW,"You dont have an account. Please register by using /register [password]");
        return 1;
    }
I got no errors but when I go IG it tells me that I don't have an account (I am having an account at scriptfiles/accounts/Lenny_Kraff.ini and I can /login but it shows that I can't.)
Reply


Messages In This Thread
Script do not affect IG (Help) - by Partner - 17.12.2012, 16:56
Re: Script do not affect IG (Help) - by Karagon - 17.12.2012, 17:08
Re: Script do not affect IG (Help) - by Partner - 17.12.2012, 17:45
Re: Script do not affect IG (Help) - by Karagon - 17.12.2012, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)