Raised This Month: $43 Target: $400
 10% 

[ANY] Kill Sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Yaser2007
Junior Member
Join Date: May 2022
Location: Iran
Plugin ID:
8727
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plays a defined sound when player get killed (Idea taken from CS:GO)
    Old 07-19-2024 , 05:55   [ANY] Kill Sound
    Reply With Quote #1

    How to define sound:
    1. Install the plugin.
    2. go to cfg/sourcemod/kill_sound.cfg
    3. set the your sound path without "sound/"

    Note: Sound file is automatically precached and add to downloads string table!

    suicide and kill by world is not affected!
    Attached Files
    File Type: sp Get Plugin or Get Source (kill_sound.sp - 85 views - 1.6 KB)

    Last edited by Yaser2007; 07-19-2024 at 05:57.
    Yaser2007 is offline
    replay_84
    Senior Member
    Join Date: Jun 2021
    Old 07-21-2024 , 08:19   Re: [ANY] Kill Sound
    Reply With Quote #2

    thanks
    replay_84 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 07-24-2024 , 14:10   Re: [ANY] Kill Sound
    Reply With Quote #3

    Maybe it would be better to add a check for the correctness of the path to the sound file, as I did here?
    https://github.com/Grey83/SourceMod-...2.sp#L158-L162
    __________________
    Grey83 is offline
    Reply


    Thread Tools
    Display Modes

    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 21:11.


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