srvcmd or clcmd
I am trying to catch a ban message.
I know the message i sent with amx_chat. A i using amx_bans, so when a client bans via amxmenu the server posts a banmessage, but i aint sure wether it is a srvcmd or clcmd i need to catch.... The code i come up with: Code:
register_srvcmd("amx_chat","call_myfunction")Code:
register_clcmd("say","call_say")/Wolf |
instead of register_srvcmd() use register_concmd()
|
I tried with register_concmd("chat", function) and register_concmd("amx_chat", funcition)
Maby i overlook something.......... I am looking for a specific word i the text, is that the ting i should put in between "" ? |
I didn't look at what you asked.
So you want to catch when AMX BANS bans someone? That can't be caught using register_*cmd(). You can try and catch it with register_message() I forget which message you want though. I think its SayText |
| All times are GMT -4. The time now is 16:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.