Player.GetWebsite

From GMod Wiki

Jump to: navigation, search
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: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetWebsite]Player.GetWebsite [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints the Website of the player 1
Used onNewerShared.png
Code
 
pl=player.GetByID(1)
print(tostring(pl:GetWebsite()))
 
OutputNumber 1 Player's Website address


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox