Raised This Month: $ Target: $400
 0% 

srvcmd or clcmd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 05-15-2006 , 08:42   srvcmd or clcmd
Reply With Quote #1

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")
I tried a bit different tings, and i have had luck catching say and team_say with this:

Code:
register_clcmd("say","call_say")
register_clcmd("say_team","call_tsay")
Somebody who knows how to chatch a amx_chat ?

/Wolf
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
 


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 16:26.


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