@citizenfx/client 2.0.5777-1 → 2.0.5788-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.
@@ -6443,8 +6443,12 @@ declare function ExperimentalSaveCloneCreate(entity: number): string;
6443
6443
  declare function ExperimentalSaveCloneSync(entity: number): string;
6444
6444
 
6445
6445
  /**
6446
- * Forces the ped to fall back and kills it.
6447
- * It doesn't really explode the ped's head but it kills the ped
6446
+ * Applies lethal damage (FLT_MAX) to the `SKEL_Head` bone of the specified ped using the weapon passed, leading to the
6447
+ * ped's untimely demise.
6448
+ * The naming of the native is a legacy leftover (formerly EXPLODE_CHAR_HEAD in GTA3) as in the early 3D GTA games, lethal
6449
+ * damage to a ped head would 'explode' it.
6450
+ * @param ped The ped to lethally injure.
6451
+ * @param weaponHash The weapon to attribute the damage to.
6448
6452
  */
6449
6453
  declare function ExplodePedHead(ped: number, weaponHash: string | number): void;
6450
6454
 
@@ -12276,10 +12280,6 @@ declare function IsSeethroughActive(): boolean;
12276
12280
  * Gets current UTC time
12277
12281
  */
12278
12282
  declare function GetUtcTime(): [number, number, number, number, number, number];
12279
- /**
12280
- * Gets current UTC time
12281
- */
12282
- declare function GetLocalTime(): [number, number, number, number, number, number];
12283
12283
  /**
12284
12284
  * Gets current UTC time
12285
12285
  */
@@ -21460,7 +21460,6 @@ declare function NetworkAddPedToSynchronisedScene(ped: number, netScene: number,
21460
21460
 
21461
21461
  declare function NetworkAddSynchronisedSceneCamera(netScene: number, animDict: string, animName: string): void;
21462
21462
  declare function N_0xcf8bd3b0bd6d42d7(netScene: number, animDict: string, animName: string): void;
21463
- declare function NetworkForceLocalUseOfSyncedSceneCamera(netScene: number, animDict: string, animName: string): void;
21464
21463
 
21465
21464
  declare function NetworkAllocateTunablesRegistrationDataMap(): boolean;
21466
21465
  declare function N_0xfafc23aee23868db(): boolean;
@@ -22634,7 +22633,6 @@ declare function NetworkGetFriendCount(): number;
22634
22633
  declare function NetworkGetFriendName(friendIndex: number): string;
22635
22634
 
22636
22635
  declare function NetworkGetFriendNameFromIndex(friendIndex: number): string;
22637
- declare function NetworkGetFriendName(friendIndex: number): string;
22638
22636
 
22639
22637
  declare function NetworkGetGamerStatusFromQueue(): boolean;
22640
22638
  declare function N_0x2cc848a861d01493(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.5777-1",
3
+ "version": "2.0.5788-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {