Raised This Month: $ Target: $400
 0% 

Play sound.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rexonspix
Junior Member
Join Date: Oct 2005
Location: Denmark
Old 10-26-2005 , 09:49   Play sound.
Reply With Quote #1

Hi guys.
I maded this object_jukebox, but how can i do so it play a sound there?
i know for a player it would be
Code:
emit_sound(id, CHAN_VOICE, "sound.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
but how can i do so it plays at the jukebox called object_jukebox?
Rexonspix is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-26-2005 , 15:16  
Reply With Quote #2

Code:
new ent = find_ent_by_class(-1,"object_jukebox"); if(is_valid_ent(ent))    emit_sound(ent,...);
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 23:42.


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