@citizenfx/server 2.0.6945-1 → 2.0.7031-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_server.d.ts +12 -14
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -1642,9 +1642,6 @@ declare function ScanResourceRoot(rootPath: string, callback: Function): void;
|
|
|
1642
1642
|
declare function ScheduleResourceTick(resourceName: string): void;
|
|
1643
1643
|
|
|
1644
1644
|
/**
|
|
1645
|
-
* <!--
|
|
1646
|
-
* _loc1_.map((name, idx) => `| ${idx} | ${name} |  |`).join('\n')
|
|
1647
|
-
* -->
|
|
1648
1645
|
* Sets the displayed sprite for a specific blip.
|
|
1649
1646
|
* There's a [list of sprites](https://docs.fivem.net/game-references/blips/) on the FiveM documentation site.
|
|
1650
1647
|
* @param blip The blip to change.
|
|
@@ -2369,7 +2366,7 @@ declare function SetPedEyeColor(ped: number, index: number): void;
|
|
|
2369
2366
|
* * **18**: Chin Hole (Chin Bum)
|
|
2370
2367
|
* * **19**: Neck Thickness (Thin/Thick)
|
|
2371
2368
|
* **Note:**
|
|
2372
|
-
* You may need to call [`SetPedHeadBlendData`](
|
|
2369
|
+
* You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work.
|
|
2373
2370
|
* @param ped The ped entity
|
|
2374
2371
|
* @param index An integer ranging from 0 to 19
|
|
2375
2372
|
* @param scale A float ranging from -1.0 to 1.0
|
|
@@ -2386,10 +2383,10 @@ declare function SetPedHairColor(ped: number, colorID: number, highlightColorID:
|
|
|
2386
2383
|
* **Other information:**
|
|
2387
2384
|
* IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
|
|
2388
2385
|
* This native function is often called prior to calling natives such as:
|
|
2389
|
-
* * [`SetPedHairColor`](
|
|
2390
|
-
* * [`SetPedHeadOverlayColor`](
|
|
2391
|
-
* * [`SetPedHeadOverlay`](
|
|
2392
|
-
* * [`SetPedFaceFeature`](
|
|
2386
|
+
* * [`SetPedHairColor`](#\_0xBB43F090)
|
|
2387
|
+
* * [`SetPedHeadOverlayColor`](#\_0x78935A27)
|
|
2388
|
+
* * [`SetPedHeadOverlay`](#\_0xD28DBA90)
|
|
2389
|
+
* * [`SetPedFaceFeature`](#\_0x6C8D4458)
|
|
2393
2390
|
* @param ped The ped entity
|
|
2394
2391
|
* @param shapeFirstID Controls the shape of the first ped's face
|
|
2395
2392
|
* @param shapeSecondID Controls the shape of the second ped's face
|
|
@@ -2423,7 +2420,7 @@ declare function SetPedHeadBlendData(ped: number, shapeFirstID: number, shapeSec
|
|
|
2423
2420
|
* 12 Add Body Blemishes 0 - 1, 255
|
|
2424
2421
|
* ```
|
|
2425
2422
|
* **Note:**
|
|
2426
|
-
* You may need to call [`SetPedHeadBlendData`](
|
|
2423
|
+
* You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work.
|
|
2427
2424
|
* @param ped The ped entity
|
|
2428
2425
|
* @param overlayID The overlay id displayed up above.
|
|
2429
2426
|
* @param index An integer representing the index (from 0 to `_GET_NUM_OVERLAY_VALUES(overlayID)-1`)
|
|
@@ -2437,7 +2434,7 @@ declare function SetPedHeadOverlay(ped: number, overlayID: number, index: number
|
|
|
2437
2434
|
* Called after SET_PED_HEAD_OVERLAY().
|
|
2438
2435
|
* ```
|
|
2439
2436
|
* **Note:**
|
|
2440
|
-
* You may need to call [`SetPedHeadBlendData`](
|
|
2437
|
+
* You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work.
|
|
2441
2438
|
* @param ped The ped entity
|
|
2442
2439
|
* @param overlayID An integer representing the overlay id
|
|
2443
2440
|
* @param colorType 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
|
|
@@ -2578,11 +2575,12 @@ declare function SetPlayerModel(player: string, model: string | number): void;
|
|
|
2578
2575
|
declare function SetPlayerRoutingBucket(playerSrc: string, bucket: number): void;
|
|
2579
2576
|
|
|
2580
2577
|
/**
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2583
|
-
*
|
|
2578
|
+
* SET_PLAYER_WANTED_LEVEL
|
|
2579
|
+
* @param player the target player
|
|
2580
|
+
* @param wantedLevel the wanted level 1-5
|
|
2581
|
+
* @param delayedResponse false = 0-10sec police spawn response time, true = 10-20sec police spawn response time
|
|
2584
2582
|
*/
|
|
2585
|
-
declare function SetPlayerWantedLevel(player: string, wantedLevel: number,
|
|
2583
|
+
declare function SetPlayerWantedLevel(player: string, wantedLevel: number, delayedResponse: boolean): void;
|
|
2586
2584
|
|
|
2587
2585
|
/**
|
|
2588
2586
|
* A setter for [GET_RESOURCE_KVP_STRING](#\_0x5240DA5A).
|