Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Released]  Website in Steam Overlay
Plugin Version1.0.0
Plugin CategoryGeneral Purpose
Plugin DescriptionThis Plugin easily allows players to visit the servers website using the Steam Overlay.
Plugin Downloadwebsite.as
#1
This Plugin easily allows players to visit the servers website using the Steam Overlay.

As this plugin uses the OpenSteamOverlayToWebPage function 3.0.9 is required.

Players ingame can simply use !website or /website to visit the servers website.
It does require the player to set cl_allow_servers_to_use_steam_overlay to 1 otherwise the steam overlay will not show the specified website.

Installation: Put the website.as in zps/data/scripts/plugins and add the plugin in your default_plugins.txt (zps root where gameinfo.txt etc is).



Code:
1
2
3
4
5
6
7
8
"Plugins"
{
	"plugin"
	{
		"name" "Ingame Website Plugin"
		"script" "Website"
	}
}


The plugin will (if it doesn't exist) automatically create a file in zps/data/custom called website.zpdata (file can be opened with any text editor such as notepad or notepad++) where you can change if it should be enabled at all and the url to open upon entering the command.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)