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

Command Vote v1.01 - n0br41ner


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 1227 views - 7.3 KB)
__________________

Last edited by n0br41ner; 11-07-2012 at 05:35. Reason: update
n0br41ner is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 11-08-2012 , 09:59   Re: Command Vote v1.01 - n0br41ner
Reply With Quote #2

ٍSuggestion:
Many players don't know what the voted command do, so, you could add a command description arg.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 11-29-2012 , 10:08   Re: Command Vote v1.01 - n0br41ner
Reply With Quote #3

Sorry for the late reply, forgot to subscribe to the thread.

Anyway, don't you think commands are self explanatory?
__________________
n0br41ner is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 12-01-2012 , 15:02   Re: Command Vote v1.01 - n0br41ner
Reply With Quote #4

Quote:
Originally Posted by n0br41ner View Post
Sorry for the late reply, forgot to subscribe to the thread.

Anyway, don't you think commands are self explanatory?
You'd be surprised how many people there are that don't know even the most simple things.
__________________
No salvation. Only madness.
P1raten is offline
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 12-02-2012 , 04:54   Re: Command Vote v1.01 - n0br41ner
Reply With Quote #5

I will try and look into it, right now i am super busy with other stuff.
__________________
n0br41ner 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 07:20.


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