Quick info about message_begin
I'm not sure whether I can pass 0 as id to message_begin to send a chat message to all players instead of using loop with below code.
Code:
print_color_message(id, msg[]) |
Re: Quick info about message_begin
Code:
#define MSG_BROADCAST 0 // Unreliable to allCode:
|
Re: Quick info about message_begin
Good info buddy. Another thing.. What is difference between unreliable channel and reliable channel ?. What if I use MSG_BROADCAST instead MSG_ALL.
Is it something like reliable channel is guaranteed to reach to client ? |
Re: Quick info about message_begin
Below code seems to be not working with colors where MSG_ONE with a loop for all players works.
Code:
new szPrintTxt[120] |
Re: Quick info about message_begin
you still need write_byte(id), my bad
when players recieve too many messages on reliable channel once they might get disconnected with "reliable channel overflow" error |
Re: Quick info about message_begin
PHP Code:
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 05:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.