@citizenfx/server 2.0.11354-1 → 2.0.11491-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.
@@ -1047,12 +1047,15 @@ declare function GetPlayerFromStateBagName(bagName: string): number;
1047
1047
  declare function GetPlayerGuid(playerSrc: string): string;
1048
1048
 
1049
1049
  /**
1050
- * GET_PLAYER_IDENTIFIER
1050
+ * To get the number of identifiers, use [GET_NUM_PLAYER_IDENTIFIERS](?\_0xFF7F66AB)
1051
+ * To get a specific type of identifier, use [GET_PLAYER_IDENTIFIER_BY_TYPE](?\_0xA61C8FC6)
1052
+ * @return Returns the identifier at the specific index, if out of bounds returns `null`
1051
1053
  */
1052
- declare function GetPlayerIdentifier(playerSrc: string, identifier: number): string;
1054
+ declare function GetPlayerIdentifier(playerSrc: string, indentiferIndex: number): string;
1053
1055
 
1054
1056
  /**
1055
1057
  * Get an identifier from a player by the type of the identifier.
1058
+ * Known [Identifiers](https://docs.fivem.net/docs/scripting-reference/runtimes/lua/functions/GetPlayerIdentifiers/#identifier-types)
1056
1059
  * @param playerSrc The player to get the identifier for
1057
1060
  * @param identifierType The string to match in an identifier, this can be `"license"` for example.
1058
1061
  * @return The identifier that matches the string provided
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/server",
3
- "version": "2.0.11354-1",
3
+ "version": "2.0.11491-1",
4
4
  "description": "Typings for the CitizenFX server JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {