←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

Admin Custom Votes

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 17.11.2011

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
Attached Files Dołączona grafika Get Plugin or Get Source (Admin Custom Votes.sp - 3.6 KB)

Wyświetl pełny artykuł
Odpowiedz