Player.GetXFire

From GMod Wiki

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



Examples

DescriptionPrints the XFire name of the player 1
Used onNewerShared.png
Code
 
pl=player.GetByID(1)
print(tostring(pl:GetXFire())
 
OutputNumber 1 Player's XFire name


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox