@citizenfx/client 2.0.7604-1 → 2.0.7617-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 -17
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -14646,24 +14646,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
14646
14646
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
14647
14647
|
|
|
14648
14648
|
/**
|
|
14649
|
-
* A getter for [
|
|
14649
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14650
14650
|
* @param ped The target ped
|
|
14651
14651
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14652
14652
|
*/
|
|
14653
14653
|
declare function GetPedEyeColor(ped: number): number;
|
|
14654
|
-
|
|
14655
14654
|
/**
|
|
14656
14655
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14657
14656
|
* @param ped The target ped
|
|
14658
14657
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14659
14658
|
*/
|
|
14660
|
-
declare function
|
|
14659
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14660
|
+
|
|
14661
14661
|
/**
|
|
14662
|
-
* A getter for [
|
|
14662
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
14663
14663
|
* @param ped The target ped
|
|
14664
14664
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14665
14665
|
*/
|
|
14666
|
-
declare function
|
|
14666
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
14667
14667
|
|
|
14668
14668
|
/**
|
|
14669
14669
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -19026,18 +19026,30 @@ declare function N_0x08f96ca6c551ad51(pickupHash: string | number): number;
|
|
|
19026
19026
|
declare function GetWeaponHashFromPickup(pickupHash: string | number): number;
|
|
19027
19027
|
|
|
19028
19028
|
/**
|
|
19029
|
-
*
|
|
19030
|
-
*
|
|
19031
|
-
* @
|
|
19032
|
-
*
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
|
|
19036
|
-
|
|
19037
|
-
|
|
19038
|
-
|
|
19039
|
-
|
|
19040
|
-
|
|
19029
|
+
* Gets and returns the hash of the group of the specified weapon (group names can be found/changed under "Group" in the weapons' meta file).
|
|
19030
|
+
* Note that the group is **not** the same as the location on the weapon wheel.
|
|
19031
|
+
* @param weaponHash The hash of the weapon.
|
|
19032
|
+
* @return Returns the hash of the group of the weapon. Hashes:| Group | Unsigned | Signed | Example |
|
|
19033
|
+
|:----------------------:|:----------:|:-----------:|:-----------------------:|
|
|
19034
|
+
| GROUP_DIGISCANNER | 3539449195 | -755518101 | WEAPON_DIGISCANNER |
|
|
19035
|
+
| GROUP_FIREEXTINGUISHER | 4257178988 | -37788308 | WEAPON_FIREEXTINGUISHER |
|
|
19036
|
+
| GROUP_HACKINGDEVICE | 1175761940 | 1175761940 | WEAPON_HACKINGDEVICE |
|
|
19037
|
+
| GROUP_HEAVY | 2725924767 | -1569042529 | WEAPON_RPG |
|
|
19038
|
+
| GROUP_MELEE | 3566412244 | -728555052 | WEAPON_BAT |
|
|
19039
|
+
| GROUP_METALDETECTOR | 3759491383 | -535475913 | WEAPON_METALDETECTOR |
|
|
19040
|
+
| GROUP_MG | 1159398588 | 1159398588 | WEAPON_COMBATMG |
|
|
19041
|
+
| GROUP_NIGHTVISION | 3493187224 | -801780072 | GADGET_NIGHTVISION |
|
|
19042
|
+
| GROUP_PARACHUTE | 431593103 | 431593103 | GADGET_PARACHUTE |
|
|
19043
|
+
| GROUP_PETROLCAN | 1595662460 | 1595662460 | WEAPON_PETROLCAN |
|
|
19044
|
+
| GROUP_PISTOL | 416676503 | 416676503 | WEAPON_PISTOL |
|
|
19045
|
+
| GROUP_RIFLE | 970310034 | 970310034 | WEAPON_ASSAULTRIFLE |
|
|
19046
|
+
| GROUP_SHOTGUN | 860033945 | 860033945 | WEAPON_PUMPSHOTGUN |
|
|
19047
|
+
| GROUP_SMG | 3337201093 | -957766203 | WEAPON_MICROSMG |
|
|
19048
|
+
| GROUP_SNIPER | 3082541095 | -1212426201 | WEAPON_SNIPERRIFLE |
|
|
19049
|
+
| GROUP_STUNGUN | 690389602 | 690389602 | WEAPON_STUNGUN |
|
|
19050
|
+
| GROUP_THROWN | 1548507267 | 1548507267 | WEAPON_SNOWBALL |
|
|
19051
|
+
| GROUP_TRANQILIZER | 75159441 | 75159441 | WEAPON_TRANQUILIZER |
|
|
19052
|
+
| GROUP_UNARMED | 2685387236 | -1609580060 | WEAPON_UNARMED |
|
|
19041
19053
|
*/
|
|
19042
19054
|
declare function GetWeapontypeGroup(weaponHash: string | number): number;
|
|
19043
19055
|
|