Creating ini file
#3

still wondering what you mean with this:
pawn Код:
new password = inputtext[DIALOG_REGISTER];
You can use inputtext without creating a new variable.
Something like this:
pawn Код:
new failas[128];
                new vardas[MAX_PLAYER_NAME];
                GetPlayerName(playerid,vardas, MAX_PLAYER_NAME);
                format(failas,128,"Vartotojai/%s.ini",vardas);
                dini_Create(failas);
                dini_Set(failas,"Slaptazodis",inputtext);
Should do the job, try it.
Reply


Messages In This Thread
Creating ini file - by Burning - 05.04.2014, 14:17
Re: Creating ini file - by ChristianIvann09 - 05.04.2014, 14:26
Re: Creating ini file - by GWMPT - 05.04.2014, 14:29
Re: Creating ini file - by Konstantinos - 05.04.2014, 14:35
Re: Creating ini file - by Burning - 05.04.2014, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)