<Realistic Reload>
Introdution
when u reload yo gun, it will remove bullets left on magazine.
ex : having m4a1 with 30 bullets on it -> start reload -> gun has only 1 bullet(on chamber) -> finish reload -> 31 bullets r in gun
if your gun is openbolt type(only m249 and mac10 is open bolt gun in css), it will remove whole the ammo in gun when u reload.
and u can even reload while yo gun is full. k..
oh, do u want to have separated reserved ammo for guns like p90 and fivesevens that r sharing ammo type? and u want to let p90 can have 400 bullets and fivesevens 160 bullets? u can use this plugin!
https://forums.alliedmods.net/showthread.php?t=203231
Requirements
this plugin needs the things listed below to work:
Installation
to install this plugin
- put the smx file in the sourcemod/plugins folder
to compile this plugin manually
- put all sp files in the sourcemod/scripting folder
- put all inc files in the sourcemod/scripting/include folder
- compile.
Configuration
to configurate this plugin to your likes.......eh, sorry, there is nothing that u can config, yea!
Known Bugs & Limits Of the Mod
it can show u a predict bugs. it still cannot do anything about shotguns.
to prevent related bugs, this plugin will not do it`s functions after round is finished, until next round`s freezetime gets over.
Special Thanks To
i want to say thanks to these guys
- DJtsunami for made SDKHooks
- Jeru for reporting 2 important bugs
- eyes of hunter for reporting a bug
- relicek for reporting a bug
Change Log
all the date`s format is y/m/d
Code:
update at 2014 07 25(ver 1.5.7.27)
- fixed an old bug which makes duel elite to spent 2 ammo without any benefits when u change to another weapon and change back to it while reloading it
update at 2012 12 22(ver 1.5.6.26)
- changed plugin`s code to have better look. it needs latest sm snapshot to work without bug.
update at 2012 12 19(ver 1.5.5.25)
- added support for dual elite`s dual chamber.(yes, dual elite is two guns.)
update at 2012 12 17(ver 1.4.5.22)
- changed mac10 to openbolt gun.(because real world one is actually an open bolt gun)
update at 2012 12 17(ver 1.4.4.21)
- fixed plugin to work fine with bots
- fixed plugin to not allow any reload in freezetime.
- fixed plugin to handle m249 in more realistic way.
- fixed round start bugs, thanks for relicek for reporting this bug.
- attached updated sp file and smx file in zip format to keep old version`s download count. :)
update at 2012 3 11(ver 1.0.2.13)
- fixed bug that makes tons of runtime error when reload while holding knife.
update at 2012 3 11(ver 1.0.2.12)
- fixed horrible bug that doing opposite work about shotguns and normal guns.
update at 2012 1 25(ver 1.0.2.11)
update at 2011 12 20(ver 1.0.2.10)
update at 2011 12 20(ver 1.0.2.9)
update at 2011 12 20(ver 1.0.2.8)
- changed code to use latest GetEntProp function`s updated cool element access functionality. cleand code a bit.
update at 2011 10 2(ver 1.0.0.2)
update at 2011 10 2(ver 1.0.0.1)
- added chamber bullet function.
update at 2011 2 26(ver 1.0.0.0)