Author
|
Message
|
Member
|
08-09-2018
, 21:57
Steam group
|
#1
|
Hey how i make it for amxmodx ?
can u help me
#include <sourcemod>
public Plugin:myinfo =
{
name = "JoinSteamgroup",
author = "{7~11} Troll",
description = "type !join to open steamgrouppage.",
version = "1.0.1",
url = "www.711clan.net"
}
new Handle:g_href = INVALID_HANDLE;
public OnPluginStart()
{
RegConsoleCmd("join", JoinOn);
g_href = CreateConVar("sm_join_href", "http://steamcommunity.com/groups/yourgroup", "href link to your steamgroup");
}
public Action:JoinOn(client,args)
{
decl String:href[255];
GetConVarString(g_href, href, sizeof(href));
ShowMOTDPanel(client, "join", href, MOTDPANEL_TYPE_URL);
return Plugin_Continue;
}
|
|
|
|