Player.GetEmail

From GMod Wiki

Revision as of 06:32, 23 October 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Gamemode Function: Player.GetEmail
Player.GetEmail is a function that is defined in the Sandbox Gamemode and its derivatives.
Function
Syntax Player:GetEmail( )
Description:
Gets the player's Email address defined in client ConVar cl_email
Returns: String
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetEmail]Player.GetEmail [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

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


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox