@citizenfx/client 2.0.10930-1 → 2.0.11012-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 +30 -10
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -6948,6 +6948,13 @@ declare function DoesTextLabelExist(gxt: string): boolean;
|
|
|
6948
6948
|
*/
|
|
6949
6949
|
declare function DoesTimecycleModifierHasVar(modifierName: string, varName: string): boolean;
|
|
6950
6950
|
|
|
6951
|
+
/**
|
|
6952
|
+
* DOES_TRAIN_STOP_AT_STATIONS
|
|
6953
|
+
* @param train The train handle
|
|
6954
|
+
* @return True if the train stops at stations. False otherwise
|
|
6955
|
+
*/
|
|
6956
|
+
declare function DoesTrainStopAtStations(train: number): boolean;
|
|
6957
|
+
|
|
6951
6958
|
/**
|
|
6952
6959
|
* Returns true if the vehicle has the FLAG_ALLOWS_RAPPEL flag set.
|
|
6953
6960
|
*/
|
|
@@ -15296,24 +15303,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
15296
15303
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
15297
15304
|
|
|
15298
15305
|
/**
|
|
15299
|
-
* A getter for [
|
|
15306
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15300
15307
|
* @param ped The target ped
|
|
15301
15308
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15302
15309
|
*/
|
|
15303
15310
|
declare function GetPedEyeColor(ped: number): number;
|
|
15304
|
-
|
|
15305
15311
|
/**
|
|
15306
15312
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
15307
15313
|
* @param ped The target ped
|
|
15308
15314
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15309
15315
|
*/
|
|
15310
|
-
declare function
|
|
15316
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
15317
|
+
|
|
15311
15318
|
/**
|
|
15312
|
-
* A getter for [
|
|
15319
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
15313
15320
|
* @param ped The target ped
|
|
15314
15321
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
15315
15322
|
*/
|
|
15316
|
-
declare function
|
|
15323
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
15317
15324
|
|
|
15318
15325
|
/**
|
|
15319
15326
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -18244,6 +18251,17 @@ declare function GetVehicleDashboardColor(vehicle: number, color?: number): numb
|
|
|
18244
18251
|
*/
|
|
18245
18252
|
declare function GetVehicleDashboardColour(vehicle: number, color?: number): number;
|
|
18246
18253
|
|
|
18254
|
+
/**
|
|
18255
|
+
* Retrieves the current gear displayed on the dashboard of the vehicle the player is in, returned as a float. This value represents the gear shown in the instrument cluster, such as "R" (0.0) or positive values (e.g., 1.0, 2.0, etc.) for drive gears.
|
|
18256
|
+
* @return The current gear.
|
|
18257
|
+
*/
|
|
18258
|
+
declare function GetVehicleDashboardCurrentGear(): number;
|
|
18259
|
+
/**
|
|
18260
|
+
* Retrieves the current gear displayed on the dashboard of the vehicle the player is in, returned as a float. This value represents the gear shown in the instrument cluster, such as "R" (0.0) or positive values (e.g., 1.0, 2.0, etc.) for drive gears.
|
|
18261
|
+
* @return The current gear.
|
|
18262
|
+
*/
|
|
18263
|
+
declare function GetVehicleDashboardWaterTemp(): number;
|
|
18264
|
+
|
|
18247
18265
|
/**
|
|
18248
18266
|
* GET_VEHICLE_DASHBOARD_FUEL
|
|
18249
18267
|
*/
|
|
@@ -18295,11 +18313,6 @@ declare function GetVehicleDashboardTemp(): number;
|
|
|
18295
18313
|
*/
|
|
18296
18314
|
declare function GetVehicleDashboardVacuum(): number;
|
|
18297
18315
|
|
|
18298
|
-
/**
|
|
18299
|
-
* GET_VEHICLE_DASHBOARD_WATER_TEMP
|
|
18300
|
-
*/
|
|
18301
|
-
declare function GetVehicleDashboardWaterTemp(): number;
|
|
18302
|
-
|
|
18303
18316
|
/**
|
|
18304
18317
|
* GET_VEHICLE_DEFAULT_HORN
|
|
18305
18318
|
* @return Returns the horn sound hash
|
|
@@ -54072,6 +54085,13 @@ declare function SetTrainDoorOpenRatio(train: number, doorIndex: number, ratio:
|
|
|
54072
54085
|
*/
|
|
54073
54086
|
declare function SetTrainSpeed(train: number, speed: number): void;
|
|
54074
54087
|
|
|
54088
|
+
/**
|
|
54089
|
+
* Toggles a train's ability to stop at stations
|
|
54090
|
+
* @param train The train handle
|
|
54091
|
+
* @param state True to make the train stop at stations. False to make the train not stop at stations
|
|
54092
|
+
*/
|
|
54093
|
+
declare function SetTrainStopAtStations(train: number, state: boolean): void;
|
|
54094
|
+
|
|
54075
54095
|
/**
|
|
54076
54096
|
* Only called once inside main_persitant with the parameters, 0
|
|
54077
54097
|
*/
|