AKD No Reload is a simple piece of code, that you can add to your own mods, that will refill "reloadable" weapons's ammo whenever you shoot the gun.
What you fill find in this upload:
An array list of weapons that are considered reloadable. You can use this array to remove weapons from being "Fast-reloaded". In other words, all weapons in the array will get full ammo on attack/fire.
A file of IIDs (Item IDs), so that you can easily find the weapon that you want to block Fast-reload for.
Of course the attack hook, where all the magic happens!
Additional information:
Name: AKD No Reload v1.0
Made by: Anders4000
Copyright © 2012 Anders Kjær Damgaard
Date(dd/mm/yyyy): 22/02/2012
The script is copyrighted, and I want you to either give me credits if you copy-paste the code into your own mod, or make a dofile("sys/lua/AKD_No_Reload.lua") call.
1
2
2
Version	 Edit 1.2		Added a break tag in the Weaponcheck loop.
Please leave suggestions or bugs so I can add/fix them.
Let me know if i overlooked any reloadable weapons too, thanks!
- Anders4000
edited 19×, last 07.03.12 04:02:16 pm
Approved by Starkkz
Download
2 kb, 629 Downloads