Raised This Month: $ Target: $400
 0% 

Ambient


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-24-2006 , 18:52  
Reply With Quote #4

Here's what you can do:

Case 1: You want to emit it on all players. Just client_cmd(0,"spk sound.wav")

Case 2: You want to emit it from an ambient generic.

Steps:

1) Create an ambient_generic (create_entity)
2) Set its origin and whatever other properties (entity_set_x, DispatchSpawn)
3) emit_sound on it

I'm not quite sure how to use EF_EmitAmbientSound, I'm guessing it's very similar if not the same as emit_sound.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 16:32.


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