Map Configuration Switcher (Originally Custom Map Configs)
1 Attachment(s)
Okay. First things first, I should say that this is my first real plugin so go easy on me. This is a modified version (as seen below) of the AMX Mod Change Map Configs plugin. I ported it and made a major change. I used regex so that if you are on a surf map, it loads surf.cfg and if you are not, it loads normal.cfg.
Obviously, settings for FY and other types of maps can can be added as well. Feel free to give suggestions. In fact, please give me as many suggestions as possible for improving this script including, perhaps, a way to add types of maps without having to recompile the SMA every time you want to add a new type. Oh, yes. There was one thing that I must ask - When modifying the script, there was a variable called 'len' which was uncalled throughout the plugin. If anyone can suggest how to change the line(s) with 'new len' in them, please do. Thanks for any advice to make this more efficient. This has been tested and works flawlessly on my server. Code:
/* AMX Mod X script. |
|
Quote:
That is for each individual map, which is a pain. This reads the type of map overall so if you like to go by surf, or FY, etc, you don't have to make a config for every single map you have you don't have to. Just thinking of making a special config for every surf map I have is terrible. Edit: essentially the beginnings of what Bry asked on page 2. |
|
Quote:
|
Redundant. Moved to Unapproved/Old Plugins forum.
|
All times are GMT -4. The time now is 07:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.