Author Topic: Whats the function thats called when you receive chat messages?  (Read 684 times)

/title

I tried clientcmdChatMessage but it doesn't work

Code: [Select]
Add-Ons/Client_getText/client.cs (0): Unknown command clientCmdChatMessage.

How are you using the actual function, because I use it and it works absolutely fine

Code: [Select]
function clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
        //secret code
Parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
}
I don't get it ._.

Code: [Select]
function clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
        //secret code
Parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
}
I don't get it ._.
Put the parent in the very front and try it

Put the parent in the very front and try it
Nope now it just goes
Quote
Add-Ons/Client_getText/client.cs (64): Unknown command clientCmdChatMessage.


Did you remember to put it in a package?

Did you remember to put it in a package?
Oh thanks it works now