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

[CSGO] Vote system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BoBzY
AlliedModders Donor
Join Date: Aug 2010
Location: Bruxelles
Old 08-23-2012 , 04:11   [CSGO] Vote system
Reply With Quote #1

Hello,

someone know how to detect these vote & cancel/block them or smth?

I search since sometime, found nothing.

Thanks
BoBzY is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-23-2012 , 06:04   Re: [CSGO] Vote system
Reply With Quote #2

Probably like l4d2. AddCommandListener to callvote. get the cmd argstrings, use strequal and
block the vote(s) using return Plugin_Handled;

There are probably cvars to block votes aswell but all I know is the sv_allow_votes cvar, if you set it to 0 you disable all kind of voting.

Last edited by Visual77; 08-23-2012 at 06:07.
Visual77 is offline
BoBzY
AlliedModders Donor
Join Date: Aug 2010
Location: Bruxelles
Old 08-23-2012 , 06:59   Re: [CSGO] Vote system
Reply With Quote #3

I'll try it so.

Thanks for help Visual77 :-)

About cvar, I want to block vote kick against administrator, that all

e:

Confirmed, it work

thanks =)

Last edited by BoBzY; 08-23-2012 at 08:04.
BoBzY is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-23-2012 , 09:12   Re: [CSGO] Vote system
Reply With Quote #4

You can use either cvarlist sv_vote_issue or find sv_vote_issue to find the cvars for the individual votes.

As far as I can tell, the voting system is almost an exact copy of the TF2 vote system with some new votes added.

For TF2, the cvars I know exist are:

sv_vote_issue_nextlevel_allowed - 1 allows both Nextlevel votes and the automatic end of map vote.
sv_vote_issue_changelevel_allowed - 1 allows Change Level vote
sv_vote_issue_kick_allowed - 1 allows Kick votes
sv_vote_issue_scramble_teams_allowed - 1 allows Team Scramble vote... may have been extended for Swap Team votes.
sv_vote_issue_restart_game_allowed - 1 allows Restart Game vote.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-23-2012 at 09:13. Reason: Lick Votes? Ew... Kick, not Lick.
Powerlord is offline
BoBzY
AlliedModders Donor
Join Date: Aug 2010
Location: Bruxelles
Old 08-23-2012 , 17:28   Re: [CSGO] Vote system
Reply With Quote #5

Quote:
Originally Posted by Powerlord View Post
You can use either cvarlist sv_vote_issue or find sv_vote_issue to find the cvars for the individual votes.

As far as I can tell, the voting system is almost an exact copy of the TF2 vote system with some new votes added.

For TF2, the cvars I know exist are:

sv_vote_issue_nextlevel_allowed - 1 allows both Nextlevel votes and the automatic end of map vote.
sv_vote_issue_changelevel_allowed - 1 allows Change Level vote
sv_vote_issue_kick_allowed - 1 allows Kick votes
sv_vote_issue_scramble_teams_allowed - 1 allows Team Scramble vote... may have been extended for Swap Team votes.
sv_vote_issue_restart_game_allowed - 1 allows Restart Game vote.

Yes, but as I said, player can kick admin with this vote.

I just need this to protect them
BoBzY is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-23-2012 , 17:36   Re: [CSGO] Vote system
Reply With Quote #6

Quote:
Originally Posted by BoBzY View Post
Yes, but as I said, player can kick admin with this vote.

I just need this to protect them
Assuming that CS:GO still uses callvote Kick, Basic Votekick Vote Immunity should work on it.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-23-2012 at 17:37.
Powerlord is offline
testoverride
Junior Member
Join Date: Sep 2012
Old 09-19-2012 , 14:32   Re: [CSGO] Vote system
Reply With Quote #7

Disable csgo voting and use sm voting?
testoverride is offline
weeb1e
SourceMod Donor
Join Date: Sep 2011
Old 09-19-2012 , 16:58   Re: [CSGO] Vote system
Reply With Quote #8

Quote:
Originally Posted by testoverride View Post
Disable csgo voting and use sm voting?
The legacy radio menus have many bugs in CS:GO
weeb1e 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 22:44.


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