View Single Post
Author Message
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 10-14-2008 , 06:05   [Hidden:Source] Friendly Fire Radio
Reply With Quote #1

Written for Hidden:Source Beta 4b

Code:
/*
 * Hidden:SourceMod - Friendly Radio
 *
 * Description:
 *  IRIS call out when attacked by teammates.
 *  The victim names their attacker.
 *
 * Cvar:
 *  sm_flood_time [seconds] : time between text messages. Default: 0.75
 *  hsm_ffire_named [0|1] : Does the victim name their attacker? 0: No, 1: Yes. Default: 1
 *
 * Changelog:
 *  v1.0.3
 *   Removed dependancy of hsm/hsm.sp
 *   Removed link to hdn_radio_limit since the audio message already goes out via radio and that is already linked.
 *  v1.0.2
 *   Moved audio output to radio message so incidator appears on IRIS's HUD.
 *   There is no text reply with this radio call however. That is still handled elsewhere to preserve attacker naming.
 *  v1.0.1
 *   Fixed bug where attacker would say the text message instead of the vicitm. - thx -SM-Sucker (The Dark Prince)
 *  v1.0.0
 *   Initial Release.
 *
 */
Attached Files
File Type: sp Get Plugin or Get Source (hsm_ffire.sp - 2340 views - 6.0 KB)
__________________
Live and learn or die and teach by example.
Plugins Mine | Hidden:SourceMod

Last edited by psychonic; 03-23-2010 at 12:16. Reason: Reason: changed "game" field to newly created category "The Hidden"
paegus is offline