This is a rather simple plugin part of the "gungame" category. Select any Half-Life 1 map and get a crossbow! Everything else is blocked, ammo is infinite.
You're allowed to use basic items, only those that aren't under the weapon_* category.
Screenshots
Dependencies- Engine
- Fun
- FakeMeta
- HamSandwich
Commands
This plugin doesn't support any command.
CVARs
This plugin doesn't support any CVARs.
Installation
- Drop the plugin inside of your addons/amxmodx/plugins folder
- Edit your plugins.ini (inside of addons/amxmodx/configs) and add its filename (amx_only_crossbow.amxx)
- Restart your server or change the level to initialize it
Development
On its current stage, the plugin is completely stable and usable. Although it might become rather slow on small systems or heavily loaded servers and further testing might be necessary in order to meet the standards of older plugins.
If you're planning on contributing, passing "debug" next to the filename within plugins.ini will provide you most of the unhandled exceptions that might occur, however, if you want to go even further, you might as well just re-build the plugin enabling the constant "DEBUG" (check the source header for more information), which will provide you with server-side insights about each of the plugin operation steps.
Contributions
If you liked the plugin or you feel like there's anything to improve on or optimize, feel free to provide your suggestions or, better yet,
submit a pull request to the repo at GitHub.
Credits