AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Pls help me with adminchat code (https://forums.alliedmods.net/showthread.php?t=194126)

Apokalipsisa 08-25-2012 13:03

Pls help me with adminchat code
 
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 :D Thank you

Liverwiz 08-25-2012 15:35

Re: Pls help me with adminchat code
 
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.

gogicaa 08-25-2012 16:39

Re: Pls help me with adminchat code
 
Quote:

Originally Posted by Apokalipsisa (Post 1782469)
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 :D Thank you

You can use adminchat.sma as example wich is included in AMXX.


All times are GMT -4. The time now is 05:50.

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