Destination types for message_begin()
which is generally better to us?
MSG_BROADCAST or MSG_ALL MSG_ONE_UNRELIABLE or MSG_ONE note that this is for two different cases |
Re: Destination types for message_begin()
I don't think is a general case, depends by usage
Code:
MSG_BROADCAST // Unreliable to all |
Re: Destination types for message_begin()
yes i know, i saw that already just that i dunno when i should use one over the other. would you mind providing me with an example of when you should each?
|
Re: Destination types for message_begin()
Use the reliable ones when you want to make sure the player(s) see what you're sending, at the risk of getting them disconnected. Use unreliable when it doesn't really matter that the player(s) saw it.
|
Re: Destination types for message_begin()
Quote:
i know there's a site for hlsdk but i dont know where to find things like message_begin/ write_byte for referrence.. http://svn.tcwonline.org/viewvc.cgi/hlsdk/?root=amxmodx |
Re: Destination types for message_begin()
inside amxx's source code
|
Re: Destination types for message_begin()
thank you i finally find it at message_const.inc by you hint~~
|
| All times are GMT -4. The time now is 01:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.