Raised This Month: $ Target: $400
 0% 

Looking for the driving sounds and how to access them.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-29-2007 , 04:12   Re: Looking for the driving sounds and how to access them.
Reply With Quote #5

I don't know if there is a better way, but in entity-think you can play the sound and set the next think at the end of the time the sound needs to play!?

Or in emit_sound there is a stop-flag (1<<5) maybe there is a flag for loop the sound!?
PHP Code:
#define SND_STOP (1<<5) 
PHP Code:
emit_sound(g_recharge_id[r], CHAN_WEAPON"HealthArmor-Stations/ArmorRecharge.wav"1.0ATTN_NORMSND_STOPPITCH_NORM); 
I needed this flag because this sound i used loop indefinitely...

greetz regalis
__________________
regalis is offline
 



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:24.


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