Raised This Month: $51 Target: $400
 12% 

New gungame commands, disabling them


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 09-02-2007 , 13:59   New gungame commands, disabling them
Reply With Quote #1

I run a public server that has multiple pay-to-be admins on the server.

I would like to know if there is a simple way to disable the amx_gungame_level and amx_vote_gungame (Might not be the right command, the one to vote to disable or enable gungame) commands from the plugin completely.
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 09-02-2007 , 16:40   Re: New gungame commands, disabling them
Reply With Quote #2

I would suppose you could delete those commands from plugin_init and recompile.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 09-02-2007 , 17:09   Re: New gungame commands, disabling them
Reply With Quote #3

that would be easy
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 09-02-2007 , 18:28   Re: New gungame commands, disabling them
Reply With Quote #4

<lazy as all hell, i just want the server running without jackasses having the ability to do things that cause me to drop banhammers.
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 09-03-2007 , 00:59   Re: New gungame commands, disabling them
Reply With Quote #5

IT is just this two lines
Code:
register_concmd("amx_gungame_level","cmd_gungame_level",ADMIN_BAN,"<target> <level> - sets target's level. use + or - for relative, otherwise it's absolute.");
register_concmd("amx_gungame_vote","cmd_gungame_vote",ADMIN_VOTE,"- starts a vote to toggle GunGame.");
Change ADMIN_VOTE and ADMIN_BAN to a flag you don't give to temp admins so they cannot start the vote again.
If you are to lazy to do this: start to live with your lazyness ;)
__________________

Mordekay is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 09-03-2007 , 09:42   Re: New gungame commands, disabling them
Reply With Quote #6

Or just delete both those lines...
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode