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 Get Plugin or Get Source (Admin Custom Votes.sp - 3.6 KB)
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Admin Custom Votes
Temat rozp. Adminek AMXX.PL, 17.11.2011 08:06
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych