How To Run Discord Connector ??
#2

Try make it like this

PHP Code:
    new name[MAX_PLAYER_NAME 1]; 
    
GetPlayerName(playeridnamesizeof name); 
    if (
_:g_WelcomeChannelId == 0//this one missing.
    
g_WelcomeChannelId DCC_FindChannelByName("discord widget server id"); // Discord channel ID 
    
new str1[128]; 
    
format(str1sizeof str1"[Server] %s: %s"nametext[1]); 
    
DCC_SendChannelMessage(g_WelcomeChannelIdstr1); 
Reply


Messages In This Thread
How To Run Discord Connector ?? - by RJTabish - 27.09.2018, 18:18
Re: How To Run Discord Connector ?? - by AzaMx - 27.09.2018, 22:50
Re: How To Run Discord Connector ?? - by v1k1nG - 27.09.2018, 23:11
Re: How To Run Discord Connector ?? - by RJTabish - 28.09.2018, 07:20
Re: How To Run Discord Connector ?? - by v1k1nG - 28.09.2018, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)