Raised This Month: $ Target: $400
 0% 

Audiomsg Arguments...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 06-26-2009 , 08:59   Audiomsg Arguments...
Reply With Quote #1

Wondering how I can get a list of all the audio messages for Counter-strike so I can block certain ones.

Stuff like terwin, ctwin, rounddraw.
shadow.hk is offline
Send a message via MSN to shadow.hk
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-26-2009 , 09:00   Re: Audiomsg Arguments...
Reply With Quote #2

PHP Code:
register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin"); 
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 06-26-2009 , 09:02   Re: Audiomsg Arguments...
Reply With Quote #3

Quote:
Originally Posted by DruGzOG View Post
PHP Code:
register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin"); 
I know how to hook them, I need a list of the counter-strike audio messages.
shadow.hk is offline
Send a message via MSN to shadow.hk
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-26-2009 , 09:04   Re: Audiomsg Arguments...
Reply With Quote #4

PHP Code:
/* ++++++++++Zombie Zealots++++++++++
+++++++++++++www.zombiezealots.com+++ */
#include <amxmodx>
#include <amxmisc>
#define VERSION "1.20"
public plugin_init()
{
 
register_plugin("Test"VERSION"LeviN");
 
 
register_event("SendAudio""Terrorists_win" "a""2&%!MRAD_terwin");
 
register_event("SendAudio""CounterTerrorists_win""a""2&%!MRAD_ctwin");
}
public 
Terrorists_win()
{
 
client_print(0print_center"Something here");
 return 
PLUGIN_HANDLED;
}
public 
CounterTerrorists_win()
{
 
client_print(0print_center"Something Here");
 return 
PLUGIN_HANDLED;

I dont remember the rounddraw, check in the amxmisc include
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 06-26-2009 , 09:09   Re: Audiomsg Arguments...
Reply With Quote #5

"%!MRAD_rounddraw"
__________________
minimiller is offline
Send a message via MSN to minimiller
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 06-26-2009 , 09:12   Re: Audiomsg Arguments...
Reply With Quote #6

Quote:
Originally Posted by DruGzOG View Post
I dont remember the rounddraw, check in the amxmisc include
...I think you misunderstood me. I know that rounddraw, terwin, and ctwin are sounds you can hook in SendAudio, and I know how to hook them, but I'm looking for a list of other sounds that I can hook. Like the "Alright, let's move out" sound at round-start.
shadow.hk is offline
Send a message via MSN to shadow.hk
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-26-2009 , 09:29   Re: Audiomsg Arguments...
Reply With Quote #7

Ah I see, Thats the only three I know of
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-26-2009 , 18:50   Re: Audiomsg Arguments...
Reply With Quote #8

Run this plugin untill you think all audio msgs has been sent once one your server, then remove it.

Output files exemple (5mins run) :

SendAudio_All.txt
Code:
"%!MRAD_ctwin"
"%!MRAD_terwin"
"%!MRAD_rounddraw"
"%!MRAD_BOMBPL"
"%!MRAD_BOMBDEF"
"%!MRAD_rescued"
SendAudio_One.txt
Code:
"%!MRAD_MOVEOUT"
"%!MRAD_FOLLOWME"
"%!MRAD_NEGATIVE"
"%!MRAD_INPOS"
"%!MRAD_FIREINHOLE"
"%!MRAD_HITASSIST"
"%!MRAD_ENEMYDOWN"
"%!MRAD_AFFIRM"
"%!MRAD_ENEMYSPOT"
"%!MRAD_COVERME"
"%!MRAD_TAKEPOINT"
"%!MRAD_LOCKNLOAD"
"%!MRAD_POSITION"
"%!MRAD_REGROUP"
"%!MRAD_GO"
"%!MRAD_ROGER"
"%!MRAD_FALLBACK"
"%!MRAD_STICKTOG"
"%!MRAD_GETINPOS"
"%!MRAD_STORMFRONT"
"%!MRAD_REPORTIN"
"%!MRAD_REPRTINGIN"
"%!MRAD_BACKUP"
"%!MRAD_CLEAR"
"%!MRAD_BLOW"
"%!MRAD_LETSGO"

Also, have a look at cstrike/sentences.txt (extrait of it):
Code:
// radio sounds
MRAD_GETINPOS radio/com_getinpos
MRAD_GO radio/com_go
MRAD_REPORTIN radio/com_reportin
MRAD_FOLLOWCOM radio/com_followcom
MRAD_AFFIRM radio/ct_affirm
MRAD_BACKUP radio/ct_backup
MRAD_COVERME radio/ct_coverme
MRAD_ENEMYSPOT radio/ct_enemys
MRAD_FIREINHOLE radio/ct_fireinhole
MRAD_IMHIT radio/ct_imhit
MRAD_INPOS radio/ct_inpos
MRAD_POINT radio/ct_point
MRAD_REPRTINGIN radio/ct_reportingin

MRAD_CTWIN radio/ctwin
MRAD_HOSDOWN radio/hosdown
MRAD_LETSGO radio/letsgo
MRAD_LOCKNLOAD radio/locknload
MRAD_MATEDOWN radio/matedown
MRAD_MOVEOUT radio/moveout
MRAD_RESCUED radio/rescued
MRAD_ROGER radio/roger
MRAD_TERWIN radio/terwin
MRAD_ENEMYDOWN radio/enemydown
MRAD_ROUNDDRAW radio/rounddraw
MRAD_ELIM radio/elim
MRAD_GETOUT radio/getout
MRAD_VIP radio/vip

MRAD_BLOW radio/blow
MRAD_BOMBDEF radio/bombdef
MRAD_BOMBPL radio/bombpl
MRAD_CLEAR radio/clear
MRAD_FALLBACK radio/fallback
MRAD_GOGOGO radio/com_go
MRAD_HITASSIST radio/fireassis
MRAD_REGROUP radio/regroup
MRAD_STICKTOG radio/sticktog

MRAD_TAKEPOINT radio/takepoint
MRAD_POSITION radio/position
MRAD_CIRCLEBACK radio/circleback
MRAD_FOLLOWME radio/followme
MRAD_MEETME radio/meetme
MRAD_STORMFRONT radio/stormfront
MRAD_NEGATIVE radio/negative
Attached Files
File Type: sma Get Plugin or Get Source (sendaudio_logger.sma - 1355 views - 2.1 KB)
File Type: zip sentences.zip (6.6 KB, 410 views)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-26-2009 at 19:14.
ConnorMcLeod is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 06-26-2009 , 19:16   Re: Audiomsg Arguments...
Reply With Quote #9

Code:
iType = !!id
wtf ? just to look diferent?
__________________

anakin_cstrike is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-26-2009 , 19:17   Re: Audiomsg Arguments...
Reply With Quote #10

So it only take values 0 (All) and 1 (One).
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
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:41.


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