@citizenfx/client 2.0.6775-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.
- package/natives_universal.d.ts +5 -1
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -14601,7 +14601,11 @@ declare function GetPlayerFakeWantedLevel(player: number): number;
|
|
|
14601
14601
|
declare function N_0x56105e599cab0efa(player: number): number;
|
|
14602
14602
|
|
|
14603
14603
|
/**
|
|
14604
|
-
*
|
|
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
|
|