Raised This Month: $ Target: $400
 0% 

How to prevent plugin from stripping command_say text


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jmills
Member
Join Date: Aug 2012
Old 09-26-2013 , 21:19   How to prevent plugin from stripping command_say text
Reply With Quote #1

We are running a betting plugin on our server and when people type "bet ct all" or "bet t all" the text is hidden from chat. We would like to make it so that the text the client inputs still prints to chat so that others on the server can see that the plugin is active. I looked through the source code but can't find where it is being stripped from.

Any ideas?

TIA!
__________________

Last edited by Jmills; 09-26-2013 at 21:20.
Jmills is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-26-2013 , 22:41   Re: How to prevent plugin from stripping command_say text
Reply With Quote #2

look for plugin_handled in the event that is hooking the text bet ct all etc
__________________
View my Plugins | Donate
TnTSCS is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 09-26-2013 , 22:44   Re: How to prevent plugin from stripping command_say text
Reply With Quote #3

There bust be a callback for the chat hook somewhere in the code.
Change the return of that hook to Plugin_Continue.

Edit: Too late :C
__________________

Last edited by Impact123; 09-26-2013 at 22:45.
Impact123 is offline
LegoAssembly
Junior Member
Join Date: Oct 2012
Old 09-27-2013 , 23:51   Re: How to prevent plugin from stripping command_say text
Reply With Quote #4

that was the fix indeed... thanks fellas.
LegoAssembly is offline
Jmills
Member
Join Date: Aug 2012
Old 09-28-2013 , 00:22   Re: How to prevent plugin from stripping command_say text
Reply With Quote #5

Yep, thanks much!
__________________
Jmills is offline
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 00:17.


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