Raised This Month: $ Target: $400
 0% 

How to add sound?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-09-2010 , 14:23   Re: How to add sound?
Reply With Quote #5

Quote:
Originally Posted by eNz0 View Post
if i use:
PHP Code:
emit_sound(0,.....) 
doesn't "0" means that sound will be heard by everybody, with the same voice?

should i use "id" then?

PHP Code:
client_cmd(0"spk yourfolder/yoursound.wav"
is "spk" command heard by everyone? (not the same voice)

I need all this stuff for leap plugin. When player does leap, he shouts.
You would use emit_sound(12, . . .). This will emit the sound from the player in slot 12. Only people close enough to player 12 will be able to hear it.
__________________
fysiks 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 03:52.


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