28.04.2020, 11:18
Hey, I was using this callback but it doesn't get called.
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:
However, the parameters are fairly limited.
Other options would be using these natives with the above callback ^:
Is there another easier way?
Code:
forward DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[]); public DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[])
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);
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);