View Single Post
Author Message
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 04-22-2012 , 03:08   [CS:S] Fire in the hole! : Show grenade type
Reply With Quote #1

Fire in the hole! : Show grenade type

v. 1.0.1

Click image for larger version

Name:	example.png
Views:	5664
Size:	42.8 KB
ID:	102575

Features :
  • When a grenade is being thrown, show the grenade type after the "Fire in the hole!" message.
  • Can be useful to know who flashed (not necessarily YOU being flash; i.e. if someone complain).

Known bugs/exploits :
  • None at the moment. Please report if you find any.

CVars :
  • grenadetypeversion: Gives version -_-'
  • -------------------------
  • grenadetype_hegrenadename : Name of HE grenades ("HEGrenade" by default).
  • grenadetype_flashbangname : Name of flashbangs ("Flashbang" by default).
  • grenadetype_smokename : Name of smoke grenades ("Smoke" by default).

Notes :
  • Place "fireintheholegrenadetype.phrases.txt" in "translations" folder. (Yes it may seems dumb ; but I had to manually rewrite 'Fire in the hole!'.)

--------------

Credits to :
  • psychonic and KyleS for general and "User Message" help on IRC
  • javalia, for his stock function (to send radio command); a 2nd time ;)
  • grif_ssa for originally doing this which gave me a good starting point ("User Message" presentation is weak in SM I think).
  • Translators :
    Spoiler
  • Thanks to Impact123 for reporting bad name (1.0.0 to 1.0.0b).
  • Thanks to baijiaqing for reporting spectators bug (1.0.0b to 1.0.1).

Changelog :
  • 1.0.0 Initial release. (22-04-2012)
  • 1.0.0b Renamed plugin. (19-05-2012)
  • 1.0.1 Fixed radio message not showing to spectators. (06-06-2012)
  • Approved by Peace-Maker. (31-12-2014).
Attached Files
File Type: txt fireintheholegrenadetype.phrases.txt (979 Bytes, 1786 views)
File Type: sp Get Plugin or Get Source (fireintheholegrenadetype.sp - 3430 views - 6.2 KB)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 02-25-2015 at 20:44. Reason: 110v+40; 1.0.1 is out
RedSword is offline