Raised This Month: $ Target: $400
 0% 

Emit Sound or Ambient Sound question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 12-15-2014 , 23:27   Re: Emit Sound question
Reply With Quote #1

Code:
engfunc(EngFunc_EmitAmbientSound, PLAYER_id, ENTITY_fOrigin, g_szBombSounds[0], 0.5, ATTN_NORM, 0, PITCH_NORM);
Individual Player hear sample everywhere. ENTITY_fOrigin not works.

Code:
engfunc(EngFunc_EmitAmbientSound, ENTYTY_id, ENTITY_fOrigin, g_szBombSounds[0], 0.5, ATTN_NORM, 0, PITCH_NORM);
All players hear sample only in ENTITY radius. ENTITY_fOrigin works.
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 12-15-2014 , 23:30   Re: Emit Sound question
Reply With Quote #2

Why i need this? Because when player goes on from samples' radius and back up sound not played.
ZASTRELIS is offline
Reply



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 15:29.


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