Y_INI custom saving filename or by ID's
#1

Hello people i'm slowly scripting my gamemode from scratch. Thanks to ***** and his includes all work is quite easy i got nice saving system in deployment but at the moment i'm stuck a bit. I searched all over the forums a few day's now but i'm unable to find what i need. I will be very thankfull for help on this. I know it should be easy but i just can't get it working.


This is what i use

#include <sscanf2>
#include <YSI\y_ini>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <foreach>
#include <streamer>

And little explanation of what i want.

I want to make y_ini file that file name will be based on command text , example: /mycommand something = 0.ini etc
Problem is i never managed to get that working. Other thing i want is that each time i type command if file 0 exists script will automaticly make file 1.ini etc etc...
So i will have 0.ini , 1.ini , 2.ini etc and in each file i would save some data. In other hand question is how to save .ini by id's?

How to save and load that kind of data filename's. ??


Other thing i want to make is smilar example: /mycommand something = something.ini

Problem isn't saving a data into file but getting a proper filename and load it.

Any help would be appreciated.

Thanks
Reply


Messages In This Thread
Y_INI custom saving filename or by ID's - by caki - 18.05.2012, 18:00
Re: Y_INI custom saving filename or by ID's - by caki - 19.05.2012, 10:37
Re: Y_INI custom saving filename or by ID's - by caki - 27.05.2012, 10:54

Forum Jump:


Users browsing this thread: 2 Guest(s)