Raised This Month: $51 Target: $400
 12% 

[FIXED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tom1kIG
Junior Member
Join Date: May 2021
Old 05-27-2021 , 13:53   [FIXED]
Reply With Quote #1

FIXED

Last edited by tom1kIG; 06-07-2021 at 22:40.
tom1kIG is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-27-2021 , 20:36   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #2

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.
__________________
fysiks is offline
tom1kIG
Junior Member
Join Date: May 2021
Old 05-28-2021 , 08:15   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #3

Fixed. Please close the topic.

Last edited by tom1kIG; 06-08-2021 at 11:04.
tom1kIG is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-28-2021 , 22:42   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #4

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.
Attached Files
File Type: sma Get Plugin or Get Source (mapsmenu_tom1kIG.sma - 56 views - 19.6 KB)
__________________

Last edited by fysiks; 06-01-2021 at 20:49.
fysiks is offline
tom1kIG
Junior Member
Join Date: May 2021
Old 05-29-2021 , 10:59   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #5

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?


Last edited by tom1kIG; 05-29-2021 at 11:09. Reason: Additional Information
tom1kIG is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-29-2021 , 16:16   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #6

I've updated the attachment to fix my typo and remove the xpmod stuff.
__________________
fysiks is offline
tom1kIG
Junior Member
Join Date: May 2021
Old 05-29-2021 , 21:38   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
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.

Last edited by tom1kIG; 05-29-2021 at 21:40.
tom1kIG is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-30-2021 , 01:28   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #8

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.
__________________

Last edited by fysiks; 05-30-2021 at 01:29.
fysiks is offline
tom1kIG
Junior Member
Join Date: May 2021
Old 05-30-2021 , 10:56   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #9

Okay thanks, you can close this topic!
tom1kIG is offline
tom1kIG
Junior Member
Join Date: May 2021
Old 06-01-2021 , 08:58   Re: Disable votemap for X amount of time, when new map starts.
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
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.

Last edited by tom1kIG; 06-01-2021 at 09:28.
tom1kIG is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode