Raised This Month: $32 Target: $400
 8% 

[CS:GO] Map time vote


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AKAYEE
Junior Member
Join Date: Apr 2020
Old 08-05-2020 , 06:34   [CS:GO] Map time vote
Reply With Quote #1

Hey, I've been searching through the forum and couldn't find the plugin so I thought I would just ask.

I'd like to implement a voting system in the beginning of a map (preferably after 30 secs - 1 minute of the map start),
that allows players to decide how much mp_timelimit there is on the map
(for example, Time vote: 1. 15 minutes, 2. 20 minutes, 3. 30 minutes) and based on voting the server decides which option is best.
It would be awesome if the plugin had cvars or .sp file in which you could change the time vote options.

Thanks in advance!

Last edited by AKAYEE; 08-05-2020 at 07:29.
AKAYEE is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 08-06-2020 , 11:00   Re: [CS:GO] Map time vote
Reply With Quote #2

Quote:
Originally Posted by AKAYEE View Post
Hey, I've been searching through the forum and couldn't find the plugin so I thought I would just ask.

I'd like to implement a voting system in the beginning of a map (preferably after 30 secs - 1 minute of the map start),
that allows players to decide how much mp_timelimit there is on the map
(for example, Time vote: 1. 15 minutes, 2. 20 minutes, 3. 30 minutes) and based on voting the server decides which option is best.
It would be awesome if the plugin had cvars or .sp file in which you could change the time vote options.

Thanks in advance!
The plugin will automatically create a config file called "Map_Time_Vote" where you can set the amount of minutes for each option and some other stuff
Attached Files
File Type: sp Get Plugin or Get Source (VoteTimeLimit.sp - 257 views - 3.8 KB)
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 08-09-2020 , 13:28   Re: [CS:GO] Map time vote
Reply With Quote #3

hello

Code:
L 08/09/2020 - 19:47:14: [SM] Blaming: VoteTimeLimit.smx
L 08/09/2020 - 19:47:14: [SM] Call stack trace:
L 08/09/2020 - 19:47:14: [SM]   [0] Menu.DisplayVote
L 08/09/2020 - 19:47:14: [SM]   [1] Line 375, E:\CLNX\SM COMPILE\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\include\menus.inc::Menu.DisplayVoteToAll
L 08/09/2020 - 19:47:14: [SM]   [2] Line 91, E:\CLNX\SM COMPILE\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\VoteTimeLimit.sp::StartVote
L 08/09/2020 - 19:50:07: Error log file session closed.
XHUNTERX is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 08-09-2020 , 15:06   Re: [CS:GO] Map time vote
Reply With Quote #4

Quote:
Originally Posted by XHUNTERX View Post
hello

Code:
L 08/09/2020 - 19:47:14: [SM] Blaming: VoteTimeLimit.smx
L 08/09/2020 - 19:47:14: [SM] Call stack trace:
L 08/09/2020 - 19:47:14: [SM]   [0] Menu.DisplayVote
L 08/09/2020 - 19:47:14: [SM]   [1] Line 375, E:\CLNX\SM COMPILE\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\include\menus.inc::Menu.DisplayVoteToAll
L 08/09/2020 - 19:47:14: [SM]   [2] Line 91, E:\CLNX\SM COMPILE\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\VoteTimeLimit.sp::StartVote
L 08/09/2020 - 19:50:07: Error log file session closed.
I ran this plugin on my test server with no issues so far. Is it a compile error? or console error?
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 08-10-2020 , 07:53   Re: [CS:GO] Map time vote
Reply With Quote #5

no

XHUNTERX is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 08-10-2020 , 07:55   Re: [CS:GO] Map time vote
Reply With Quote #6

https://prnt.sc/tx48lf

Last edited by XHUNTERX; 08-10-2020 at 07:55.
XHUNTERX is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 08-10-2020 , 08:15   Re: [CS:GO] Map time vote
Reply With Quote #7

Quote:
Originally Posted by XHUNTERX View Post
I think that you tried to compile the plugin with a defective/outdated "menus.inc", try to use the compiled version on your server by using the "Get Plugin" button.
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:

Last edited by SSheriFF; 08-10-2020 at 08:16.
SSheriFF is offline
AKAYEE
Junior Member
Join Date: Apr 2020
Old 08-10-2020 , 16:43   Re: [CS:GO] Map time vote
Reply With Quote #8

Thank you so much @SSheriFF!
AKAYEE is offline
Reply


Thread Tools
Display Modes

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 14:00.


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