Raised This Month: $ Target: $400
 0% 

env_sound "room_type" set room sound type.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-26-2013 , 14:13   Re: env_sound "room_type" set room sound type.
Reply With Quote #3

About waterroom_type, sounds like it is client side and that it is the way sound is proceeded clientside when you are under water, or something like that.

About room_type, if you would have looked at env_sound code on HLSDK, you would have found that in function void CEnvSound :: Think( void ), message SVC_ROOMTYPE is sent.
Then room_type is cache in player pdata m_flSndRoomtype (const m_flSndRoomtype = 249; // last roomtype set by sound entity).
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:48.


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