@citizenfx/client 2.0.10652-1 → 2.0.10670-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 +20 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -11414,6 +11414,15 @@ declare function GetDriftTyresEnabled(vehicle: number): boolean;
|
|
|
11414
11414
|
*/
|
|
11415
11415
|
declare function GetDuiHandle(duiObject: number): string;
|
|
11416
11416
|
|
|
11417
|
+
/**
|
|
11418
|
+
* **Experimental**: This native may be altered or removed in future versions of CitizenFX without warning.
|
|
11419
|
+
* Returns the memory address of an entity.
|
|
11420
|
+
* This native is intended for singleplayer debugging, and may not be available during multiplayer.
|
|
11421
|
+
* @param entity The handle of the entity to get the address of.
|
|
11422
|
+
* @return A pointer contaning the memory address of the entity.
|
|
11423
|
+
*/
|
|
11424
|
+
declare function GetEntityAddress(entity: number): number;
|
|
11425
|
+
|
|
11417
11426
|
/**
|
|
11418
11427
|
* GET_ENTITY_ALPHA
|
|
11419
11428
|
*/
|
|
@@ -15287,24 +15296,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15287
15296
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15288
15297
|
|
|
15289
15298
|
/**
|
|
15290
|
-
* A getter for [
|
|
15299
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15291
15300
|
* @param ped The target ped
|
|
15292
15301
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15293
15302
|
*/
|
|
15294
15303
|
declare function GetPedEyeColor(ped: number): number;
|
|
15304
|
+
|
|
15295
15305
|
/**
|
|
15296
15306
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15297
15307
|
* @param ped The target ped
|
|
15298
15308
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15299
15309
|
*/
|
|
15300
|
-
declare function
|
|
15301
|
-
|
|
15310
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15302
15311
|
/**
|
|
15303
|
-
* A getter for [
|
|
15312
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15304
15313
|
* @param ped The target ped
|
|
15305
15314
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15306
15315
|
*/
|
|
15307
|
-
declare function
|
|
15316
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15308
15317
|
|
|
15309
15318
|
/**
|
|
15310
15319
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -47769,6 +47778,12 @@ declare function SetIslandEnabled(islandName: string, toggle: boolean): void;
|
|
|
47769
47778
|
*/
|
|
47770
47779
|
declare function SetIslandHopperEnabled(islandName: string, toggle: boolean): void;
|
|
47771
47780
|
|
|
47781
|
+
/**
|
|
47782
|
+
* Toggles the visibility of resource names in the FiveM key mapping page.
|
|
47783
|
+
* @param hide `true` will disable the display of resource names, and `false` will enable it.
|
|
47784
|
+
*/
|
|
47785
|
+
declare function SetKeyMappingHideResources(hide: boolean): void;
|
|
47786
|
+
|
|
47772
47787
|
/**
|
|
47773
47788
|
* SET_LAST_DRIVEN_VEHICLE
|
|
47774
47789
|
*/
|