Raised This Month: $ Target: $400
 0% 

music_dynamic_stop_playing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 08-26-2012 , 17:27   music_dynamic_stop_playing
Reply With Quote #1

me again with new problem.
Does anyone know when the code below get executed, every time i dead and the next round begun the same sound dont play anymore

PHP Code:
stock StopSmokerSounds(client)
{
    
ClientCommand(client"music_dynamic_stop_playing Event.SmokerChoke");
    
ClientCommand(client"music_dynamic_stop_playing Event.SmokerChokeHit");
    
ClientCommand(client"music_dynamic_stop_playing Event.SmokerDrag");
    
ClientCommand(client"music_dynamic_stop_playing Event.SmokerDragHit");

__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-04-2012 , 09:47   Re: music_dynamic_stop_playing
Reply With Quote #2

There we go.. i have a.. well how to say this.. i dont speak programmer language so i try english..

when i try to google how to stop sound that are not precached, page only bring me here by AutomiStryker. The only page that tell me how to stop sound, other than that is a ton of question on how to stop a sound. When i use that methood i discover that we also can play sound that are not precached.

1) Event sound that are not preched. can be played like this.
PHP Code:
ClientCommand(client"music_dynamic_play Event.SmokerChoke"); 
2) and can be stop like this.
PHP Code:
ClientCommand(client"music_dynamic_stop_playing Event.SmokerChoke"); 

3) also can be play like this again without precached.
PHP Code:
ClientCommand(client"play @#music/pzattack/Asphyxiation.wav"); 
4) and can be stoped like this.
PHP Code:
ClientCommand(client"stopsound @#music/pzattack/Asphyxiation.wav"); 
So my noob Q is what is the different between the mentioned above code between them. What the different between them and EmtSoundToAll() with precached .wav.

EDIT: All of them is the same music.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 09-04-2012 at 09:57.
GsiX is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-04-2012 , 09:58   Re: music_dynamic_stop_playing
Reply With Quote #3

what game exactly... ? (Helps a lot for everyone)
Bacardi is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-04-2012 , 09:59   Re: music_dynamic_stop_playing
Reply With Quote #4

L4D2.. please anyone try explain it to the comunity..
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX 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 10:27.


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