[Pawn] DISCORD Chat - SERVER Chat - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] DISCORD Chat - SERVER Chat (/showthread.php?tid=1090) |
DISCORD Chat - SERVER Chat - Sean17 - 2020-05-16 I'l trying to make a Discord - Server chat here's my code: Code: public DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[]) It dosn't work and also don't have errors... RE: DISCORD Chat - SERVER Chat - Josh - 2020-05-17 You need to be more specific: What doesn't work? What have you tried? What are you expecting the code to do? RE: DISCORD Chat - SERVER Chat - Sean17 - 2020-05-17 What doesn't work? Players can't see the messages sent in the discord server What have you tried? I tried only that code What are you expecting the code to do? When I chat in discord it will SenClientMessageToAll in-Game. RE: DISCORD Chat - SERVER Chat - Steven - 2020-05-24 Well the thing is OnChannelMessage is deprecated, use the latest one OnMessageCreate and then fetch all info from DCC_Message .. RE: DISCORD Chat - SERVER Chat - XoMoX - 2020-06-23 that DCC_OnChannelMessage is long gone and has been replaced |