@citizenfx/client 2.0.12160-1 → 2.0.12164-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 +37 -5
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -15304,24 +15304,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15304
15304
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15305
15305
|
|
|
15306
15306
|
/**
|
|
15307
|
-
* A getter for [
|
|
15307
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15308
15308
|
* @param ped The target ped
|
|
15309
15309
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15310
15310
|
*/
|
|
15311
15311
|
declare function GetPedEyeColor(ped: number): number;
|
|
15312
|
-
|
|
15313
15312
|
/**
|
|
15314
15313
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15315
15314
|
* @param ped The target ped
|
|
15316
15315
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15317
15316
|
*/
|
|
15318
|
-
declare function
|
|
15317
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15318
|
+
|
|
15319
15319
|
/**
|
|
15320
|
-
* A getter for [
|
|
15320
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15321
15321
|
* @param ped The target ped
|
|
15322
15322
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15323
15323
|
*/
|
|
15324
|
-
declare function
|
|
15324
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15325
15325
|
|
|
15326
15326
|
/**
|
|
15327
15327
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -24218,6 +24218,38 @@ declare function IsRadioStationFavourited(radioStation: string): boolean;
|
|
|
24218
24218
|
*/
|
|
24219
24219
|
declare function IsRadioStationVisible(radioStation: string): boolean;
|
|
24220
24220
|
|
|
24221
|
+
/**
|
|
24222
|
+
* Can be used to get state of raw key on keyboard.
|
|
24223
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24224
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24225
|
+
* @return Returns bool value of down state.
|
|
24226
|
+
*/
|
|
24227
|
+
declare function IsRawKeyDown(rawKeyIndex: number): boolean;
|
|
24228
|
+
|
|
24229
|
+
/**
|
|
24230
|
+
* Can be used to get state of raw key on keyboard.
|
|
24231
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24232
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24233
|
+
* @return Returns bool value of pressed state.
|
|
24234
|
+
*/
|
|
24235
|
+
declare function IsRawKeyPressed(rawKeyIndex: number): boolean;
|
|
24236
|
+
|
|
24237
|
+
/**
|
|
24238
|
+
* Can be used to get release state of raw key on keyboard.
|
|
24239
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24240
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24241
|
+
* @return Returns bool value of released state.
|
|
24242
|
+
*/
|
|
24243
|
+
declare function IsRawKeyReleased(rawKeyIndex: number): boolean;
|
|
24244
|
+
|
|
24245
|
+
/**
|
|
24246
|
+
* Can be used to get state of raw key on keyboard.
|
|
24247
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24248
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24249
|
+
* @return Returns bool value of up state.
|
|
24250
|
+
*/
|
|
24251
|
+
declare function IsRawKeyUp(rawKeyIndex: number): boolean;
|
|
24252
|
+
|
|
24221
24253
|
/**
|
|
24222
24254
|
* Checks if you're recording.
|
|
24223
24255
|
* @return Whether recording is currently running, true when you start recording (F1) or turn on action replay (F2)
|