Jump to content
  • 0

Eroare script


burnfire

Question

8 answers to this question

Recommended Posts

ok ;)

[pawn]else if(dialogid == LOGIN)

{

    if ( !response ) return Kick ( playerid );

    if( response )

    {

    if(strlen(inputtext) < 3 || strlen(inputtext) > 20)

{

    ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logare", "Bine ai revenit pe {0000FF}Romania {FFFF00}Fun {FF0000}Evolution{FFFFFF}!Te rugam sa te loghezi mai jos", "Login", "Kick");

    }

    if(INI_Open(getINI(playerid))) {

    INI_ReadString(PlayerInfo[playerid][pPass],"Password",20);

    if(strcmp(PlayerInfo[playerid][pPass],inputtext,false) != 0) return ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logare", "Bine ai revenit pe {0000FF}Romania {FFFF00}Fun {FF0000}Evolution{FFFFFF}!Te rugam sa te loghezi mai jos", "Login", "Kick");

    SetPlayerScore( playerid, INI_ReadInt("Score" ) );

    ResetPlayerMoney( playerid );

    GivePlayerMoney( playerid, INI_ReadInt( "Cash" ) );

    PlayerInfo[playerid][pAdmin] = INI_ReadInt("Admin");

    INI_Close();

    }

    }[/pawn]

EDIT:Am sa incerc sa folosesc B-Dial include!L-am descoperit din greseala pe net...Aici este linkul oficial !!

Link to comment
Share on other sites

[pawn]else if(dialogid == LOGIN)

{

    if ( !response ) return Kick ( playerid );

    if( response )

    {

    if( strlen( inputtext ) || strlen( inputtext ) > 20)

{

    ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logare", "Bine ai revenit pe {0000FF}Romania {FFFF00}Fun {FF0000}Evolution{FFFFFF}!Te rugam sa te loghezi mai jos", "Login", "Kick");

    }

    if(INI_Open(getINI(playerid))) {

    INI_ReadString(PlayerInfo[playerid][pPass],"Password",20);

    if(strcmp(PlayerInfo[playerid][pPass],inputtext,false) != 0) return ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Logare", "Bine ai revenit pe {0000FF}Romania {FFFF00}Fun {FF0000}Evolution{FFFFFF}!Te rugam sa te loghezi mai jos", "Login", "Kick");

    SetPlayerScore( playerid, INI_ReadInt("Score" ) );

    ResetPlayerMoney( playerid );

    GivePlayerMoney( playerid, INI_ReadInt( "Cash" ) );

    PlayerInfo[playerid][pAdmin] = INI_ReadInt("Admin");

    INI_Close();

    }

    }[/pawn]

idiots.png
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.