Raised This Month: $ Target: $400
 0% 

Ignore All Cs Radio Sound [HELP]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Freedom
Member
Join Date: Jun 2010
Location: Turkey/Istanbul
Old 07-31-2010 , 06:32   Ignore All Cs Radio Sound [HELP]
Reply With Quote #1

!!SOLVED!!
Hi guys..
How can I ignore all of the radio sound?
for example: new round sound.. radio1 radio2 radio3 sounds
I'll write a new mod. I need to ingore them :/

Last edited by Freedom; 08-31-2010 at 07:57.
Freedom is offline
Send a message via MSN to Freedom
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-31-2010 , 07:33   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define VERSION "0.0.1"

#define XO_PLAYER        5
#define m_iRadiosLeft    192

public plugin_init()
{
    
register_plugin("No Radio"VERSION"ConnorMcLeod")

    
RegisterHam(Ham_Spawn"player""Ham_CBasePlayer_Spawn_Post"1)

    
register_clcmd("radio1""ClientCommand_RadioMenu")
    
register_clcmd("radio2""ClientCommand_RadioMenu")
    
register_clcmd("radio3""ClientCommand_RadioMenu")
}

public 
Ham_CBasePlayer_Spawn_Postid )
{
    if( 
is_user_alive(id) )
    {
        
set_pdata_int(idm_iRadiosLeft0XO_PLAYER)
    }
}

public 
ClientCommand_RadioMenuid )
{
    return 
PLUGIN_HANDLED_MAIN

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Freedom
Member
Join Date: Jun 2010
Location: Turkey/Istanbul
Old 07-31-2010 , 09:57   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #3

thx Connor.
so how can I change new round sound and end round sound?
Freedom is offline
Send a message via MSN to Freedom
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 07-31-2010 , 10:14   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #4

Hook SendAudio ...check if sound is ctwin or twin....
5c0r-|3i0 is offline
Freedom
Member
Join Date: Jun 2010
Location: Turkey/Istanbul
Old 07-31-2010 , 10:37   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #5

ok. I'll try =)
Freedom is offline
Send a message via MSN to Freedom
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 07-31-2010 , 10:42   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #6

Take a look at Alternative End Round Sound .
About new round Sound....Try to hook HLTV , then emit sound to a CT/T , or spk....
5c0r-|3i0 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-31-2010 , 12:27   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #7

http://forums.alliedmods.net/showthr...386#post858386

Instead of blocking those radio sounds (round start sounds), change the sounds.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Freedom
Member
Join Date: Jun 2010
Location: Turkey/Istanbul
Old 08-31-2010 , 07:57   Re: Ignore All Cs Radio Sound [HELP]
Reply With Quote #8

thx for help =)
Freedom is offline
Send a message via MSN to Freedom
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 00:15.


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