View Single Post
Author Message
rodipm
Member
Join Date: Feb 2011
Location: Brazil
Old 11-18-2011 , 20:28   [CS:S] Grenade Drop (he, flash, smoke)
Reply With Quote #1

Description:

This is a very(very very) simple plugin that allows you to drop your grenades, like HEs, smokes and flashbangs.

Cvar:

- "gd_dropknife" -> Allows you to drop your knife too. 0 - Don't drop | 1 - Drop / default: "gd_dropknife 0"

Requires:

- Only sourcemod 1.4

Install:

- Just put the smx file in your addons/plugins folder!


Changelog:

- Changed from RegConsoleCmd to AddCommandListener
- Added a check for "m_hActiveWeapon" is a valid edict
- Added a Cvar to allow you to drop your knife
- Fixed both flashbang dropping.

Thank you guys TnTSCS, Dr!fter, and GrO very much!!


Enjoy
Attached Files
File Type: sp Get Plugin or Get Source (grenadedrop.sp - 3680 views - 2.4 KB)

Last edited by rodipm; 11-26-2011 at 09:47.
rodipm is offline