Allows admins to set players ammo and clip values to anything they want.
For example, you could use to this to give yourself a 50 shot FaN, a Huntsman that has 500 extra ammo, etc, etc.
Works on any weapon/item, including sandman balls, sandviches, milk etc.
Makes you taller or your money back!
Commands:
sm_setammo - <Player> <Slot> <Ammo>
Sets the <Player>'s offhand ammo for the weapon in <Slot> to <Ammo>.
Eg: sm_setammo @me 1 50 would give me 50 reload ammo.
sm_setclip - <Player> <Slot> <Ammo>
Sets the <Player>'s clip size for the weapon in <Slot> to <Ammo>.
Eg: sm_setclip @me 1 50 would let me fire 50 rockets/FaN shots/etc without reloading.
Cvars:
sm_setammo_version - Version sm_setammo_showtext - Enable/Disable printing to chat. Default: Enabled.
Install Instructions:
Place SetAmmo.smx into your addons/sourcemod/plugins/ folder.
Notes:
Slot "1" = Primary weapon
Slot "2" = Secondary weapon
Slot "3" = Tertiary weapon
Default admin level is root.
ToDo:
Multi-mod support (maybe).
Version History:
V1.0.0
Initial Release
V1.1.0
Fixed a bug with replying to the target rather then the admin if an invalid weapon slot was specified.