(I sincerely apologise for posting it in the wrong section before, got slightly confused.)
Version: 1.3
Original Author: ghosthunterfool
Original Plugin: https://forums.alliedmods.net/showthread.php?p=1793378
Updated by: Alaina
Public CVAR: l4d2_wepreload_version -- This returns the version of the plugin.
This plugin does not use additional cvar's (There are defined in the script but they are for script usage purpose only and should not be used in the console.)
Update: 1.1
Changed the "ammo" types from the old L4D2 Library to the new L4D2 library, fixing the plugin.
The plugin now supports reloading all the correct value's (Reloading M4 under 0 bullets, will give you 51, simular to other weapons).
Update 1.2:
- Gave each weapon their own AMMO definition; this resolves some of the weapon's getting overloaded (Assigned wrong values; AK's would end up with 51 rounds after a rapid reload.)
- Identified an error with the pistol reload (As reported by Krufftys Killers) -- Added in a code wich makes the plugin ignore pistol reload. (You also cannot edit the clipsize of a pistol; so this edit is a win-win)
- Renamed the CVAR to be more plugin specific.
Update 1.3:
* Fixed the problem where the pistol would spit out errors on the plugin.
* Fixed an issue where the AK-47 still would not get its correct ammo after reloading.
Update 1.4:
- Fixed an issue where the plugin wouldn't "halt" when an invalid client reloaded a weapon (Ghost client)
- Fixed an issue with connvars being messed up and overriding each other.
NOTE:
Before you update from version 1.3 to version 1.4 --
Please delete "\cfg\sourcemod\l4d2_weapon_reload.cfg"; the plugin will automaticly re-create it.
Why did I update it?
This is an updated version of the original plugin. This plugin was still using the old Left 4 Dead 2 ammo type's and it was pretty usefull in some cases, where you would need that faster reload to survive.
Summary:
This plugin simulates the reload as seen in most modern FPS games.
If you reload while your clip isn't empty; the reload will happen faster and you'll have one extra bullet in the clip (The one thats still in the weapon).
If your clip is empty; the normal default clip size & reload time will occur.