Raised This Month: $ Target: $400
 0% 

[ANY] Simple Discord Link


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
XerM
New Member
Join Date: Mar 2021
Location: In a parallel world.
Plugin ID:
7567
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Insurgency (2014)
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple plugin for send discord link.
    Old 03-22-2021 , 11:04   [ANY] Simple Discord Link
    Reply With Quote #1

    A simple plugin for send discord link.

    sm_discord / !discord


    Code:
    #include <sourcemod>
    #include <sdktools>
    
    #pragma semicolon 1
    #pragma newdecls required
    
    public Plugin myinfo = 
    {
    	name = "Discord Link",
    	author = "XerM",
    	description = "A simple plugin for discord link",
    	version = "1.0",
    	url = "forums.alliedmods.net"
    };
    
    public void OnPluginStart()
    {
    	RegConsoleCmd("sm_discord", Discord_Link, "Prints discord link to chat");
    }
    
    public Action Discord_Link(int client, int args)
    {
    	if(args > 0)
    	{
    		ReplyToCommand(client, "[SM] Usage: sm_discord");
    		return Plugin_Handled;
    	}
    	
    	ReplyToCommand(client,"\x03yourserverlink");
    	return Plugin_Handled;
    }
    Attached Files
    File Type: sp Get Plugin or Get Source (Discord.sp - 428 views - 622 Bytes)
    File Type: smx Discord.smx (3.9 KB, 119 views)
    __________________
    BLVCK
    XerM is EVERYWHERE!

    Last edited by XerM; 03-22-2021 at 11:09.
    XerM is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:24.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode