Description
As requested by mrkool723 in eventscripts forums
[link] I released this script loader. It works like my
[AutoGunGame] does, but this version is a separate loader+unloader without special GunGame adjustments, so you can use it for any script(s).
Features:
- Which script(s) should be auto-loaded on CSL maps
- Which script(s) should be auto-unloaded on CSL maps
- On which maps should the script(s) be (un)loaded (e.g. whole mapnames like "de_dust", prefixes like "cs_" and/or other maps including strings that you define)
- Which mapnames will be ignored by CSL (see config file for more information)
- Some config file that will be executed on mapstart on CSL maps
- Some config file that will be executed once when returning to non-CSL maps
- Should the auto-loaded and auto-unloaded scripts be revoked on non-CSL maps
Default configuration happens in cstrike/addons/eventscripts/csl/config.cfg. You can also change options temporarily (until server restart or reloading of the script) through console.
Installation
Method 1For automatic installing & loading of the script, just type the following in your server console or with rcon:
Code:
es_install csl autoload
After that, either type the following or restart your server
Code:
es_load csl
For automatic installing without auto-loading, type this:
Code:
es_install csl
Configure the Script in addons/eventscripts/csl/config.cfg (to apply changes on server, reload the script, or restart your server)
___________________________________________________________
Method 2- Download the *.zip folder from here
- Extract it
- Copy the addons folder in your cstrike directory
- Open your autorun.cfg in cstrike/cfg (you should have one, otherwise create a blank .txt file and rename it)
- Add the line "es_load csl" at the end of the file
- Go to cstrike/addons/eventscripts/csl and open the config.cfg if you want to change some settings (self explanatory)