[CSGO] Hook map end vote result
How to get the result of this vote end? User message does not work for this specific vote.
The reason I need it is in order to fix a bug that restarts the server to the same map when it passes ( a workaround on a bug I fail to fix ) https://imgur.com/a/ZbG7cDz |
Re: [CSGO] Hook map end vote result
Yes, I'm looking for this, too.
|
Re: [CSGO] Hook map end vote result
You could hook game_end, create a timer from when the game ends till the mapvoting being started.
|
Re: [CSGO] Hook map end vote result
You don't need to code anything ^.^
Add The following in csgo/cfg/gamemode_casual_server.cfg or in your server.cfg! Code:
mp_match_restart_delay 20 EDIT: I did't read your problem well.. but you can keep these convars in your server.cfg and use Map chooser and for chat messages you can use my plugin ( not released.. too simply) PHP Code:
|
Re: [CSGO] Hook map end vote result
Actually, I tried looking for how the server communicates the choices to clients and how the clients communicate their votes back to the server. I never did find it.
As you've said, it doesn't use the vote UserMessages, events, and commands that existed prior to the introduction of the match end map vote. |
Re: [CSGO] Hook map end vote result
PHP Code:
If it doesn't work try `endmatch_mapvote_selecting_map` event (parameters: "count","slot1","slot2","slot3","slot4","slot 5","slot6","slot7","slot8","slot9","slot10 "). I don't know when it's called and i don't know if the parameters are strings or ints. If it's called at every vote, you can start sending your own maps in the vote and then you count the votes. https://forums.alliedmods.net/showthread.php?t=288728 `endmatch_cmm_start_reveal_items` has no parameters. |
All times are GMT -4. The time now is 00:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.