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

Simple Chat Me


Post New Thread Reply   
 
Thread Tools Display Modes
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 02-28-2012 , 06:13   Re: Simple Chat Me
Reply With Quote #21

when im gagging somebody its does nothing. [he can f!c* my brain with /me]
__________________
retired

Last edited by shavit; 02-28-2012 at 06:14.
shavit is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-28-2012 , 10:31   Re: Simple Chat Me
Reply With Quote #22

Quote:
Originally Posted by shavit View Post
when im gagging somebody its does nothing. [he can f!c* my brain with /me]
two posts up... solved this issue of regulars using it.
Horsedick is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-10-2012 , 11:53   Re: Simple Chat Me
Reply With Quote #23

As AeroAcrobat pointed out:
Code:
L 06/10/2012 - 07:33:21: [SM] Native "PrintToChat" reported: Could not send a usermessage
L 06/10/2012 - 07:33:21: [SM] Displaying call stack trace for plugin "simple-chatme.smx":
L 06/10/2012 - 07:33:21: [SM]   [0]  Line 70, C:\Sourcemod\TnTSCS\scripting\simple-chatme.sp::OnChatMessage()
When I added the admin check for the use of the /me, I was trying to notify the client with a PrintToChat - that's not allowed in the OnChatMessage function.

I moved the admin check to the area where it checks if the chat message starts with /me... shouldn't have any issues with this version - changed from a to b

Again, you'll need SMLib and simple-chat-processor to compile.
Attached Files
File Type: sp Get Plugin or Get Source (simple-chatme.sp - 117 views - 4.4 KB)
__________________
View my Plugins | Donate
TnTSCS 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 15:49.


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