View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-01-2014 , 15:27   Re: Settings API (load/save data to INI files)
Reply With Quote #6

Quote:
Originally Posted by meTaLiCroSS View Post
What's the difference between using "txt" files and "ini" files? Or "cfgs", and others? I don't really know
As fysiks said, it's just a text format to save Key/Values in groups.

Quote:
[section1]
a=a
b=b

[section2]
a=1234
color=blue
Quote:
Originally Posted by fysiks View Post
I guess I really don't understand the purpose. It appears to me that it's just a global .ini file that can be used by several plugins at once instead of each plugin using it's own.
If you write an application with a lot of settings to be saved somehow, sometimes INI format it's useful. Just that. Not only to share settings between plugins, you can use this in just one plugin, but a big one like ZP.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito