Player.GetGTalk
From GMod Wiki
| Gamemode Function: Player.GetGTalk | |
|---|---|
| Player.GetGTalk is a function that is defined in the Sandbox Gamemode and its derivatives. | |
| Function | |
| Syntax | Player:GetGTalk( ) |
| Description: | |
| Gets the player's GTalk address defined in client ConVar cl_gtalk | |
| Returns: | String |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetGTalk]Player.GetGTalk [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints the GTalk of the player 1 |
|---|---|
| Used on | |
| Code | pl=player.GetByID(1) print(tostring(pl:GetGTalk()) |
| Output | Number 1 Player's GTalk address |
Additional Notes
- Can only be used in Sandbox gamemode as it's defined there (or if you derive from it)