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
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-12-2012 , 12:46   Re: Clcmd disappears when it is used in another plugin?
Reply With Quote #9

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.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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