Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Discord Connector

 
  • 0 Vote(s) - 0 Average
Pawn Discord Connector
zetrazak
Offline

Burgershot Member
Posts: 6
Threads: 3
Joined: Aug 2019
Reputation: 0
#1
2019-08-17, 01:34 PM
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
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#2
2019-08-19, 05:32 AM
What do you have so far? We can help, but that doesn't mean doing it all for you.
zetrazak
Offline

Burgershot Member
Posts: 6
Threads: 3
Joined: Aug 2019
Reputation: 0
#3
2019-08-19, 08:03 AM (This post was last modified: 2019-08-19, 11:17 AM by zetrazak.)
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
Markski
Offline

Burgershot Clerk

Posts: 127
Threads: 6
Joined: Apr 2019
Reputation: 5
Location: La Plata, Argentina
#4
2019-08-21, 03:40 PM
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?
Website
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode