adminchat modification [SOLVED]
I wanted to modify admin chat to display a amx_chat message if you type @message in say if you have ADMIN_CHAT flag or just @message in normal say chat if yo don't.
Code:
It works when i have the chat flag but wen i don't it doesn't display anything and i get this in the server's console: Code:
L 03/18/2009 - 22:02:39: [adminchat.amxx] Chat: "player<5><STEAM_0:1:8796278><>" chat "@test 123"Thank you. |
Re: adminchat modification
have you used colorchat.inc?
|
Re: adminchat modification
Nope.
|
Re: adminchat modification
In this plugin-
plugin_handled_main isn't really necessary. And what you want I dont really understand Code:
/* Plugin generated by Zombie Zealots |
Re: adminchat modification
Thanks for the info.
I want to make a shortcut for amx_chat in the normal chat (say command). This shortcut will use '@' so: Code:
Now, the way i tried it blocks normal chat for non-admin users, after i fixed that, messages (with @ in front) from non-admin users don't display at all & triggers the logs (this should not happen for non-admin users). LATER EDIT: I managed to do it myself with your help on the return plugin_handeld, thanks again. |
| All times are GMT -4. The time now is 09:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.