.cfg creator
2 Attachment(s)
Conversion of this to AMXX.
Since GoldSrc doesn't provide a way to set cvar descriptions, the script will use comments appended to the cvar register call as the cvar description, unless you pass -no-desc after the sourcefile. Example: Code:
python cfgcreator.py source.sma Code:
python cfgcreator.py source.sma -no-desc |
Re: .cfg creator
Added support for escaped characters.
|
Re: .cfg creator
This just makes a file of cvars from a single plugin? Seems like you would only need this once (right after you finish writing the plugin and only if it's a big plugin with lots of cvars).
|
Re: .cfg creator
Nice! I'm afraid I won't use it, though.
|
Re: .cfg creator
Quote:
With this script you don't need to start a server to do so. Unfortunately AMXx doesn't have a similar system, but you can call the script to quickly generate a .cfg file to provide with your plugin. The user will have to manually add the 'exec file.cfg' line to his server.cfg, though. |
Re: .cfg creator
Impressive. I may use this.
|
All times are GMT -4. The time now is 23:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.