SA-MP Forums Archive
Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me (/showthread.php?tid=654102)



Help me - TroS - 20.05.2018

Someone help me at discord connector. I don't know how to use it.
I have made the bot and did the token at server cfg, but I don't know how to start it and the other things, what should I do? someone help please


Re: Help me - UFF - 21.05.2018

Helo, I tired Discord connector but i used channel name instead of channel id

Код:
	if (_:g_WelcomeChannelId == 0)
		g_WelcomeChannelId = DCC_Channel:DCC_FindChannelByName(" Your Channel Name ");
So it will just send messages form that channel to ingame instead of whole all discord channels.


Re: Help me - TroS - 21.05.2018

Quote:
Originally Posted by UFF
Посмотреть сообщение
Helo, I tired Discord connector but i used channel name instead of channel id

Код:
	if (_:g_WelcomeChannelId == 0)
		g_WelcomeChannelId = DCC_Channel:DCC_FindChannelByName(" Your Channel Name ");
So it will just send messages form that channel to ingame instead of whole all discord channels.
Yes thats what I want, I put it in the server cfg or in the gamemode?


Re: Help me - TroS - 22.05.2018

help please


Re: Help me - Shadow0707 - 22.05.2018

You should put it in gamemode I think.


Re: Help me - TroS - 22.05.2018

Quote:
Originally Posted by Shadow0707
Посмотреть сообщение
You should put it in gamemode I think.
Okay thanks.