[FIXED]
FIXED
|
Re: Disable votemap for X amount of time, when new map starts.
What functionality are you using to start a map vote? What plugin is it from? Ideally, it will be implemented in the plugin that provides the functionality but it might be possible to create a plugin that blocks the command for the specified amount of time but we'd need to know the function you're using.
|
Re: Disable votemap for X amount of time, when new map starts.
Fixed. Please close the topic.
|
Re: Disable votemap for X amount of time, when new map starts.
1 Attachment(s)
I've added what you want. I even added a cvar that you can change the 10 minutes to whatever value you want (amx_votemapcmd_delay "10").
I'm not able to compile it because you have some custom include files that I don't have but I think it should compile fine. |
Re: Disable votemap for X amount of time, when new map starts.
I totally forgot to tell you, if its possible to remove that include <xpmod> and all the functions with it. I don't really use it anymore. Sorry for not saying earlier.
I get this error when compiling, maybe its because of the xpmod include? https://i.imgur.com/AdsT1kz.png |
Re: Disable votemap for X amount of time, when new map starts.
I've updated the attachment to fix my typo and remove the xpmod stuff.
|
Re: Disable votemap for X amount of time, when new map starts.
Quote:
|
Re: Disable votemap for X amount of time, when new map starts.
I don't ever do color chat myself but I believe you can replace "client_print(id, print_chat" with "ColorChat(id, TEAM_COLOR" on the line that prints the text you requested.
As for your other request, I don't really have time to add that kind of functionality to the plugin right now. Maybe someone else will be able to do it. |
Re: Disable votemap for X amount of time, when new map starts.
Okay thanks, you can close this topic! :)
|
Re: Disable votemap for X amount of time, when new map starts.
Quote:
|
Re: Disable votemap for X amount of time, when new map starts.
I have no idea what you just said (I don't know anything about blockmaker stuff). I changed very few things so I would not expect that I would have significantly changed the plugin's behavior.
Your request to remove xpmod.inc required me to remove the bm_set_future_layout() functions which I can only guess is what is causing the issue. I've re-updated the previously attached plugin to add back the xpmod stuff. I also made the change for color chat for the chat message that I added as part of your original request. |
| All times are GMT -4. The time now is 11:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.