[CS:GO] Overtime Plugin request
Hello, I'm using this plugin but it does not work.
On round 28 nothing shows up and no errors. Can someone pls help PHP Code:
|
Re: [CS:GO] Overtime Plugin request
But why do you need a plugin to run an Overtime ?, most PUG 5x5 plugins already include this in the configuration.
|
Re: [CS:GO] Overtime Plugin request
I run a community competitive server where I want to give users the option to have overtime or not.
The plugin unfortunately does not work. Do you maybe know why or possibly have a working one? |
Re: [CS:GO] Overtime Plugin request
Quote:
The Warmod BFG plugin already has this feature included, if players want to play OverTime, just use !ot to activate the feature. If no one types this, the game will end in a draw, as well as the standard competitive valve. And no, I don't know of an overtime plugin, why doesn't it make sense to have one if it already comes with competitive plugins. |
Re: [CS:GO] Overtime Plugin request
But that's not the point of the plugin at all. I'm trying to let the players vote for overtime when round 28 starts with the menu. If that works get more then 50% yes to have overtime otherwise a draw. With just typing !OT you instantly active overtime which I'm not trying to achieve.
|
Re: [CS:GO] Overtime Plugin request
Quote:
PHP Code:
|
Re: [CS:GO] Overtime Plugin request
Thank you, this works perfectly!
I have one question. Is it possible to let most votes count. So if 3 people do yes and 2 people do no it will go into overtime. |
Re: [CS:GO] Overtime Plugin request
Quote:
If no overtime occurs after a tie, just change (at line 32): Code:
if (StrEqual(item, "yes", false)) Code:
if (StrEqual(item, "yes", false) || (item_info[0][VOTEINFO_ITEM_VOTES] == item_info[1][VOTEINFO_ITEM_VOTES])) |
Re: [CS:GO] Overtime Plugin request
Oh thanks! Is there a way to check that specificaly? For example when the voting is done it says like X% voted yes for overtime in chat.
|
Re: [CS:GO] Overtime Plugin request
Does it not already says that?
You can try to add: Code:
int percentage = RoundToNearest((float(item_info[0][VOTEINFO_ITEM_VOTES]) / float(num_votes)) * 100); |
All times are GMT -4. The time now is 00:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.