Jump to content
  • 0

Problema Gm GamesRO


dontz

Question

8 answers to this question

Recommended Posts

esti sigur ca problema e versiunea serverului?

L-ai recompilat tu tot cu 0.3e si ai vazut ca merge sau ai pus .amx-ul pe care ti l-a dat akord?

e posibil sa-ti fi setat akord din script sa primesti kick, ca de obicei asa face :)). cand le dadea gamemode-ul astora nu punea include-urile si era cam greu sa le gasesti.

e versiunea pe mysql?

Link to comment
Share on other sites

uite ca pun eu ondialogreponse dar by e de aici:)) stiu omu ca e smeker la fazele astea:))

Mai era odata o problema asemanatoare la VORTEX2 daca skimbai versiunea nu te mai lasa sa te loghezi:))

[pawn]

if(response)

{

if(dialogid == 12346 || dialogid == 12347)

{

    if(strlen(inputtext))

    {

    new tmppass[64];

strmid(tmppass, inputtext, 0, strlen(inputtext), 255);

//Encrypt(tmppass);

OnPlayerLogin(playerid,tmppass);

            new playersip[24];

        GetPlayerIp(playerid, playersip, sizeof(playersip));

        new playername2[MAX_PLAYER_NAME];

GetPlayerName(playerid, playername2, sizeof(playername2));

if(IsPlayerNPC(playerid)) return 0;

new y, m, d;

    new h,mi,s;

    getdate(y,m,d);

    gettime(h,mi,s);

    format(string,sizeof(string), "[%02d/%02d/%02d || %02d:%02d:%02d] %s s-a logat cu ip: %s.",d,m,y,h,mi,s,playername2,playersip);

    LoginLog(string);

}

else

{

    new playersip[24];

        GetPlayerIp(playerid, playersip, sizeof(playersip));

new loginstring[256];

new loginname[64];

GetPlayerName(playerid,loginname,sizeof(loginname));

format(loginstring,sizeof(loginstring),""wh"Aceasta parola nu este corecta. Re-incerca sa bagi parola:\n\n"wh"IP-ul tau: "color_yellow"%s",playersip);

ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");

Var[gPlayerLogTries][playerid] += 1;

if(Var[gPlayerLogTries][playerid] == 3) { SCM ( playerid , COLOR_WHITE , "Ai luat kick pentru ca ai bagat parola de 3 ori gresita !" ) ; Kick(playerid); }

}

}

if(dialogid == 12345)

{

    if(strlen(inputtext))

    {

format(string, sizeof(string), "User/%s.ini", sendername);

new File: hFile = fopen(string, io_read);

if (hFile)

{

SCM(playerid, COLOR_YELLOW, "That Username is already taken, please choose a different one.");

fclose(hFile);

return 1;

}

if ( strlen(inputtext) < 6 )

{

    new playersip[24];

        GetPlayerIp(playerid, playersip, sizeof(playersip));

new regstring[256];

new regname[64];

GetPlayerName(playerid,regname,sizeof(regname));

format(regstring,sizeof(regstring),""wh"Trebuie sa aibe minim 6 caractere parola ta:\n\n"wh"IP-ul tau: "color_yellow"%s",regname,playersip);

ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Exit");

return 1;

}

new tmppass[64];

strmid(tmppass, inputtext, 0, strlen(inputtext), 255);

//Encrypt(tmppass);

OnPlayerRegister(playerid,tmppass);

}

else

{

    new playersip[24];

        GetPlayerIp(playerid, playersip, sizeof(playersip));

new regstring[256];

new regname[64];

GetPlayerName(playerid,regname,sizeof(regname));

format(regstring,sizeof(regstring),""wh"Bine ai venit, "color_green"%s"wh" .Tasteaza o parola pentru a te inregistra:\n\n"wh"IP-ul tau: "color_yellow"%s",regname,playersip);

ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Exit");

}

}

}[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.