Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-------------------------------------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------------------------------------*/
- local PLUGIN = {}
- PLUGIN.Title = "Veto"
- PLUGIN.Description = ""
- PLUGIN.Author = "Frankess"
- PLUGIN.ChatCommand = "veto"
- function PLUGIN:Call( ply )
- if ( ply:EV_HasPrivilege( "Veto" ) ) then
- if GetConVarNumber("ev_votemap_inprogress") == 1 then
- RunConsoleCommand("EV_VetoVoteMap")
- elseif GetConVarNumber("ev_votekick_inprogress") == 1 then
- RunConsoleCommand("EV_VetoVoteKick")
- else
- evolve:Notify( ply, evolve.colors.red, "There is nothing to veto!")
- return
- end
- evolve:Notify( evolve.colors.blue, ply:Nick(), evolve.colors.red, " has vetoed!" )
- else
- evolve:Notify( ply, evolve.colors.red, evolve.constants.notallowed )
- end
- end
- evolve:RegisterPlugin( PLUGIN )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement