Jump to content

Gireada

V.I.P
  • Posts

    2,688
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by Gireada

  1. F:\Viata Romaneasca Las Venturas V4.4\gamemodes\GL.pwn(6563) : error 017: undefined symbol "sendername"

    F:\Viata Romaneasca Las Venturas V4.4\gamemodes\GL.pwn(6563) : error 017: undefined symbol "sendername"

    [pawn] GetPlayerName(playerid, sendername, sizeof(sendername));[/pawn]

    ma poate ajuta cineva tot la registre e

    [pawn]if(dialogid == 12345)

    {

    if(response)

    {

    if(strlen(inputtext))

    {

    GetPlayerName(playerid, sendername, sizeof(sendername));

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

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

    if (hFile)

    {

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

    fclose(hFile);

    return 1;

    }

    new passtring[128];

    new tmppass[64];

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

    format(passtring,sizeof(passtring),"{FFFFFF}Your password is( {FF0000}%s {FFFFFF}).Please dont forget your password or you lost the account",tmppass);

                SendClientMessage(playerid, COLOR_ROSUAPRINS, passtring);

    OnPlayerRegister(playerid,tmppass);

    }

    else

    {

    new regstring[1000];

    new regname[64];

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

    format(regstring,sizeof(regstring),"Bun venit, {1E90FF}%s\n{FFFFFF}Nu ai cont.\n\n\n\n\n\n{FFFF00}NumeSV te roaga sa te inregistrezi:",regname);

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

    }

      }

        }

        }

        return 0;

    }[/pawn]

×
×
  • 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.