About Link Up the .ini Files to Plugins
I want to learn how to link up the .ini files to plugins.. I had looked a lot of plugins which have a connect with .ini files, but didn't get the logic as well.
Is there any in-line explanation or example that explains this process? |
Re: About Link Up the .ini Files to Plugins
|
Re: About Link Up the .ini Files to Plugins
There's now a function called AutoExecConfig in AMXX, which should take care of all the logic itself.
http://www.amxmodx.org/api/amxmodx/AutoExecConfig |
Re: About Link Up the .ini Files to Plugins
Quote:
You can have a look at my plugins that use .ini files for a working example. |
Re: About Link Up the .ini Files to Plugins
I understood a little bit but can anyone make a simple example?
|
Re: About Link Up the .ini Files to Plugins
Try to do it yourself and post what you have done and explain what the problem is.
|
Re: About Link Up the .ini Files to Plugins
Quote:
|
Re: About Link Up the .ini Files to Plugins
For a little example, I want to make a mapchooser. How can I read and administer datas in the .ini file that I use in my plugin? And please, explain without hard Amx Mod X phrases. I can't get everything 'cuz I'm a newbie.
This is my start code: Code:
#include <amxmodx> |
Re: About Link Up the .ini Files to Plugins
Code:
ReadFile(PathToFile[]) /i have not implemented sections, i think that is too much for simple ini files/ |
Re: About Link Up the .ini Files to Plugins
amx_settings_api
|
All times are GMT -4. The time now is 11:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.