View Single Post
mausetot
Member
Join Date: Jan 2011
Location: Germany
Old 11-14-2011 , 08:15   Re: [REQUEST] Steam Group Invite
Reply With Quote #2

Hi soulreaper,

one possibility is to change this plugin (written by troll)

http://forums.alliedmods.net/showthread.php?p=736768

in that way:
Quote:
/* Plugin Template generated by Pawn Studio */

#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;
}
(donīt tested)

(yourgroup must be changed to the URL of your group)

If a player types "!join" into the chat, a MODT will open which displays your steamgroupsite. BUT...
The player have to log in and click the joinbutton himself.

The other way is to work with an autoinvitesystem after typing "!join" or after joining the server.BUT...
I donīt think that anybody here will help you writing an autoinvitescript.

Best regards
mausetot

P.S. Bad english, I know
__________________


www.darkgaming.de - play on the dark side of life
www.gothic-obsession.de
mausetot is offline