Plugin Info:
|
Modification: ALL
Category: Gameplay
Approver: GHW_Chronic (70)
|
Veteran Member
|
11-24-2006
, 09:10
Vote Weapons
|
#1
|
Vote Weapons
Last update: 12 December 2006
Description
With this plugin all players will be able to start a vote about Pistols, SMGs, Rifles, Shotguns, Machinegun and Knife.
At first it was 5 plugins but godlike made it into one.
Installation
The .amxx goes into ./amxmodx/plugins/
The .txt goes into ./amxmodx/data/lang/
User commands
//smgvote
say votesmgs
say /votesmgs
//pistolvote
say votepistols
say /votepistols
//riflevote
say voterifles
say /voterifles
//shotgunvote
say voteshotguns
say /voteshotguns
//machinegunvote
say votemachineguns
say /votemachineguns
//knifevote
say voteknives
say /voteknives
Admin Commands
amx_votemachineguns
amx_voteshotguns
amx_votesmgs
amx_votepistols
amx_voterifles
amx_voteknives
Cvars
amx_smgvote <1|0> Allow smg vote? (default 1)
amx_pistolvote <1|0> Allow pistol vote? (default 1)
amx_riflevote <1|0> Allow rifle vote? (default 1)
amx_shotgunvote <1|0> Allow shotgun vote? (default 1)
amx_machinegunvote <1|0> Allow machinegun vote? (default 1)
amx_knifevote <1|0> Allow knife vote? (default 1)
amx_admintovote <1|0> Decides wether the user shall have admin access to vote or not (default 0)
amx_votetime <float value> Decides how long the vote should be. (default 20.0)
_____________________________________
Changelog
v2.3
-Added Multi-Lingual Support. Post translations here
v2.2
-Added knife vote
-Cleaned up the code a bit
v2.1c
-Changed the most if statements to switch statements
-Made it look a bit cleaner
-Reduced file size with 3 kb
v2.1b
-Changed the if(key) statements to switch(key).
v2.1
-Made the code look cleaner.
-Made it into one plugin of Brad's request.
v2.0
-Added plugin where only admins can start the votes.
-Added a delay so the players can't vote if they've already started a vote during the last 120 seconds (two minutes).
-Added so they can't start a vote if they're already voting.
-Fixed some bugs with the plugin.
v1.1
-Changed all the cvars to pcvars and added pcvars "votemachinegun",
"voteshotgun", "votesmg", "votepistol" and "voterifle".
_____________________________________
Enjoy!
Translations
English (mateo10)
Swedish (mateo10)
German (D o o m)
Spanish (KylixMynxAltoLAG)
Polish (trawiator)
AMX MOD X VERSION 1.70 IS NEEDED FOR THIS PLUGIN
Last edited by mateo10; 12-15-2006 at 16:06.
|
|
|
|