Raised This Month: $ Target: $400
 0% 

emit_sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-21-2015 , 12:36   Re: emit_sound
Reply With Quote #2

Code:
#define MAX_SOUNDS 3 new g_current_sound = MAX_SOUNDS - 1 new Sounds[MAX_SOUNDS][64] = {"son/sound0.wav", "son/sound1.wav", "son/sound2.wav"} ............ stock next_sound_to_play() {     g_current_sound = ( g_current_sound + 1 ) % MAX_SOUNDS     return g_current_sound } ............ emit_sound(player, CHAN_VOICE, Sounds[next_sound_to_play()], 1.0, ATTN_NORM, 0, PITCH_NORM)
addons_zz 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 18:05.


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