How to open player file using Y_Ini and Sscanf - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to open player file using Y_Ini and Sscanf (
/showthread.php?tid=276400)
How to open player file using Y_Ini and Sscanf -
Riddick94 - 13.08.2011
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.
Re: How to open player file using Y_Ini and Sscanf -
Derelict - 13.08.2011
Are you trying to write to a file or parse it?
Re: How to open player file using Y_Ini and Sscanf -
Riddick94 - 13.08.2011
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.
Re: How to open player file using Y_Ini and Sscanf -
Kush - 13.08.2011
https://sampforum.blast.hk/showthread.php?tid=244223
Re: How to open player file using Y_Ini and Sscanf -
Riddick94 - 13.08.2011
-cut-
Re: How to open player file using Y_Ini and Sscanf -
Riddick94 - 13.08.2011
Anyone?
Re: How to open player file using Y_Ini and Sscanf -
Riddick94 - 14.08.2011
Lol second day and i am on the fourth page. Nice. Anyone finally know how to do this?
Re: How to open player file using Y_Ini and Sscanf -
Kush - 14.08.2011
If you've actually read what I've posted, ****** gives a detailed explanation on the use of Y_ini.
PHP код:
INI_Open();
INI_Close();
Quote:
I need to create some command to set player value to the account dynamic.
|
Opening and closing is simply checking and writing. Nothing more.
Re: How to open player file using Y_Ini and Sscanf -
Riddick94 - 14.08.2011
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?
Re: How to open player file using Y_Ini and Sscanf -
Grim_ - 14.08.2011
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.