This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Command Vote v1.01 - n0br41ner


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 11-06-2012 , 16:03   Command Vote v1.01 - n0br41ner
Reply With Quote #1

Command Vote:
-----------------

This plugin will allow the admins to start a command vote whether to execute or not to execute the given command. If most players voted for the execution of the command, the command will be executed on the admins console.

NOTE: this plugin will not be able to check whether the command is valid or not
------


Commands:
-------------
  • amx_commandvote <command> - vote for the execution of the command

Cvars:
--------
  • amx_commandvote_timeleft - time in seconds of the vote (min: 10 - max: 30)
  • amx_commandvote_showvotes - whether to show the choise of each player or not


Installation:
--------------
  • Copy CommandVote.amxx to cstrike/addons/amxmodx/plugins
  • Go to cstrike/addon/amxmodx/configs/plugins.ini and add: CommandVote.amxx


Modules:
----------

amxmodx


Credits:
---------

None


Change Log:
--------------

1.0: 6/November/2012
  • initial release

1.01: 7/November/2012
  • fixed potential bug with menu that can crash the server

7 views reset
Attached Files
File Type: sma Get Plugin or Get Source (CommandVote.sma - 1232 views - 7.3 KB)
__________________

Last edited by n0br41ner; 11-07-2012 at 05:35. Reason: update
n0br41ner is offline
 



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 17:07.


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