@citizenfx/client 2.0.15276-1 → 2.0.15306-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 +83 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -10159,6 +10159,17 @@ declare function N_0x7cd934010e115c2c(ped: number): number;
|
|
|
10159
10159
|
*/
|
|
10160
10160
|
declare function GetAllRopes(): any;
|
|
10161
10161
|
|
|
10162
|
+
/**
|
|
10163
|
+
* Returns all track junctions on the client
|
|
10164
|
+
* The data returned adheres to the following structure:
|
|
10165
|
+
* ```
|
|
10166
|
+
* [1, 2, 4, 6, 69, 420]
|
|
10167
|
+
* ```
|
|
10168
|
+
* @return An object containing a list of track junctions ids.```
|
|
10169
|
+
```
|
|
10170
|
+
*/
|
|
10171
|
+
declare function GetAllTrackJunctions(): any;
|
|
10172
|
+
|
|
10162
10173
|
/**
|
|
10163
10174
|
* Returns all registered vehicle model names, including non-dlc vehicles and custom vehicles in no particular order.
|
|
10164
10175
|
* **Example output**
|
|
@@ -15585,24 +15596,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15585
15596
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15586
15597
|
|
|
15587
15598
|
/**
|
|
15588
|
-
* A getter for [
|
|
15599
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15589
15600
|
* @param ped The target ped
|
|
15590
15601
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15591
15602
|
*/
|
|
15592
15603
|
declare function GetPedEyeColor(ped: number): number;
|
|
15604
|
+
|
|
15593
15605
|
/**
|
|
15594
15606
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15595
15607
|
* @param ped The target ped
|
|
15596
15608
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15597
15609
|
*/
|
|
15598
|
-
declare function
|
|
15599
|
-
|
|
15610
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15600
15611
|
/**
|
|
15601
|
-
* A getter for [
|
|
15612
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15602
15613
|
* @param ped The target ped
|
|
15603
15614
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15604
15615
|
*/
|
|
15605
|
-
declare function
|
|
15616
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15606
15617
|
|
|
15607
15618
|
/**
|
|
15608
15619
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -42634,6 +42645,11 @@ declare function N_0x3353d13f09307691(): void;
|
|
|
42634
42645
|
*/
|
|
42635
42646
|
declare function ResetEntityAlpha(entity: number): void;
|
|
42636
42647
|
|
|
42648
|
+
/**
|
|
42649
|
+
* This function undoes changes made by [`SET_ENTITY_DRAW_OUTLINE_RENDER_TECHNIQUE`](#\_0x68DFF2DD), restoring the original outline rendering behavior. The default render technique group is `unlit`.
|
|
42650
|
+
*/
|
|
42651
|
+
declare function ResetEntityDrawOutlineRenderTechnique(): void;
|
|
42652
|
+
|
|
42637
42653
|
/**
|
|
42638
42654
|
* RESET_EXCLUSIVE_SCENARIO_GROUP
|
|
42639
42655
|
*/
|
|
@@ -46795,6 +46811,61 @@ declare function SetEntityDrawOutline(entity: number, enabled: boolean): void;
|
|
|
46795
46811
|
*/
|
|
46796
46812
|
declare function SetEntityDrawOutlineColor(red: number, green: number, blue: number, alpha: number): void;
|
|
46797
46813
|
|
|
46814
|
+
/**
|
|
46815
|
+
* Sets the render technique for drawing an entity's outline. This function allows you to specify a technique group name to control how the entity's outline is rendered in the game.
|
|
46816
|
+
* List of known technique group's:
|
|
46817
|
+
* ```
|
|
46818
|
+
* alt0
|
|
46819
|
+
* alt1
|
|
46820
|
+
* alt2
|
|
46821
|
+
* alt3
|
|
46822
|
+
* alt4
|
|
46823
|
+
* alt5
|
|
46824
|
+
* alt6
|
|
46825
|
+
* alt7
|
|
46826
|
+
* alt8
|
|
46827
|
+
* blit
|
|
46828
|
+
* cube
|
|
46829
|
+
* default
|
|
46830
|
+
* geometry
|
|
46831
|
+
* imposter
|
|
46832
|
+
* imposterdeferred
|
|
46833
|
+
* lightweight0
|
|
46834
|
+
* lightweight0CutOut
|
|
46835
|
+
* lightweight0CutOutTint
|
|
46836
|
+
* lightweight0WaterRefractionAlpha
|
|
46837
|
+
* lightweight4
|
|
46838
|
+
* lightweight4CutOut
|
|
46839
|
+
* lightweight4CutOutTint
|
|
46840
|
+
* lightweight4WaterRefractionAlpha
|
|
46841
|
+
* lightweight8
|
|
46842
|
+
* lightweight8CutOut
|
|
46843
|
+
* lightweight8CutOutTint
|
|
46844
|
+
* lightweight8WaterRefractionAlpha
|
|
46845
|
+
* lightweightHighQuality0
|
|
46846
|
+
* lightweightHighQuality0CutOut
|
|
46847
|
+
* lightweightHighQuality0WaterRefractionAlpha
|
|
46848
|
+
* lightweightHighQuality4
|
|
46849
|
+
* lightweightHighQuality4CutOut
|
|
46850
|
+
* lightweightHighQuality4WaterRefractionAlpha
|
|
46851
|
+
* lightweightHighQuality8
|
|
46852
|
+
* lightweightHighQuality8CutOut
|
|
46853
|
+
* lightweightHighQuality8WaterRefractionAlpha
|
|
46854
|
+
* lightweightNoCapsule4
|
|
46855
|
+
* lightweightNoCapsule8
|
|
46856
|
+
* multilight
|
|
46857
|
+
* tessellate
|
|
46858
|
+
* ui
|
|
46859
|
+
* unlit
|
|
46860
|
+
* waterreflection
|
|
46861
|
+
* waterreflectionalphaclip
|
|
46862
|
+
* waterreflectionalphacliptint
|
|
46863
|
+
* wdcascade
|
|
46864
|
+
* ```
|
|
46865
|
+
* @param techniqueGroup Technique group name.
|
|
46866
|
+
*/
|
|
46867
|
+
declare function SetEntityDrawOutlineRenderTechnique(techniqueGroup: string): void;
|
|
46868
|
+
|
|
46798
46869
|
/**
|
|
46799
46870
|
* Sets variant of shader that will be used to draw entity outline.
|
|
46800
46871
|
* Variants are:
|
|
@@ -58120,6 +58191,13 @@ declare function SetWeatherTypePersist(weatherType: string): void;
|
|
|
58120
58191
|
*/
|
|
58121
58192
|
declare function SetWeatherTypeTransition(weatherType1: string | number, weatherType2: string | number, percentWeather2: number): void;
|
|
58122
58193
|
|
|
58194
|
+
/**
|
|
58195
|
+
* Modifies the radius scale used in the simulation of wet cloth physics.
|
|
58196
|
+
* This affects how cloth behaves when wet, changing how it sticks or reacts to movement.
|
|
58197
|
+
* @param scale A value that controls the wet cloth radius scale, default: 0.3, maximum: 1.0(used for dry cloth by default), lower values increase the adhesion effect of wet cloth, making it cling more tightly to the surface.
|
|
58198
|
+
*/
|
|
58199
|
+
declare function SetWetClothPinRadiusScale(scale: number): void;
|
|
58200
|
+
|
|
58123
58201
|
/**
|
|
58124
58202
|
* SET_WIDESCREEN_BORDERS
|
|
58125
58203
|
*/
|