Script Name: WeaponLimiter
Script Description: Script is disabling weapon from menu when it's amount will reach the limit.
Original Author(s): Savage
Compilation: PassedCore Version: 2.7.9 (SC3)
Info:
* Keep your weapons menu open because the weapon you were using before death can be disabled due to limit and you will end with hands
* If onweaponchange event is triggered and your primary weapon is over the limit it will be swapped to secondary (if secondary is over limit hands will be forced as primary)
* Weapons IDs:
http://wiki.soldat.pl/index.php/TWeapon.WType* Flamer and Bow aren't implemented
* Let me know about bugs
* At the end of the script you will find weapons limits, all of them are set to 32 which is max possible amount
WeaponLimiter - Limit isn't divided between teamsCommands:
/wlim - show weapons amount/limit
/clim <wepid> <limit> - change weapon limit temporarily - until recompile (admin only)
/wids - check weapons IDs (admin only)
WeaponLimiterT - Limit is evenly divided between teamsCommands:
/wlim <teamid> - show weapons amount/limit (You can type only /wlim to check your team)
/tids - check teams IDs
/clim <wepid> <limit> - change weapon limit temporarily - until recompile (admin only)
/wids - check weapons IDs (admin only)