AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [FIXED] (https://forums.alliedmods.net/showthread.php?t=332689)

tom1kIG 05-27-2021 13:53

[FIXED]
 
FIXED

fysiks 05-27-2021 20:36

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.

tom1kIG 05-28-2021 08:15

Re: Disable votemap for X amount of time, when new map starts.
 
Fixed. Please close the topic.

fysiks 05-28-2021 22:42

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.

tom1kIG 05-29-2021 10:59

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

fysiks 05-29-2021 16:16

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.

tom1kIG 05-29-2021 21:38

Re: Disable votemap for X amount of time, when new map starts.
 
Quote:

Originally Posted by fysiks (Post 2748217)
I've updated the attachment to fix my typo and remove the xpmod stuff.

If possible make the message colored as i requisted. Thanks in advance. And if possible can u make this plugin to work with https://forums.alliedmods.net/showthread.php?p=188898 , so it doesn't change at the moment but to change after the round finish.

fysiks 05-30-2021 01:28

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.

tom1kIG 05-30-2021 10:56

Re: Disable votemap for X amount of time, when new map starts.
 
Okay thanks, you can close this topic! :)

tom1kIG 06-01-2021 08:58

Re: Disable votemap for X amount of time, when new map starts.
 
Quote:

Originally Posted by fysiks (Post 2748249)
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.

Hey, i just found that the plugin is not working as usual. I have blockmaker server and this plugin offers me 2 builds on 1 map, so i can save 1 build name X and the other one XX, and when i make a vote for the map the 2 builds should show with the names.But after the edit you made now it's not showing, but i have the 2 builds on 1 map. It's showing only the default one.

fysiks 06-01-2021 20:31

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.