@citizenfx/client 2.0.5820-1 → 2.0.5823-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 +28 -1
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -2907,6 +2907,12 @@ declare function ClearVehicleTasks(vehicle: number): void;
|
|
|
2907
2907
|
*/
|
|
2908
2908
|
declare function N_0xdbbc7a2432524127(vehicle: number): void;
|
|
2909
2909
|
|
|
2910
|
+
/**
|
|
2911
|
+
* Removes vehicle xenon lights custom RGB color.
|
|
2912
|
+
* @param vehicle The vehicle handle.
|
|
2913
|
+
*/
|
|
2914
|
+
declare function ClearVehicleXenonLightsCustomColor(vehicle: number): void;
|
|
2915
|
+
|
|
2910
2916
|
declare function ClearWeatherTypePersist(): void;
|
|
2911
2917
|
|
|
2912
2918
|
/**
|
|
@@ -13376,6 +13382,16 @@ declare function GetVehicleHeadlightsColour(vehicle: number): number;
|
|
|
13376
13382
|
*/
|
|
13377
13383
|
declare function GetVehicleXenonLightsColour(vehicle: number): number;
|
|
13378
13384
|
|
|
13385
|
+
/**
|
|
13386
|
+
* Returns vehicle xenon lights custom RGB color values. Do note this native doesn't return non-RGB colors that was set with [\_SET_VEHICLE_XENON_LIGHTS_COLOR](#\_0xE41033B25D003A07).
|
|
13387
|
+
* @param vehicle The vehicle handle.
|
|
13388
|
+
* @param red Red color (0-255).
|
|
13389
|
+
* @param green Green color (0-255).
|
|
13390
|
+
* @param blue Blue color (0-255).
|
|
13391
|
+
* @return A boolean indicating if vehicle have custom xenon lights RGB color.
|
|
13392
|
+
*/
|
|
13393
|
+
declare function GetVehicleXenonLightsCustomColor(vehicle: number): [boolean, number, number, number];
|
|
13394
|
+
|
|
13379
13395
|
/**
|
|
13380
13396
|
* NativeDB Introduced: v2372
|
|
13381
13397
|
*/
|
|
@@ -26815,7 +26831,9 @@ declare function N_0x1e45b34adebee48e(): void;
|
|
|
26815
26831
|
declare function RemoveAllCoverBlockingAreas(): void;
|
|
26816
26832
|
|
|
26817
26833
|
/**
|
|
26818
|
-
*
|
|
26834
|
+
* Parameter `p1` does not seem to be used or referenced in game binaries.\
|
|
26835
|
+
* **Note:** When called for networked entities, a `CRemoveAllWeaponsEvent` will be created per request.
|
|
26836
|
+
* @param ped The ped entity
|
|
26819
26837
|
*/
|
|
26820
26838
|
declare function RemoveAllPedWeapons(ped: number, p1: boolean): void;
|
|
26821
26839
|
|
|
@@ -37161,6 +37179,15 @@ declare function SetVehicleHeadlightsColour(vehicle: number, color: number): voi
|
|
|
37161
37179
|
*/
|
|
37162
37180
|
declare function SetVehicleXenonLightsColour(vehicle: number, color: number): void;
|
|
37163
37181
|
|
|
37182
|
+
/**
|
|
37183
|
+
* Sets custom vehicle xenon lights color, allowing to use RGB palette. The game will ignore lights color set by [\_SET_VEHICLE_XENON_LIGHTS_COLOR](#\_0xE41033B25D003A07) when custom color is active. This native is not synced between players. Requires xenon lights mod to be set on vehicle.
|
|
37184
|
+
* @param vehicle The vehicle handle.
|
|
37185
|
+
* @param red Red color (0-255).
|
|
37186
|
+
* @param green Green color (0-255).
|
|
37187
|
+
* @param blue Blue color (0-255).
|
|
37188
|
+
*/
|
|
37189
|
+
declare function SetVehicleXenonLightsCustomColor(vehicle: number, red: number, green: number, blue: number): void;
|
|
37190
|
+
|
|
37164
37191
|
/**
|
|
37165
37192
|
* Overrides a floating point value from `visualsettings.dat` temporarily.
|
|
37166
37193
|
* @param name The name of the value to set, such as `pedLight.color.red`.
|