02.11.2013, 17:09
If you would be making an dynamic faction system,for example.
And let's say there is a command to create a new faction,then set up vehicles etc..
How could i make a new file named like the argument player put in when making the faction.
For example /makefac [NAME],so the [NAME] is the name of the .ini file?
Something like:
And then what when i want to read from that file?
And let's say there is a command to create a new faction,then set up vehicles etc..
How could i make a new file named like the argument player put in when making the faction.
For example /makefac [NAME],so the [NAME] is the name of the .ini file?
Something like:
Код:
//Some command for making the faction.... //Let's say the [NAME] argument would be stored in a string var (new stringFac[128]) new INI:File = INI_Open(stringFac); // LIke this?