Player.GetEmail
From GMod Wiki
Revision as of 06:32, 23 October 2009 by Crazy Quebecer  (Talk | contribs)
				
			| 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: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetEmail]Player.GetEmail [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
| Description | Prints the Email of the player 1 | 
|---|---|
| Used on |  | 
| Code | pl=player.GetByID(1) print(tostring(pl:GetEmail()) | 
| Output | Number 1 Player's Email address | 
Additional Notes
- Can only be used in Sandbox gamemode as it's defined there (or if you derive from it)
 
			
			