Player.GetWebsite
From GMod Wiki
Gamemode Function: Player.GetWebsite | |
---|---|
Player.GetWebsite is a function that is defined in the Sandbox Gamemode and its derivatives. |
Function | |
Syntax | Player:GetWebsite( ) |
Description: | |
Gets the player's Website defined in client ConVar cl_website | |
Returns: | String |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetWebsite]Player.GetWebsite [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Prints the Website of the player 1 |
---|---|
Used on | |
Code | pl=player.GetByID(1) print(tostring(pl:GetWebsite())) |
Output | Number 1 Player's Website address |
Additional Notes
- Can only be used in Sandbox gamemode as it's defined there (or if you derive from it)