Raised This Month: $ Target: $400
 0% 

Help Please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
awwhailnaw
Member
Join Date: Jul 2007
Old 07-07-2007 , 16:47   Help Please
Reply With Quote #1

Ok im working on a radio mod for a carmod and i need to know how would i make it so when i get out of the car all the CHAN_STREAM sounds from the radio turn off?
awwhailnaw is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 07-07-2007 , 18:08   Re: Help Please
Reply With Quote #2

In emit_sound() pass '(1<<5)' into the flags argument.

Example:
Code:
emit_sound(id, CHAN_STREAM, "sounds/gaben.wav", VOL_NORM,  ATTN_NORM, (1<<5), PITCH_NORM);
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
awwhailnaw
Member
Join Date: Jul 2007
Old 07-07-2007 , 19:21   Re: Help Please
Reply With Quote #3

thanks much
awwhailnaw 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 21:27.


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