Raised This Month: $ Target: $400
 0% 

message_ questions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-03-2009 , 04:57   Re: message_ questions
Reply With Quote #2

MSG_PVS ( Potentially Visible Set ) and MSG_PAS ( Potentially Audible Set ) is use for filtering network messages to the client. ( From the eye position ).

I.e ; if you send TE_EXPLOSION with MSG_PVS, it means the message will be sent only to clients who are potentially visible from the provided origin. MSG_PAS means it will be sent only to clients who potentially hear the sound from the provided origin. So, It should be used when we can.

MSG_INIT I don't know. MSG_PVS_R and MSG_PAS_R are the reliable version ofr MSG_PVS and MSG_PAS but actually not used ( at least HLSDK doesn't mention about it ) because it should be never reliable since they change from frame to frame. So MSG_PVS and MSG_PAS are fine.
Arkshine 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 01:52.


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