@citizenfx/client 2.0.7168-1 → 2.0.7186-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 +29 -6
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -6958,6 +6958,21 @@ declare function DrawDebugText_2d(text: string, x: number, y: number, z: number,
|
|
|
6958
6958
|
*/
|
|
6959
6959
|
declare function DrawGizmo(matrixPtr: number, id: string): boolean;
|
|
6960
6960
|
|
|
6961
|
+
/**
|
|
6962
|
+
* Draw a glow sphere this frame. Up to 256 per single frame.
|
|
6963
|
+
* @param posX Position X.
|
|
6964
|
+
* @param posY Position Y.
|
|
6965
|
+
* @param posZ Position Z.
|
|
6966
|
+
* @param radius Sphere radius.
|
|
6967
|
+
* @param colorR Red.
|
|
6968
|
+
* @param colorG Green.
|
|
6969
|
+
* @param colorB Blue.
|
|
6970
|
+
* @param intensity Intensity.
|
|
6971
|
+
* @param invert Invert rendering.
|
|
6972
|
+
* @param marker Draw as a marker, otherwise as an overlay.
|
|
6973
|
+
*/
|
|
6974
|
+
declare function DrawGlowSphere(posX: number, posY: number, posZ: number, radius: number, colorR: number, colorG: number, colorB: number, intensity: number, invert: boolean, marker: boolean): void;
|
|
6975
|
+
|
|
6961
6976
|
/**
|
|
6962
6977
|
* Similar to [\_DRAW_SPRITE](#\_0xE7FFAE5EBF23D890), but seems to be some kind of "interactive" sprite, at least used by render targets.
|
|
6963
6978
|
* These seem to be the only dicts ever requested by this native:
|
|
@@ -13405,6 +13420,12 @@ declare function GetPackedTitleUpdateIntStatKey(index: number, spStat: boolean,
|
|
|
13405
13420
|
*/
|
|
13406
13421
|
declare function GetParkedVehicleDensityMultiplier(): number;
|
|
13407
13422
|
|
|
13423
|
+
/**
|
|
13424
|
+
* Returns the world position the pointer is hovering on the pause map.
|
|
13425
|
+
* @return A Vector3 with the pause map pointer world position X and Y values.
|
|
13426
|
+
*/
|
|
13427
|
+
declare function GetPauseMapPointerWorldPosition(): number[];
|
|
13428
|
+
|
|
13408
13429
|
/**
|
|
13409
13430
|
* Name between `GET_ONSCREEN_KEYBOARD_RESULT` and `GET_PAUSE_MENU_STATE`. Likely, `GET_PAUSE_MENU_*`.
|
|
13410
13431
|
* @return If the pause menu is open, it will return a Vector3, Z is always 0.
|
|
@@ -14073,24 +14094,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
14073
14094
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
14074
14095
|
|
|
14075
14096
|
/**
|
|
14076
|
-
* A getter for [
|
|
14097
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
14077
14098
|
* @param ped The target ped
|
|
14078
14099
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14079
14100
|
*/
|
|
14080
14101
|
declare function GetPedEyeColor(ped: number): number;
|
|
14102
|
+
|
|
14081
14103
|
/**
|
|
14082
14104
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14083
14105
|
* @param ped The target ped
|
|
14084
14106
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14085
14107
|
*/
|
|
14086
|
-
declare function
|
|
14087
|
-
|
|
14108
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
14088
14109
|
/**
|
|
14089
|
-
* A getter for [
|
|
14110
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14090
14111
|
* @param ped The target ped
|
|
14091
14112
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14092
14113
|
*/
|
|
14093
|
-
declare function
|
|
14114
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14094
14115
|
|
|
14095
14116
|
/**
|
|
14096
14117
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -17260,8 +17281,10 @@ declare function GetVehicleMaxNumberOfPassengers(vehicle: number): number;
|
|
|
17260
17281
|
declare function GetVehicleMaxTraction(vehicle: number): number;
|
|
17261
17282
|
|
|
17262
17283
|
/**
|
|
17263
|
-
*
|
|
17284
|
+
* GET_VEHICLE_MOD
|
|
17285
|
+
* @param vehicle The vehicle to get the mod of.
|
|
17264
17286
|
* @param modType Refer to eVehicleModType in [`SET_VEHICLE_MOD`](#\_0x6AF0636DDEDCB6DD).
|
|
17287
|
+
* @return Returns the current modIndex, or `-1` if the mod is stock.
|
|
17265
17288
|
*/
|
|
17266
17289
|
declare function GetVehicleMod(vehicle: number, modType: number): number;
|
|
17267
17290
|
|