@citizenfx/server 2.0.7549-1 → 2.0.7568-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.
@@ -359,7 +359,7 @@ declare function FlagServerAsPrivate(private_: boolean): void;
359
359
  declare function FlushResourceKvp(): void;
360
360
 
361
361
  /**
362
- * Freezes or unfreezes an entity preventing its coordinates to change by the player if set to `true`. You can still change the entity position using SET_ENTITY_COORDS.
362
+ * Freezes or unfreezes an entity preventing its coordinates to change by the player if set to `true`. You can still change the entity position using [`SET_ENTITY_COORDS`](#\_0x06843DA7060A026B).
363
363
  * @param entity The entity to freeze/unfreeze.
364
364
  * @param toggle Freeze or unfreeze entity.
365
365
  */
@@ -1709,10 +1709,18 @@ declare function SetEntityHeading(entity: number, heading: number): void;
1709
1709
  declare function SetEntityIgnoreRequestControlFilter(entity: number, ignore: boolean): void;
1710
1710
 
1711
1711
  /**
1712
- * SET_ENTITY_ROTATION
1713
- * @param rotationOrder The order yaw pitch roll are applied, see [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9).
1712
+ * Sets the rotation of a specified entity in the game world.
1713
+ * ```
1714
+ * NativeDB Introduced: v323
1715
+ * ```
1716
+ * @param entity The entity to rotate.
1717
+ * @param pitch The pitch (X-axis) rotation in degrees.
1718
+ * @param roll The roll (Y-axis) rotation in degrees.
1719
+ * @param yaw The yaw (Z-axis) rotation in degrees.
1720
+ * @param rotationOrder Specifies the order in which yaw, pitch, and roll are applied, see [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9) for the available rotation orders.
1721
+ * @param bDeadCheck Usually set to `true`. Determines whether to check if the entity is dead before applying the rotation.
1714
1722
  */
1715
- declare function SetEntityRotation(entity: number, pitch: number, roll: number, yaw: number, rotationOrder: number, p5: boolean): void;
1723
+ declare function SetEntityRotation(entity: number, pitch: number, roll: number, yaw: number, rotationOrder: number, bDeadCheck: boolean): void;
1716
1724
 
1717
1725
  /**
1718
1726
  * Sets the routing bucket for the specified entity.
@@ -2376,6 +2384,7 @@ declare function SetPedFaceFeature(ped: number, index: number, scale: number): v
2376
2384
 
2377
2385
  /**
2378
2386
  * Used for freemode (online) characters.
2387
+ * **This is the server-side RPC native equivalent of the client native [\_SET_PED_HAIR_COLOR](?\_0x4CFFC65454C93A49).**
2379
2388
  */
2380
2389
  declare function SetPedHairColor(ped: number, colorID: number, highlightColorID: number): void;
2381
2390
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/server",
3
- "version": "2.0.7549-1",
3
+ "version": "2.0.7568-1",
4
4
  "description": "Typings for the CitizenFX server JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {