• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Discord Connector
#1
Hello. Can you help me create a filterscript? I am denied. Thanks for those who help me, below I will list what I would like to have in the bot:

1. Able to write in the appropriate channel everything that will be written in the samp chat (and on the contrary)

2. Capable of ban?and kick?the players from discord, option valid only for admin.

3. See all the players online and notify in a specific channel who connects to the server
  Reply
#2
What do you have so far? We can help, but that doesn't mean doing it all for you.
  Reply
#3
You're right, sorry for having demanded so much.
Anyway,
i now I'm trying to log every command typed by the user in a specific channel
and I used this code:
Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{

new string[120];

format(string,sizeof(string),"%s(%d) Typed %s",playerid,cmdtext);

? ?SendDC(CHANNEL_ID);

? ?return 1;

but dont work
why
  Reply
#4
We need to see what your SendDC function looks like.



Also, OnPlayerCommandPerformed isn't a callback I've heard of. Is it part of your command engine? Have you checked it receives the parameters the way you expect them to?
  Reply


Forum Jump: