Raised This Month: $ Target: $400
 0% 

Pls help me with adminchat code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Apokalipsisa
Member
Join Date: May 2012
Old 08-25-2012 , 13:03   Pls help me with adminchat code
Reply With Quote #1

Hi,i am from Bulgaria and i am sry for my bad english.Pls someone give an example code-when player type on team_say then he types "@" and he start to right in the admin chat.Example: there is hacker in the server,someone press "U" (team_say) then press "@" and when he right no body see what he has type.Only the admins see it on their chat.I hope you understand what i want from my super english Thank you
Apokalipsisa is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 08-25-2012 , 15:35   Re: Pls help me with adminchat code
Reply With Quote #2

I wrote a plugin that grabs chat phrases, checks prefixes, and then prints accordingly.

Check out amx_pm Private Message (by liverwiz) in the new plugins section.
You might learn something from that code.

Feel free to ask any quesitons.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 08-25-2012 at 17:27.
Liverwiz is offline
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 08-25-2012 , 16:39   Re: Pls help me with adminchat code
Reply With Quote #3

Quote:
Originally Posted by Apokalipsisa View Post
Hi,i am from Bulgaria and i am sry for my bad english.Pls someone give an example code-when player type on team_say then he types "@" and he start to right in the admin chat.Example: there is hacker in the server,someone press "U" (team_say) then press "@" and when he right no body see what he has type.Only the admins see it on their chat.I hope you understand what i want from my super english Thank you
You can use adminchat.sma as example wich is included in AMXX.
gogicaa is offline
Reply


Thread Tools
Display Modes

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 05:50.


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