Posts: 1,767
Threads: 124
Joined: Mar 2010
Hey.. how to open player file using Y_Ini and Sscanf by file name?
I need to create some command to set player value to the account dynamic. Then it doesn't matter is player Online or Offline.
Posts: 11
Threads: 1
Joined: Aug 2011
Reputation:
0
Are you trying to write to a file or parse it?
Posts: 1,767
Threads: 124
Joined: Mar 2010
INI_Open
INI_WriteInt
INI_Close.
pawn Код:
CMD:command(playerid, params[])
{
new filename[32];
if(sscanf(params, "s[32]", filename))
{
}
return true;
}
Wrote on the page. Don't know is it good.
@Down
Do not fuck with me.
Posts: 1,767
Threads: 124
Joined: Mar 2010
Posts: 1,767
Threads: 124
Joined: Mar 2010
Posts: 1,767
Threads: 124
Joined: Mar 2010
Lol second day and i am on the fourth page. Nice. Anyone finally know how to do this?
Posts: 1,767
Threads: 124
Joined: Mar 2010
Then tell me how to open player file with sscanf when player is isn't online. I have this command already made but i don't know how to open PlayerFile with sscanf, understand?
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
There really isn't an effective way of doing this, unless you saved the files with a specific key in the file name (which is still not ideal). ****** made a post about doing this quite recently, look through is recent posts and see if you can find it.