Raised This Month: $32 Target: $400
 8% 

[INS] Enemy down!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bolinux
Member
Join Date: Jul 2007
Plugin ID:
845
Plugin Version:
Plugin Category:
All
Plugin Game:
Insurgency (Mod)
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 05-01-2009 , 18:46   [INS] Enemy down!
    Reply With Quote #1

    A tiny plugin for Insurgency which adds a death scream to the victim.

    This is only tested with Insurgency but it should work with any mod, please tell me if it works well with other mods also.

    Cvars

    ins_enemydown "1" // 1/0 = Plugin on/off
    ins_enemydown_sound "player/pain/minorpain7.wav" // default sound can be replaced with any sound.

    If you adding a custom sound, you need to upload it to eg. sound/death/mysound.mp3 and add the cvar ins_enemydown_sound "death/mysound.mp3" in cfg/sourcemod/sourcemod.cfg.


    Installation

    Download ins_enemydown.smx and upload to the addons/sourcemod/plugins/ folder, restart the server cause the sound file needs to be precached.

    Thanks to

    Tsunami @ #hlxce

    Changelog

    - 1.0 - Created plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (ins_enemydown.sp - 1332 views - 1.5 KB)

    Last edited by psychonic; 03-23-2010 at 12:34. Reason: Reason: changed "game" field to newly created Insurgency category
    bolinux is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 05-16-2009 , 01:55   Re: [INS] Enemy down!
    Reply With Quote #2

    there is no point in using switch condition in your plugin. just use if(GetConVarInt(cvarMode))
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 15:30.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode