@citizenfx/client 2.0.13165-1 → 2.0.13175-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 +55 -4
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -6325,6 +6325,14 @@ declare function DisablePlayerVehicleRewards(player: number): void;
|
|
|
6325
6325
|
*/
|
|
6326
6326
|
declare function DisablePoliceRestart(policeIndex: number, toggle: boolean): void;
|
|
6327
6327
|
|
|
6328
|
+
/**
|
|
6329
|
+
* Disables the specified `rawKeyIndex`, making it not trigger the regular `IS_RAW_KEY_*` natives.
|
|
6330
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
6331
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
6332
|
+
* @return Returns bool value of down state.
|
|
6333
|
+
*/
|
|
6334
|
+
declare function DisableRawKeyThisFrame(rawKeyIndex: number): boolean;
|
|
6335
|
+
|
|
6328
6336
|
/**
|
|
6329
6337
|
* This will disable the ability to make camera changes in R\* Editor.
|
|
6330
6338
|
*/
|
|
@@ -19751,6 +19759,13 @@ declare function GetVehicleXenonLightsCustomColor(vehicle: number): [boolean, nu
|
|
|
19751
19759
|
*/
|
|
19752
19760
|
declare function GetVehicleXmasSnowFactor(): number;
|
|
19753
19761
|
|
|
19762
|
+
/**
|
|
19763
|
+
* A getter for [SET_VISUAL_SETTING_FLOAT](#\_0xD1D31681).
|
|
19764
|
+
* @param name The name of the value to get, such as `pedLight.color.red`.
|
|
19765
|
+
* @return Returns the floating point value of the specified visual setting on success.
|
|
19766
|
+
*/
|
|
19767
|
+
declare function GetVisualSettingFloat(name: string): number;
|
|
19768
|
+
|
|
19754
19769
|
/**
|
|
19755
19770
|
* NativeDB Introduced: v2372
|
|
19756
19771
|
*/
|
|
@@ -22252,6 +22267,38 @@ declare function IsDisabledControlReleased(padIndex: number, control: number): b
|
|
|
22252
22267
|
*/
|
|
22253
22268
|
declare function N_0xfb6c4072e9a32e92(padIndex: number, control: number): boolean;
|
|
22254
22269
|
|
|
22270
|
+
/**
|
|
22271
|
+
* Gets if the specified `rawKeyIndex` is pressed down, even if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014).
|
|
22272
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
22273
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
22274
|
+
* @return Returns bool value of down state.
|
|
22275
|
+
*/
|
|
22276
|
+
declare function IsDisabledRawKeyDown(rawKeyIndex: number): boolean;
|
|
22277
|
+
|
|
22278
|
+
/**
|
|
22279
|
+
* Gets if the specified `rawKeyIndex` is pressed, even if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014).
|
|
22280
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
22281
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
22282
|
+
* @return Returns bool value of pressed state.
|
|
22283
|
+
*/
|
|
22284
|
+
declare function IsDisabledRawKeyPressed(rawKeyIndex: number): boolean;
|
|
22285
|
+
|
|
22286
|
+
/**
|
|
22287
|
+
* Gets if the specified `rawKeyIndex` was released, even if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014).
|
|
22288
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
22289
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
22290
|
+
* @return Returns bool value of released state.
|
|
22291
|
+
*/
|
|
22292
|
+
declare function IsDisabledRawKeyReleased(rawKeyIndex: number): boolean;
|
|
22293
|
+
|
|
22294
|
+
/**
|
|
22295
|
+
* Gets if the specified `rawKeyIndex` is up, even if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014).
|
|
22296
|
+
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
22297
|
+
* @param rawKeyIndex Index of raw key from keyboard.
|
|
22298
|
+
* @return Returns bool value of up state.
|
|
22299
|
+
*/
|
|
22300
|
+
declare function IsDisabledRawKeyUp(rawKeyIndex: number): boolean;
|
|
22301
|
+
|
|
22255
22302
|
/**
|
|
22256
22303
|
* Example:
|
|
22257
22304
|
* DLC::IS_DLC_PRESENT($\mpbusiness2\);
|
|
@@ -24378,7 +24425,8 @@ declare function IsRadioStationFavourited(radioStation: string): boolean;
|
|
|
24378
24425
|
declare function IsRadioStationVisible(radioStation: string): boolean;
|
|
24379
24426
|
|
|
24380
24427
|
/**
|
|
24381
|
-
*
|
|
24428
|
+
* Gets if the specified `rawKeyIndex` is pressed down on the keyboard.
|
|
24429
|
+
* This will not be triggered if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014)
|
|
24382
24430
|
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24383
24431
|
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24384
24432
|
* @return Returns bool value of down state.
|
|
@@ -24386,7 +24434,8 @@ declare function IsRadioStationVisible(radioStation: string): boolean;
|
|
|
24386
24434
|
declare function IsRawKeyDown(rawKeyIndex: number): boolean;
|
|
24387
24435
|
|
|
24388
24436
|
/**
|
|
24389
|
-
*
|
|
24437
|
+
* Gets if the specified `rawKeyIndex` is pressed on the keyboard.
|
|
24438
|
+
* This will not be triggered if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014)
|
|
24390
24439
|
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24391
24440
|
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24392
24441
|
* @return Returns bool value of pressed state.
|
|
@@ -24394,7 +24443,8 @@ declare function IsRawKeyDown(rawKeyIndex: number): boolean;
|
|
|
24394
24443
|
declare function IsRawKeyPressed(rawKeyIndex: number): boolean;
|
|
24395
24444
|
|
|
24396
24445
|
/**
|
|
24397
|
-
*
|
|
24446
|
+
* Gets if the specified `rawKeyIndex` was just released on the keyboard.
|
|
24447
|
+
* This will not be triggered if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014)
|
|
24398
24448
|
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24399
24449
|
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24400
24450
|
* @return Returns bool value of released state.
|
|
@@ -24402,7 +24452,8 @@ declare function IsRawKeyPressed(rawKeyIndex: number): boolean;
|
|
|
24402
24452
|
declare function IsRawKeyReleased(rawKeyIndex: number): boolean;
|
|
24403
24453
|
|
|
24404
24454
|
/**
|
|
24405
|
-
*
|
|
24455
|
+
* Gets if the specified `rawKeyIndex` is up on the keyboard.
|
|
24456
|
+
* This will not be triggered if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\_0x8BCF0014)
|
|
24406
24457
|
* Virtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
|
|
24407
24458
|
* @param rawKeyIndex Index of raw key from keyboard.
|
|
24408
24459
|
* @return Returns bool value of up state.
|