Issue with DCC_OnChannelMessage (outdated callback, perhaps?)
#1

Hey, I was using this callback but it doesn't get called.
Code:
forward DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[]);
public DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[])
I was told that it was outdated but I can't find any functions that may replace this.
This seems to also be listed here: https://github.com/maddinat0r/samp-d...tor/issues/136

The closest I found was this:
Code:
forward DCC_OnMessageCreate(DCC_Message:message);
However, the parameters are fairly limited.

Other options would be using these natives with the above callback ^:
Code:
native DCC_GetMessageChannel(DCC_Message:message, &DCC_Channel:channel);
native DCC_GetMessageAuthor(DCC_Message:message, &DCC_User:author);
Is there another easier way?
Reply


Messages In This Thread
Issue with DCC_OnChannelMessage (outdated callback, perhaps?) - by Proxus - 28.04.2020, 11:18
Re: Issue with DCC_OnChannelMessage (outdated callback, perhaps?) - by Markski - 28.04.2020, 11:34
Re: Issue with DCC_OnChannelMessage (outdated callback, perhaps?) - by Proxus - 28.04.2020, 11:35

Forum Jump:


Users browsing this thread: 1 Guest(s)