Raised This Month: $51 Target: $400
 12% 

Sound and text hook


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 09-30-2008 , 16:15   Sound and text hook
Reply With Quote #1

Hello.
How i can hook start round, end round (Terrorist Win, CT win), "target has been saved", "round draw" sound and text (and replace it with my own).
I want also to hook "Go go go!", 'Ok, let's move out","Lock and Load" sounds and replace it ;].
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).



Last edited by FakeNick; 09-30-2008 at 16:19.
FakeNick is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 10-01-2008 , 08:39   Re: Sound and text hook
Reply With Quote #2

Come on guys, i really need it ;|.
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-01-2008 , 08:43   Re: Sound and text hook
Reply With Quote #3

Search. Already asked many times. ( Suggestions/Requests forum )
__________________
Arkshine is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 10-01-2008 , 08:47   Re: Sound and text hook
Reply With Quote #4

Don't call me noob, but i can't find it ;(.
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 10-01-2008 , 10:37   Re: Sound and text hook
Reply With Quote #5

PHP Code:
register_forward(FM_EmitSound"EmitSound");

// [..]

public EmitSound(entitychannel, const sound[])
{
    for(new 
iSnd 0iSnd MAX_SOUNDSiSnd++) {
        if(
containi(sound"radio/ctwin.wav")) {
            
// aha found ct win sound
        
}
    }

untested
__________________
xPaw is offline
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 10-02-2008 , 11:20   Re: Sound and text hook
Reply With Quote #6

http://forums.alliedmods.net/showpos...50&postcount=2

[X]-RayCat is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 10-02-2008 , 12:45   Re: Sound and text hook
Reply With Quote #7

xPaw - doesn't work ;]
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick 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 17:08.


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