Raised This Month: $ Target: $400
 0% 

how to play a sound so everyone hear?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-08-2009 , 04:40   Re: how to play a sound so everyone hear?
Reply With Quote #6

Hook player death and call play_it function from there.
Also the code I pasted plays sound to everyone with same volume, but there is also a way to play sound somewhere in map, so if player dies in some place, other players will hear the sound coming from that place (if they are close enough).
You need to use emit_sound() function for that.
http://www.amxmodx.org/funcwiki.php?go=func&id=282
__________________
Impossible is Nothing
Sylwester 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 23:34.


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