@citizenfx/client 2.0.9481-1 → 2.0.9517-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 +41 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -14771,24 +14771,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
14771
14771
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
14772
14772
|
|
|
14773
14773
|
/**
|
|
14774
|
-
* A getter for [
|
|
14774
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14775
14775
|
* @param ped The target ped
|
|
14776
14776
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14777
14777
|
*/
|
|
14778
14778
|
declare function GetPedEyeColor(ped: number): number;
|
|
14779
|
-
|
|
14780
14779
|
/**
|
|
14781
14780
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14782
14781
|
* @param ped The target ped
|
|
14783
14782
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14784
14783
|
*/
|
|
14785
|
-
declare function
|
|
14784
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14785
|
+
|
|
14786
14786
|
/**
|
|
14787
|
-
* A getter for [
|
|
14787
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
14788
14788
|
* @param ped The target ped
|
|
14789
14789
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14790
14790
|
*/
|
|
14791
|
-
declare function
|
|
14791
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
14792
14792
|
|
|
14793
14793
|
/**
|
|
14794
14794
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -16633,6 +16633,13 @@ declare function N_0x4a9923385bdb9dad(): number;
|
|
|
16633
16633
|
*/
|
|
16634
16634
|
declare function GetLevelBlipSprite(): number;
|
|
16635
16635
|
|
|
16636
|
+
/**
|
|
16637
|
+
* GET_STATE_BAG_KEYS
|
|
16638
|
+
* @param bagName The name of the bag.
|
|
16639
|
+
* @return Returns an array containing all keys for which the state bag has associated values.
|
|
16640
|
+
*/
|
|
16641
|
+
declare function GetStateBagKeys(bagName: string): any;
|
|
16642
|
+
|
|
16636
16643
|
/**
|
|
16637
16644
|
* Returns the value of a state bag key.
|
|
16638
16645
|
* @return Value.
|
|
@@ -24839,6 +24846,13 @@ declare function MumbleClearVoiceTargetChannels(targetId: number): void;
|
|
|
24839
24846
|
*/
|
|
24840
24847
|
declare function MumbleClearVoiceTargetPlayers(targetId: number): void;
|
|
24841
24848
|
|
|
24849
|
+
/**
|
|
24850
|
+
* Check whether specified channel exists on the Mumble server.
|
|
24851
|
+
* @param channel A game voice channel ID.
|
|
24852
|
+
* @return True if the specific channel exists. False otherwise.
|
|
24853
|
+
*/
|
|
24854
|
+
declare function MumbleDoesChannelExist(channel: number): boolean;
|
|
24855
|
+
|
|
24842
24856
|
/**
|
|
24843
24857
|
* MUMBLE_GET_TALKER_PROXIMITY
|
|
24844
24858
|
* @return Talker proximity value.
|
|
@@ -52783,6 +52797,13 @@ declare function N_0x9bda23bf666f0855(aircraft: number, count: number): void;
|
|
|
52783
52797
|
*/
|
|
52784
52798
|
declare function SetAircraftCountermeasureCount(aircraft: number, count: number): void;
|
|
52785
52799
|
|
|
52800
|
+
/**
|
|
52801
|
+
* SET_VEHICLE_CURRENT_GEAR
|
|
52802
|
+
* @param vehicle The vehicle handle.
|
|
52803
|
+
* @param gear The gear you want the vehicle to use.
|
|
52804
|
+
*/
|
|
52805
|
+
declare function SetVehicleCurrentGear(vehicle: number, gear: number): void;
|
|
52806
|
+
|
|
52786
52807
|
/**
|
|
52787
52808
|
* SET_VEHICLE_CURRENT_RPM
|
|
52788
52809
|
*/
|
|
@@ -53662,6 +53683,13 @@ declare function SetVehicleNeonLightsColor_2(vehicle: number, color: number): vo
|
|
|
53662
53683
|
*/
|
|
53663
53684
|
declare function SetVehicleNeonLightsColour(vehicle: number, r: number, g: number, b: number): void;
|
|
53664
53685
|
|
|
53686
|
+
/**
|
|
53687
|
+
* SET_VEHICLE_NEXT_GEAR
|
|
53688
|
+
* @param vehicle The vehicle handle.
|
|
53689
|
+
* @param nextGear The vehicles next gear.
|
|
53690
|
+
*/
|
|
53691
|
+
declare function SetVehicleNextGear(vehicle: number, nextGear: number): void;
|
|
53692
|
+
|
|
53665
53693
|
/**
|
|
53666
53694
|
* NativeDB Introduced: v1604
|
|
53667
53695
|
* NativeDB Added Parameter 2 (2060): float level
|
|
@@ -56852,6 +56880,14 @@ declare function StatSetUserId(statName: string | number, value: string, save: b
|
|
|
56852
56880
|
*/
|
|
56853
56881
|
declare function StatSlotIsLoaded(p0: number): boolean;
|
|
56854
56882
|
|
|
56883
|
+
/**
|
|
56884
|
+
* STATE_BAG_HAS_KEY
|
|
56885
|
+
* @param bagName The name of the bag.
|
|
56886
|
+
* @param key The key used to check data existence.
|
|
56887
|
+
* @return Returns true if the data associated with the specified key exists; otherwise, returns false.
|
|
56888
|
+
*/
|
|
56889
|
+
declare function StateBagHasKey(bagName: string, key: string): boolean;
|
|
56890
|
+
|
|
56855
56891
|
/**
|
|
56856
56892
|
* STOP_ALARM
|
|
56857
56893
|
* @param instantStop Whether to kill the alarm instantly, or to let the audio system turn it off when it becomes inaudible
|