Raised This Month: $ Target: $400
 0% 

How to disable thigs from amxsuper?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 02-05-2012 , 09:47   Re: How to disable thigs from amxsuper?
Reply With Quote #2

Editing the menu would be hard
but you can disable the command instead.

That way the menu will maybe work with the other gag plugin because
the menu executes the command with the params on the player that has chosen it.

To disable gag, look in amx_super50-serious.sma & find these lines:
PHP Code:
    register_concmd("amx_gag",         "CmdGag",         ADMIN_LEVEL_A"<nick, #userid or authid> <a|b|c> <time> - Flags: a = Normal Chat | b = Team Chat | c = Voicecomm");
    
register_concmd("amx_ungag",     "CmdUngag",     ADMIN_LEVEL_A"<nick, #userid or authid>"); 
And comment them like this:
PHP Code:
/*
    register_concmd("amx_gag",         "CmdGag",         ADMIN_LEVEL_A, "<nick, #userid or authid> <a|b|c> <time> - Flags: a = Normal Chat | b = Team Chat | c = Voicecomm");
    register_concmd("amx_ungag",     "CmdUngag",     ADMIN_LEVEL_A, "<nick, #userid or authid>");
*/ 

Edit: I just noticed that the command parameters in xPaw's plugin are arrange other then our command.
If you want, i can edit it to work with the menu.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.

Last edited by drekes; 02-05-2012 at 09:49.
drekes is offline
Send a message via MSN to drekes
 



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 19:30.


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