@citizenfx/client 2.0.6761-1 → 2.0.6798-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14601,7 +14601,11 @@ declare function GetPlayerFakeWantedLevel(player: number): number;
14601
14601
  declare function N_0x56105e599cab0efa(player: number): number;
14602
14602
 
14603
14603
  /**
14604
- * GET_PLAYER_FROM_SERVER_ID
14604
+ * Gets a local client's Player ID from its server ID counterpart, assuming the passed `serverId` exists on the client.
14605
+ * If no matching client is found, or an invalid value is passed over as the `serverId` native's parameter, the native result will be `-1`.
14606
+ * It's worth noting that this native method can only retrieve information about clients that are culled to the connected client.
14607
+ * @param serverId The player's server ID.
14608
+ * @return A valid Player ID if one is found, `-1` if not.
14605
14609
  */
14606
14610
  declare function GetPlayerFromServerId(serverId: number): number;
14607
14611
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.6761-1",
3
+ "version": "2.0.6798-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {