18.08.2015, 13:41
Great job,
but I'm having trouble using eINI.
I'm using this code:
But I keep getting errors in my server that the handle is invalid, the file doesn't exist and etc.
What am I doing wrong?
Thanks in advance
but I'm having trouble using eINI.
I'm using this code:
Код:
UserPath(playerid) { new string[50],playername[MAX_PLAYER_NAME]; GetPlayerName(playerid,playername,sizeof(playername)); format(string,sizeof(string),"/Users/%s.ini",playername); return string; } //In my register system dialog I have: new INI:handle = INI::CreateINI(UserPath(playerid)); INI::WriteString(handle,inputtext,"Password"); INI::CloseINI(handle);
What am I doing wrong?
Thanks in advance