Player.GetMSN

From GMod Wiki

Jump to: navigation, search
Gamemode Function: Player.GetMSN
Player.GetMSN is a function that is defined in the Sandbox Gamemode and its derivatives.
Function
Syntax Player:GetMSN( )
Description:
Gets the player's MSN address
Returns: String
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetMSN]Player.GetMSN [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

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


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox