Posts: 872
Threads: 25
Joined: Sep 2014
Reputation:
0
I think, using fopen() will be possible for this.
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
This is a very bad idea.
Stop using INI as your player database.S
Switch over to MySQL and making an UCP will get easier.
Posts: 826
Threads: 64
Joined: Oct 2013
Reputation:
0
You dont use y_php.
y_php is AFAIK too call php functions and receive info from them... Meaning you can create the whole gamemode API in PHP and call them in the gamemode which will provide more abilites that aren't in PAWN.. aguess.
About reading ini files.
In YSI 3.1, There is a folder called "php".
Open it, You will find a file called "ysi_ini.php".
That will contain a class for reading the ini files created by y_ini.
However to do such a thing, Your site must be hosted in the same server as the SAMP server do its able to access the user's files.
__________________________________________
And if your gamemode is still at its beginning, I highly recommend that you switch to MySQL, It is alot better in many things.
As if your gamemode gets bigger, Converting will get harder and you will definitely need that convert in the future.. So why not from now ?