From ad36f9f893ad093bf367ce6f35e27505ecd0cff7 Mon Sep 17 00:00:00 2001 From: CommanderFoo Date: Thu, 18 May 2023 16:28:33 +0100 Subject: [PATCH] Docs updated new ping property for Player object --- src/api/player.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/player.md b/src/api/player.md index 32d33073c..2bcd733b4 100644 --- a/src/api/player.md +++ b/src/api/player.md @@ -77,6 +77,7 @@ Player is an object representation of the state of a player connected to the gam | `occupiedVehicle` | [`Vehicle`](vehicle.md) | Returns the `Vehicle` that the player currently occupies, or `nil` if the player is not occupying a vehicle. | Read-Only | | `isInParty` | `boolean` | Returns whether this player is in a party. This is known regardless of if the party is public or private. | Read-Only | | `isPartyLeader` | `boolean` | Returns whether this player is the leader of a public party. | Read-Only | +| `ping` | `integer` | Returns the ping value in milliseconds for this player. | Read-Only | ## Functions