Thread: [ZR] Kill Clip
View Single Post
Author Message
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 09-05-2013 , 16:55   [ZR] Kill Clip
Reply With Quote #1

Description:
  • A request by LaSt LeGenD, which can be found here.
  • Fairly simple... It lets the attacker recover x ammo (either clip, reserve, or both) after killing a zombie. A CS:GO version would be possible, but I'm a tad too lazy to find the offsets for the weapons
ConVars:
  • zr_killclip_enabled: Enables/disables all features of the plugin. (0 = Disabled, 1 = Enabled)
  • zr_killclip_refill_clip: Amount of ammo to refill the primary clip for each kill. (0 = Disabled)
  • zr_killclip_refill_reserve: Amount of ammo to refill the reserve ammo for each kill. (0 = Disabled)
Credits:
Disclaimer: Some of the methods uses are not ideal and should be written differently, however, I was more concerned with writing the request as quickly as possible yet still retaining functionality. In it's current state, it probably can't be approved, as there are older methods used that shouldn't be. While it functions as requested, it can certainly be written better (and will be, once time permits), but until then, laugh at it .
Attached Files
File Type: sp Get Plugin or Get Source (zr_killclip.sp - 474 views - 4.1 KB)
File Type: smx zr_killclip.smx (9.7 KB, 314 views)
__________________

Last edited by thetwistedpanda; 09-06-2013 at 00:04.
thetwistedpanda is offline