Y_ini , questions
#5

To fix your error
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if (!response) Kick(playerid);
    else if (response)
    {

        new playernameini[MAX_PLAYER_NAME+4], playername[MAX_PLAYER_NAME];

        GetPlayerName(playerid, playername, sizeof(playername));
        format(playernameini, sizeof(playernameini), "%s.INI", playername);
        new INI:data=INI_Open(playernameini);
        INI_SetTag(data, "Password");
        INI_WriteString(data, "password", inputtext);
        INI_Load(playernameini);
        printf("pass is %s", inputtext);

        INI_Close(data);
    }
    return 1;
}
Reply


Messages In This Thread
Y_ini , questions - by Sarra - 05.08.2014, 23:18
Re: Y_ini , questions - by GeekSiMo - 06.08.2014, 00:04
Re: Y_ini , questions - by Sarra - 06.08.2014, 00:11
Re: Y_ini , questions - by Sarra - 06.08.2014, 00:46
Re: Y_ini , questions - by Jack_Leslie - 06.08.2014, 00:56
Re: Y_ini , questions - by Sarra - 06.08.2014, 01:10
Re: Y_ini , questions - by Sarra - 06.08.2014, 07:02
Re: Y_ini , questions - by Infern0 - 06.08.2014, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)