Raised This Month: $140 Target: $400
 35% 

Steam group


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
remix.allstarz
Junior Member
Join Date: Dec 2013
Old 08-09-2018 , 21:57   Steam group
Reply With Quote #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;
}
remix.allstarz is offline
Relaxing
Veteran Member
Join Date: Jun 2016
Location: Catlands
Old 08-09-2018 , 22:57   Re: Steam group
Reply With Quote #2

Code:
#include <amxmodx> #define STEAM_GROUP_URL "www.steamcommunity.com/groups/mygroupusername" public plugin_init()     register_clcmd("join", "hfreflfy"); public hfreflfy(id)     show_motd(id, STEAM_GROUP_URL);
Not 100% sure if it works out with steam browser protocol, but you may give a try.
__________________
Have A Relaxing Day | Wiki
aim_relaxing

Last edited by Relaxing; 08-09-2018 at 23:13.
Relaxing is offline
Snake.
Member
Join Date: Jul 2017
Old 08-09-2018 , 23:46   Re: Steam group
Reply With Quote #3

I have founded this but do not know whether it works

Last edited by Snake.; 08-09-2018 at 23:47.
Snake. is offline
remix.allstarz
Junior Member
Join Date: Dec 2013
Old 08-10-2018 , 07:04   Re: Steam group
Reply With Quote #4

Quote:
Originally Posted by Relaxing View Post
Code:
#include <amxmodx> #define STEAM_GROUP_URL "www.steamcommunity.com/groups/mygroupusername" public plugin_init()     register_clcmd("join", "hfreflfy"); public hfreflfy(id)     show_motd(id, STEAM_GROUP_URL);
Not 100% sure if it works out with steam browser protocol, but you may give a try.

can u make if u say /group
than u can join?
remix.allstarz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-10-2018 , 07:29   Re: Steam group
Reply With Quote #5

Is it so hard to change the "join" to "say /group"? It's not like the code is longer than 6 lines and you can't find where the command is.
Use this if you want multiple commands - https://forums.alliedmods.net/showthread.php?t=297627
__________________

Last edited by OciXCrom; 08-10-2018 at 07:30.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 18:05.


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