Player.Ping
From GMod Wiki
Function | |
Syntax | Player:Ping( ) |
Description: | |
Gets the players current ping. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.Ping]Player.Ping [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Get your ping |
---|---|
Used on | |
Code | Msg("Your ping is: " .. LocalPlayer():Ping() .. "\n" ) |
Output | Prints your ping to the console |