Spec Message for dead players
When a player is dead but spectating to someone, itīs able to recieve a MSG_SPEC message or I have to use MSG_ALL/MSG_BROADCAST?
|
Re: Spec Message for dead players
You could just test that out.
Still, the info on that define says something else: Quote:
|
Re: Spec Message for dead players
Tested and donīt work :P
I must use MSG_ALL/BROADCAST |
Re: Spec Message for dead players
For clients, use MSG_ONE_UNRELIABLE for specific player, and MSG_BROADCAST if you want the message to be sent to all players in 1 time. Alive player status is not taken in account.
|
Re: Spec Message for dead players
Thanks, but what is the difference between reliable and unreliable?
|
Re: Spec Message for dead players
S34Qu4K3
MSG_ONE_UNRELIABLE and MSG_BROADCAST may be ignored by server/client if server/client channel is overloaded. MSG_ONE and MSG_ALL will always be delivered. Sending too much reliable messages will cause "reliable channel overflow" error - never use MSG_ONE or MSG_ALL in such functions like Ham_TakeDamage/FM_PlayerPreThink. |
Re: Spec Message for dead players
Lots of thanks SonicSoniedit =)
|
Re: Spec Message for dead players
You're welcome.
|
| All times are GMT -4. The time now is 04:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.