Raised This Month: $ Target: $400
 0% 

Clcmd disappears when it is used in another plugin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-13-2012 , 13:41   Re: Clcmd disappears when it is used in another plugin?
Reply With Quote #10

Quote:
Originally Posted by ConnorMcLeod View Post
If you have the code source of the other plugin, open the drop cmd callback, and instead of return PLUGIN_HANDLED, put return PLUGIN_HANDLED_MAIN, it will block the command from being sent to the game, but other plugins will be able to catch it. Do the same in your plugin.
Or if you want that players can drop their weapons, put in both : return PLUGIN_CONTINUE.
My question is out of context of this thread, but relevant to another on the forum. (one i'm still trying to figure out) Will using PLUGIN_HANDLED_MAIN work in the case of showing an X when someone does damage to an opponent? Link to my code....
http://forums.alliedmods.net/showthread.php?t=184082
Liverwiz is offline
 



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 00:27.


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