AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Admin Custom Votes (https://forums.alliedmods.net/showthread.php?t=172208)

Tylerst 11-17-2011 02:06

Admin Custom Votes
 
1 Attachment(s)
Admin Custom Votes(1.0.0)
Description: Create a custom vote and execute the result.

Cvars(default values shown):
sm_acvote_version "1.0.0"
sm_acvote_log "1" - Enable/Disable(1/0) Logging custom admin votes


Commands:
sm_acvote "command" "title" "choice1" "choice1title" "choice2" "choice2title" "choice3" "choice3title" "choice4" "choice4title" "choice5" "choice5title" - Default Vote Flag(k)
--You must have at least the command, title, choice1, choice1title, choice2, and choice2title to create a vote
Note: The command is executed on the admin who created the vote, so if the admin doesn't have access to the command it won't work.



Examples:
sm_acvote "sm_cvar mp_disable_respawn_times" "Disable Respawn Time" 1 Yes 2 No

sm_acvote "sm_cvar sv_gravity" "Set gravity to?" 800 Normal 400 Half 1600 Double 0 None

And just for sport :wink:: sm_acvote "sm_kick" "Give a cool present to everyone!" "@!me Suprise! How do you like the cool present?" Yes "" No




Changelog:
Code:

Version 1.0.0 - November 17, 2011
* Initial Release


htcarnage 11-14-2012 13:12

Re: Admin Custom Votes
 
is it possible to integrate a vote into the admin menu so admins can set up only a predetermined list of votes?


All times are GMT -4. The time now is 23:31.

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