No Vote
1 Attachment(s)
Overview
Disables builtin commands in game, that are available via client console: vote (kicking) votemap (mapchange) votekick (kicking) voteban (banning) Only the ADMIN_LEVEL_A (that is flag m) can use them No extra modules requires, should actually work with any mod under Half-Life. Installation Compile or get the .amxx, put the .amxx to plugins directory. Add no_vote.amxx on the end of file AMX Mod X plugins.ini. Change map. Updates Future releases - rahter not, because of laziness. Extra info Change ADMIN_LEVEL_A to something else, like ADMIN_LEVEL_RCON so only very powerful admins can use it, and recompile (of course) and update with new .amxx Notice: should work with AMX Mod aswell, after changing <amxmodx> to <amxmod> |
Re: No Vote
Nice one! that should stop noobs from vote kick players for no good reason.
|
Re: No Vote
Can u make cvars for every one of those commands? like
amx_votekick_public 1/0 amx_voteban_public 1/0 amx_votemap_public 1/0 amx_bantime Default: 30 and is it possible to make these chat commands? |
Re: No Vote
1. cvars, maybe in a weekend
2. what say commands? |
Re: No Vote
Like instead of going in th e console, say something like /votemap in chat and it will trigger the console command.
|
Re: No Vote
there are other plugins for that, like voteaccess
|
Re: No Vote
If you make each vote setting use a separate CVAR to determine who has access to the command, it'll be approved. It's too constricted as is.
I suggest something like voteaccess_votemap and then having the user supply the the admin flags that have access to that command. I have some code that could help you if you need it. It also wouldn't hurt, but is not needed for approval, to add say commands for the votes. Yes, other plugins do that but your plugin would still be unique because of providing the ability to restrict the commands to certain levels. |
Re: No Vote
doesn't block commands in cz for some reason
PHP Code:
|
Re: No Vote
i would also like to stop players from typing "staus" in console. Could someone add it to the plugin?
+karma!! |
Re: No Vote
Quote:
Code:
/* AMX Mod script. |
All times are GMT -4. The time now is 22:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.