Thread: Weapon Throwing
View Single Post
Snafu.at
Junior Member
Join Date: Feb 2011
Old 09-16-2012 , 17:07   Re: Weapon Throwing
Reply With Quote #55

The Plugin is made by shine771, not by me. I just fixed a few bugs and added the wall-bounce.

Version 1.0.1

  • Added a new cvar:
    Code:
     amx_wp_hurt_self < 0 / 1 > < If 1, players can hurt themselves with a thrown weapon. > < Default: 0 >
  • If friendly fire is enabled it will inflict damage on teammates if you hit them.
  • Added a sound when the weapon bounces off vertical surfaces or overhangs.
  • Stats behave normally since I changed it to call Ham_Killed. Set the damage inflictor to worldspawn, however, to prevent conflicts with plugins checking what weapon the killer is currently holding.
Attached Files
File Type: sma Get Plugin or Get Source (throw_weapons.sma - 786 views - 14.0 KB)
Snafu.at is offline