Offset or Flag of Client/Weapon on RoundEnd
The problem:
If the map ends each player gets frozen. I tried to check this state with the movetype offset, but if the players get frozen movetype is still MOVETYPE_WALK. Therefore my questions: Is there a flag or a offset of the weapons or players which indicates such a roundend? Or whatever, I need something which indicates the mapend. Thanks in Advance.:up: |
Re: Offset or Flag of Client/Weapon on RoundEnd
Check their prop m_fFlags for FL_FROZEN
|
Re: Offset or Flag of Client/Weapon on RoundEnd
Quote:
Thank you!:up: I will test it. |
Re: Offset or Flag of Client/Weapon on RoundEnd
Thank you very much, it works perfectly!:up:
++ But I have another question: If some plugins writes HACK_EndMultiplayerGame the event round_end is not fired. Is there another solution for handle HACK_EndMultiplayerGame? Thanks in Advance:up: |
Re: Offset or Flag of Client/Weapon on RoundEnd
Why is it going to fire round_end when that function just ends the map?
|
Re: Offset or Flag of Client/Weapon on RoundEnd
Quote:
I have to print the nextmap on mapend/lastroundend. If GunGame ends the map because of the winner then the event round_end is not fired. And therefore I have no chance to handle the mapending. Therefore I need a solution for handling the mapend. Thanks in Advance!:up: |
Re: Offset or Flag of Client/Weapon on RoundEnd
Quote:
|
Re: Offset or Flag of Client/Weapon on RoundEnd
Yes, but I think nobody want to edit all their plugins only because of using nextmapinfo.
But thanks anyway. You brought me to another solution. |
| All times are GMT -4. The time now is 20:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.