@citizenfx/client 2.0.5531-1 → 2.0.5536-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 +209 -68
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -1342,6 +1342,7 @@ declare function N_0xfd1695c5d3b05439(entity1: number, entity2: number, entityBo
|
|
|
1342
1342
|
|
|
1343
1343
|
declare function AttachEntityToCargobob(vehicle: number, entity: number, p2: number, x: number, y: number, z: number): void;
|
|
1344
1344
|
declare function N_0xa1dd82f3ccf9a01e(vehicle: number, entity: number, p2: number, x: number, y: number, z: number): void;
|
|
1345
|
+
declare function AttachEntityToCargobob(vehicle: number, entity: number, p2: number, x: number, y: number, z: number): void;
|
|
1345
1346
|
|
|
1346
1347
|
/**
|
|
1347
1348
|
* Attaches entity1 to bone (boneIndex) of entity2.
|
|
@@ -2094,7 +2095,21 @@ declare function CanRegisterMissionPickups(amount: number): boolean;
|
|
|
2094
2095
|
|
|
2095
2096
|
declare function CanRegisterMissionVehicles(amount: number): boolean;
|
|
2096
2097
|
|
|
2098
|
+
/**
|
|
2099
|
+
* Returns when it is safe to start applying changes to cutscene entities.
|
|
2100
|
+
* Should always be used for applying components.
|
|
2101
|
+
* See [`SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED`](#\_0x2A56C06EBEF2B0D9) and [`REGISTER_ENTITY_FOR_CUTSCENE`](#\_0xE40C1C56DF95C2E8) for an example.
|
|
2102
|
+
* This will be true before the cutscene is considered loaded
|
|
2103
|
+
* @return Whether you can request assets for cutscene entities, like components.
|
|
2104
|
+
*/
|
|
2097
2105
|
declare function CanRequestAssetsForCutsceneEntity(): boolean;
|
|
2106
|
+
/**
|
|
2107
|
+
* Returns when it is safe to start applying changes to cutscene entities.
|
|
2108
|
+
* Should always be used for applying components.
|
|
2109
|
+
* See [`SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED`](#\_0x2A56C06EBEF2B0D9) and [`REGISTER_ENTITY_FOR_CUTSCENE`](#\_0xE40C1C56DF95C2E8) for an example.
|
|
2110
|
+
* This will be true before the cutscene is considered loaded
|
|
2111
|
+
* @return Whether you can request assets for cutscene entities, like components.
|
|
2112
|
+
*/
|
|
2098
2113
|
declare function N_0xb56bbbcc2955d9cb(): boolean;
|
|
2099
2114
|
|
|
2100
2115
|
/**
|
|
@@ -2102,8 +2117,18 @@ declare function N_0xb56bbbcc2955d9cb(): boolean;
|
|
|
2102
2117
|
*/
|
|
2103
2118
|
declare function CanSetEnterStateForRegisteredEntity(cutsceneEntName: string, modelHash: string | number): boolean;
|
|
2104
2119
|
|
|
2120
|
+
/**
|
|
2121
|
+
* Whether or not it is safe to run functions on the camera,
|
|
2122
|
+
* as the camera is now no longer being used by the cutscene.
|
|
2123
|
+
* @param p0 Mostly false
|
|
2124
|
+
*/
|
|
2105
2125
|
declare function CanSetExitStateForCamera(p0: boolean): boolean;
|
|
2106
2126
|
|
|
2127
|
+
/**
|
|
2128
|
+
* Whether it is safe to start doing scripted actions on the entity, like simulating walking out of a cutscene.
|
|
2129
|
+
* @param cutsceneEntName i.e Michael
|
|
2130
|
+
* @param modelHash Can be 0
|
|
2131
|
+
*/
|
|
2107
2132
|
declare function CanSetExitStateForRegisteredEntity(cutsceneEntName: string, modelHash: string | number): boolean;
|
|
2108
2133
|
|
|
2109
2134
|
declare function CanShuffleSeat(vehicle: number, seatIndex: number): boolean;
|
|
@@ -7577,10 +7602,36 @@ declare function GetCutFileNumSections(cutsceneName: string): number;
|
|
|
7577
7602
|
*/
|
|
7578
7603
|
declare function N_0x0abc54de641dc0fc(cutsceneName: string): number;
|
|
7579
7604
|
|
|
7605
|
+
/**
|
|
7606
|
+
* Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](\_0xC23DE0E91C30B58C)
|
|
7607
|
+
* If a cutscene is laid out with 10 second sections, and section 0 and 1 are enabled then it would be 20000ms.
|
|
7608
|
+
* ```
|
|
7609
|
+
* NativeDB Introduced: v1734
|
|
7610
|
+
* ```
|
|
7611
|
+
*/
|
|
7612
|
+
declare function GetCutsceneEndTime(): number;
|
|
7613
|
+
/**
|
|
7614
|
+
* Returns the time of the cutscene's end accounting for [`REQUEST_CUTSCENE_WITH_PLAYBACK_LIST`](\_0xC23DE0E91C30B58C)
|
|
7615
|
+
* If a cutscene is laid out with 10 second sections, and section 0 and 1 are enabled then it would be 20000ms.
|
|
7616
|
+
* ```
|
|
7617
|
+
* NativeDB Introduced: v1734
|
|
7618
|
+
* ```
|
|
7619
|
+
*/
|
|
7620
|
+
declare function N_0x971d7b15bcdbef99(): number;
|
|
7621
|
+
|
|
7580
7622
|
declare function GetCutsceneSectionPlaying(): number;
|
|
7581
7623
|
|
|
7624
|
+
/**
|
|
7625
|
+
* Gets the elapsed time of the current cutscene in
|
|
7626
|
+
* @return Elapsed time in milliseconds
|
|
7627
|
+
*/
|
|
7582
7628
|
declare function GetCutsceneTime(): number;
|
|
7583
7629
|
|
|
7630
|
+
/**
|
|
7631
|
+
* Gets the total length of the cutscene irrespective of playback list in milliseconds
|
|
7632
|
+
* To account for sections, see [`_GET_CUTSCENE_END_TIME`]()
|
|
7633
|
+
* @return Cutscene total length in milliseconds
|
|
7634
|
+
*/
|
|
7584
7635
|
declare function GetCutsceneTotalDuration(): number;
|
|
7585
7636
|
|
|
7586
7637
|
declare function GetDeadPedPickupCoords(ped: number, p1: number, p2: number): number[];
|
|
@@ -7948,6 +7999,12 @@ declare function GetEntityHeightAboveGround(entity: number): number;
|
|
|
7948
7999
|
*/
|
|
7949
8000
|
declare function GetEntityIndexFromMapdata(mapdata: number, entity: number): number;
|
|
7950
8001
|
|
|
8002
|
+
/**
|
|
8003
|
+
* Returns the handle of a cutscene entity, can be ped
|
|
8004
|
+
* @param cutsceneEntName I.E MP\_1, MP\_4, Michael, Trevor
|
|
8005
|
+
* @param modelHash Not strictly neccasary, can get 0
|
|
8006
|
+
* @return Returns entity handle
|
|
8007
|
+
*/
|
|
7951
8008
|
declare function GetEntityIndexOfCutsceneEntity(cutsceneEntName: string, modelHash: string | number): number;
|
|
7952
8009
|
|
|
7953
8010
|
declare function GetEntityIndexOfRegisteredEntity(cutsceneEntName: string, modelHash: string | number): number;
|
|
@@ -8266,6 +8323,7 @@ declare function GetFrameTime(): number;
|
|
|
8266
8323
|
* * 2189
|
|
8267
8324
|
* * 2372
|
|
8268
8325
|
* * 2545
|
|
8326
|
+
* * 2612
|
|
8269
8327
|
* * RedM
|
|
8270
8328
|
* * 1311
|
|
8271
8329
|
* * 1355
|
|
@@ -8748,11 +8806,6 @@ declare function GetIsRightVehicleHeadlightDamaged(vehicle: number): boolean;
|
|
|
8748
8806
|
*/
|
|
8749
8807
|
declare function IsHeadlightRBroken(vehicle: number): boolean;
|
|
8750
8808
|
|
|
8751
|
-
/**
|
|
8752
|
-
* NativeDB Introduced: v1290
|
|
8753
|
-
*/
|
|
8754
|
-
declare function GetIsSubmarineVehicleTransformed(vehicle: number): boolean;
|
|
8755
|
-
|
|
8756
8809
|
/**
|
|
8757
8810
|
* Task index enum: https://alloc8or.re/gta5/doc/enums/eTaskTypeIndex.txt
|
|
8758
8811
|
*/
|
|
@@ -12167,16 +12220,6 @@ declare function GetVehicleAttachedToCargobob(cargobob: number): number;
|
|
|
12167
12220
|
*/
|
|
12168
12221
|
declare function GetVehicleBodyHealth(vehicle: number): number;
|
|
12169
12222
|
|
|
12170
|
-
/**
|
|
12171
|
-
* NativeDB Added Parameter 2: float maxEngineHealth
|
|
12172
|
-
* NativeDB Added Parameter 3: float maxPetrolTankHealth
|
|
12173
|
-
* NativeDB Added Parameter 4: float maxBodyHealth
|
|
12174
|
-
* NativeDB Added Parameter 5: float maxMainRotorHealth
|
|
12175
|
-
* NativeDB Added Parameter 6: float maxTailRotorHealth
|
|
12176
|
-
* NativeDB Added Parameter 7: float maxUnkHealth
|
|
12177
|
-
*/
|
|
12178
|
-
declare function GetVehicleBodyHealth_2(vehicle: number): number;
|
|
12179
|
-
|
|
12180
12223
|
/**
|
|
12181
12224
|
* Gets the amount of bombs that this vehicle has. As far as I know, this does *not* impact vehicle weapons or the ammo of those weapons in any way, it is just a way to keep track of the amount of bombs in a specific plane.
|
|
12182
12225
|
* In decompiled scripts this is used to check if the vehicle has enough bombs before a bomb can be dropped (bombs are dropped by using [`_SHOOT_SINGLE_BULLET_BETWEEN_COORDS_WITH_EXTRA_PARAMS`](#\_0xBFE5756E7407064A)).
|
|
@@ -12496,6 +12539,25 @@ declare function GetVehicleHasParachute(vehicle: number): boolean;
|
|
|
12496
12539
|
declare function HasVehicleParachute(vehicle: number): boolean;
|
|
12497
12540
|
declare function DoesVehicleHaveParachute(vehicle: number): boolean;
|
|
12498
12541
|
|
|
12542
|
+
/**
|
|
12543
|
+
* NativeDB Added Parameter 2: float maxEngineHealth
|
|
12544
|
+
* NativeDB Added Parameter 3: float maxPetrolTankHealth
|
|
12545
|
+
* NativeDB Added Parameter 4: float maxBodyHealth
|
|
12546
|
+
* NativeDB Added Parameter 5: float maxMainRotorHealth
|
|
12547
|
+
* NativeDB Added Parameter 6: float maxTailRotorHealth
|
|
12548
|
+
* NativeDB Added Parameter 7: float maxUnkHealth
|
|
12549
|
+
*/
|
|
12550
|
+
declare function GetVehicleHealthPercentage(vehicle: number): number;
|
|
12551
|
+
/**
|
|
12552
|
+
* NativeDB Added Parameter 2: float maxEngineHealth
|
|
12553
|
+
* NativeDB Added Parameter 3: float maxPetrolTankHealth
|
|
12554
|
+
* NativeDB Added Parameter 4: float maxBodyHealth
|
|
12555
|
+
* NativeDB Added Parameter 5: float maxMainRotorHealth
|
|
12556
|
+
* NativeDB Added Parameter 6: float maxTailRotorHealth
|
|
12557
|
+
* NativeDB Added Parameter 7: float maxUnkHealth
|
|
12558
|
+
*/
|
|
12559
|
+
declare function GetVehicleBodyHealth_2(vehicle: number): number;
|
|
12560
|
+
|
|
12499
12561
|
declare function GetVehicleHighGear(vehicle: number): number;
|
|
12500
12562
|
|
|
12501
12563
|
/**
|
|
@@ -14061,7 +14123,13 @@ declare function N_0x62ab793144de75dc(ped: number, p1: number, p2: boolean): voi
|
|
|
14061
14123
|
*/
|
|
14062
14124
|
declare function HidePedWeaponForScriptedCutscene(ped: number, toggle: boolean): void;
|
|
14063
14125
|
|
|
14126
|
+
/**
|
|
14127
|
+
* Related to portable pickups
|
|
14128
|
+
*/
|
|
14064
14129
|
declare function HidePickup(pickup: number, toggle: boolean): void;
|
|
14130
|
+
/**
|
|
14131
|
+
* Related to portable pickups
|
|
14132
|
+
*/
|
|
14065
14133
|
declare function N_0x867458251d47ccb2(pickup: number, toggle: boolean): void;
|
|
14066
14134
|
|
|
14067
14135
|
declare function HideScriptedHudComponentThisFrame(id: number): void;
|
|
@@ -14976,7 +15044,7 @@ declare function IsNuiFocusKeepingInput(): boolean;
|
|
|
14976
15044
|
declare function IsNuiFocused(): boolean;
|
|
14977
15045
|
|
|
14978
15046
|
declare function IsObjectAPickup(object: number): boolean;
|
|
14979
|
-
declare function
|
|
15047
|
+
declare function N_0xfc481c641ebbd27d(object: number): boolean;
|
|
14980
15048
|
|
|
14981
15049
|
/**
|
|
14982
15050
|
* NativeDB Introduced: v1365
|
|
@@ -14985,7 +15053,7 @@ declare function IsObjectAPortablePickup(object: number): boolean;
|
|
|
14985
15053
|
/**
|
|
14986
15054
|
* NativeDB Introduced: v1365
|
|
14987
15055
|
*/
|
|
14988
|
-
declare function
|
|
15056
|
+
declare function N_0x0378c08504160d0d(object: number): boolean;
|
|
14989
15057
|
|
|
14990
15058
|
declare function IsObjectEntirelyInsideGarage(garageHash: string | number, entity: number, p2: number, p3: number): boolean;
|
|
14991
15059
|
declare function N_0x372ef6699146a1e4(garageHash: string | number, entity: number, p2: number, p3: number): boolean;
|
|
@@ -16120,6 +16188,15 @@ declare function IsVehicleInBurnout(vehicle: number): boolean;
|
|
|
16120
16188
|
*/
|
|
16121
16189
|
declare function IsVehicleInGarageArea(garageName: string, vehicle: number): boolean;
|
|
16122
16190
|
|
|
16191
|
+
/**
|
|
16192
|
+
* NativeDB Introduced: v1290
|
|
16193
|
+
*/
|
|
16194
|
+
declare function IsVehicleInSubmarineMode(vehicle: number): boolean;
|
|
16195
|
+
/**
|
|
16196
|
+
* NativeDB Introduced: v1290
|
|
16197
|
+
*/
|
|
16198
|
+
declare function GetIsSubmarineVehicleTransformed(vehicle: number): boolean;
|
|
16199
|
+
|
|
16123
16200
|
declare function IsVehicleInteriorLightOn(vehicle: number): boolean;
|
|
16124
16201
|
|
|
16125
16202
|
declare function IsVehicleModel(vehicle: number, model: string | number): boolean;
|
|
@@ -17590,7 +17667,10 @@ declare function N_0x2c42340f916c5930(p0: number): number;
|
|
|
17590
17667
|
*/
|
|
17591
17668
|
declare function N_0x2c4a1590abf43e8b(vehicle: number, p1: boolean): void;
|
|
17592
17669
|
|
|
17593
|
-
|
|
17670
|
+
/**
|
|
17671
|
+
* Correct native name lies between SET_BLIP_SPRITE and SET_RADIUS_BLIP_EDGE alphabetically.
|
|
17672
|
+
*/
|
|
17673
|
+
declare function N_0x2c9f302398e13141(blip: number, p1: number): void;
|
|
17594
17674
|
|
|
17595
17675
|
declare function N_0x2cd90358f67d0aa8(p0: number): void;
|
|
17596
17676
|
|
|
@@ -19357,14 +19437,6 @@ declare function N_0x96e2929292a4db77(componentHash: string | number): number;
|
|
|
19357
19437
|
|
|
19358
19438
|
declare function N_0x96e6d5150dbf1c09(p0: number, p1: number, p2: number): void;
|
|
19359
19439
|
|
|
19360
|
-
/**
|
|
19361
|
-
* GET_CUTSCENE_\*
|
|
19362
|
-
* ```
|
|
19363
|
-
* NativeDB Introduced: v1734
|
|
19364
|
-
* ```
|
|
19365
|
-
*/
|
|
19366
|
-
declare function N_0x971d7b15bcdbef99(): number;
|
|
19367
|
-
|
|
19368
19440
|
declare function N_0x973d76aa760a6cb6(p0: boolean): void;
|
|
19369
19441
|
|
|
19370
19442
|
/**
|
|
@@ -20168,6 +20240,10 @@ declare function N_0xc34bc448da29f5e9(entity: number, toggle: boolean): void;
|
|
|
20168
20240
|
|
|
20169
20241
|
declare function N_0xc35a6d07c93802b2(): void;
|
|
20170
20242
|
|
|
20243
|
+
/**
|
|
20244
|
+
* Vehicle must be a plane.
|
|
20245
|
+
* Native name is between SET_VEHICLE_BRAKE_LIGHTS and SET_VEHICLE_BULLDOZER_ARM_POSITION alphabetically.
|
|
20246
|
+
*/
|
|
20171
20247
|
declare function N_0xc361aa040d6637a8(vehicle: number, p1: boolean): void;
|
|
20172
20248
|
|
|
20173
20249
|
declare function N_0xc42dd763159f3461(): boolean;
|
|
@@ -20373,7 +20449,10 @@ declare function N_0xd0ee05fe193646ea(): [boolean, number, number, number];
|
|
|
20373
20449
|
declare function N_0xd10282b6e3751ba0(): number;
|
|
20374
20450
|
|
|
20375
20451
|
/**
|
|
20452
|
+
* Sets a byte that is then used in session_host and session_join metrics when hosting or joining a session
|
|
20453
|
+
* ```
|
|
20376
20454
|
* PLAYSTATS_S*
|
|
20455
|
+
* ```
|
|
20377
20456
|
*/
|
|
20378
20457
|
declare function N_0xd1032e482629049e(p0: number): void;
|
|
20379
20458
|
|
|
@@ -20597,6 +20676,9 @@ declare function N_0xe111a7c0d200cbc5(p0: number, p1: number): void;
|
|
|
20597
20676
|
*/
|
|
20598
20677
|
declare function N_0xe154b48b68ef72bc(p0: number): boolean;
|
|
20599
20678
|
|
|
20679
|
+
/**
|
|
20680
|
+
* Native name is SET_PLANE_\*
|
|
20681
|
+
*/
|
|
20600
20682
|
declare function N_0xe16142b94664defd(vehicle: number, p1: boolean): void;
|
|
20601
20683
|
|
|
20602
20684
|
/**
|
|
@@ -20916,8 +20998,6 @@ declare function N_0xf55e4046f6f831dc(p0: number, p1: number): void;
|
|
|
20916
20998
|
|
|
20917
20999
|
declare function N_0xf56dfb7b61be7276(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number, p7: number, p8: number, p9: number, p10: number, p11: number, p12?: number): [boolean, number];
|
|
20918
21000
|
|
|
20919
|
-
declare function N_0xf5bb8dac426a52c0(): [number, number, number, number];
|
|
20920
|
-
|
|
20921
21001
|
declare function N_0xf6baaaf762e1bf40(p0: string, p1?: number): [boolean, number];
|
|
20922
21002
|
|
|
20923
21003
|
declare function N_0xf6f4383b7c92f11a(p0: number): void;
|
|
@@ -25661,10 +25741,11 @@ declare function PlaystatsCollectible(p0: number, p1: number, p2: number, p3: nu
|
|
|
25661
25741
|
declare function PlaystatsCopyRankIntoNewSlot(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number): void;
|
|
25662
25742
|
declare function N_0xb7257ba2550ea10a(p0: number, p1: number, p2: number, p3: number, p4: number, p5: number, p6: number): void;
|
|
25663
25743
|
|
|
25664
|
-
declare function
|
|
25744
|
+
declare function PlaystatsCrateCreated(p0: number, p1: number, p2: number): void;
|
|
25665
25745
|
declare function N_0xafc7e5e075a96f46(p0: number, p1: number, p2: number): void;
|
|
25666
25746
|
declare function PlaystatsAmbientMissionCrateCreated(p0: number, p1: number, p2: number): void;
|
|
25667
25747
|
declare function PlaystatsCrateCreated(p0: number, p1: number, p2: number): void;
|
|
25748
|
+
declare function PlaystatsCrateCreatedMissionDone(p0: number, p1: number, p2: number): void;
|
|
25668
25749
|
|
|
25669
25750
|
/**
|
|
25670
25751
|
* NativeDB Added Parameter 7: Any p6
|
|
@@ -25735,6 +25816,7 @@ declare function PlaystatsH2InstanceEnd(p1: number, p2: number, p3: number): num
|
|
|
25735
25816
|
|
|
25736
25817
|
declare function PlaystatsHeistSaveCheat(hash: string | number, p1: number): void;
|
|
25737
25818
|
declare function N_0xf4ff020a08bc8863(hash: string | number, p1: number): void;
|
|
25819
|
+
declare function PlaystatsHeistSaveCheat(hash: string | number, p1: number): void;
|
|
25738
25820
|
|
|
25739
25821
|
declare function PlaystatsHoldUpMissionDone(p0: number, p1: number, p2: number, p3: number): void;
|
|
25740
25822
|
declare function N_0xcb00196b31c39eb1(p0: number, p1: number, p2: number, p3: number): void;
|
|
@@ -25753,6 +25835,9 @@ declare function PlaystatsImportExportMissionDone(p0: number, p1: number, p2: nu
|
|
|
25753
25835
|
declare function N_0x2b69f5074c894811(p0: number, p1: number, p2: number, p3: number): void;
|
|
25754
25836
|
declare function PlaystatsImpExp(p0: number, p1: number, p2: number, p3: number): void;
|
|
25755
25837
|
|
|
25838
|
+
declare function PlaystatsJobBend(): [number, number, number, number];
|
|
25839
|
+
declare function N_0xf5bb8dac426a52c0(): [number, number, number, number];
|
|
25840
|
+
|
|
25756
25841
|
declare function PlaystatsLeaveJobChain(p0: number, p1: number, p2: number, p3: number, p4: number): void;
|
|
25757
25842
|
declare function N_0xc5be134ec7ba96a0(p0: number, p1: number, p2: number, p3: number, p4: number): void;
|
|
25758
25843
|
|
|
@@ -26147,7 +26232,14 @@ declare function RegisterCommand(commandName: string, handler: Function, restric
|
|
|
26147
26232
|
*/
|
|
26148
26233
|
declare function RegisterEntities(factory: Function): void;
|
|
26149
26234
|
|
|
26150
|
-
|
|
26235
|
+
/**
|
|
26236
|
+
* This can only be run once [`CAN_REQUEST_ASSETS_FOR_CUTSCENE_ENTITY`](#\_0xB56BBBCC2955D9CB) is true, but can be run before [`HAS_CUTSCENE_LOADED`](#\_0xC59F528E9AB9F339)
|
|
26237
|
+
* @param cutsceneEntity Entity to put into the cutscene.
|
|
26238
|
+
* @param cutsceneEntName cHandle of cutscene entity, i.e Michael, MP\_1, MP\_4, Lamar
|
|
26239
|
+
* @param modelHash Not strictly neccasary, often 0 in R\* scripts
|
|
26240
|
+
* @param p4 0 for SP, 64 for MP seemingly
|
|
26241
|
+
*/
|
|
26242
|
+
declare function RegisterEntityForCutscene(cutsceneEntity: number, cutsceneEntName: string, p2: number, modelHash: string | number, p4: number): void;
|
|
26151
26243
|
|
|
26152
26244
|
declare function RegisterEnumToSave(name: string): number;
|
|
26153
26245
|
|
|
@@ -26271,6 +26363,9 @@ declare function RegisterStreamingFileFromKvs(kvsKey: string): void;
|
|
|
26271
26363
|
*/
|
|
26272
26364
|
declare function RegisterStreamingFileFromUrl(registerAs: string, url: string): void;
|
|
26273
26365
|
|
|
26366
|
+
/**
|
|
26367
|
+
* Only used twice in armenian1.c
|
|
26368
|
+
*/
|
|
26274
26369
|
declare function RegisterSynchronisedScriptSpeech(): void;
|
|
26275
26370
|
|
|
26276
26371
|
/**
|
|
@@ -26899,27 +26994,24 @@ declare function RequestCutFile(cutsceneName: string): void;
|
|
|
26899
26994
|
*/
|
|
26900
26995
|
declare function N_0x06a3524161c502ba(cutsceneName: string): void;
|
|
26901
26996
|
|
|
26902
|
-
/**
|
|
26903
|
-
* flags: Usually 8
|
|
26904
|
-
*/
|
|
26905
26997
|
declare function RequestCutscene(cutsceneName: string, flags: number): void;
|
|
26906
26998
|
|
|
26907
26999
|
/**
|
|
26908
|
-
* flags: Usually 8
|
|
26909
27000
|
* playbackFlags: Which scenes should be played.
|
|
26910
27001
|
* Example: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9.
|
|
27002
|
+
* @param flags Usually 8
|
|
26911
27003
|
*/
|
|
26912
27004
|
declare function RequestCutsceneWithPlaybackList(cutsceneName: string, playbackFlags: number, flags: number): void;
|
|
26913
27005
|
/**
|
|
26914
|
-
* flags: Usually 8
|
|
26915
27006
|
* playbackFlags: Which scenes should be played.
|
|
26916
27007
|
* Example: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9.
|
|
27008
|
+
* @param flags Usually 8
|
|
26917
27009
|
*/
|
|
26918
27010
|
declare function N_0xc23de0e91c30b58c(cutsceneName: string, playbackFlags: number, flags: number): void;
|
|
26919
27011
|
/**
|
|
26920
|
-
* flags: Usually 8
|
|
26921
27012
|
* playbackFlags: Which scenes should be played.
|
|
26922
27013
|
* Example: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9.
|
|
27014
|
+
* @param flags Usually 8
|
|
26923
27015
|
*/
|
|
26924
27016
|
declare function RequestCutsceneEx(cutsceneName: string, playbackFlags: number, flags: number): void;
|
|
26925
27017
|
|
|
@@ -27995,11 +28087,15 @@ declare function SetAnimLooped(p0: number, p1: boolean, p2: number, p3: boolean)
|
|
|
27995
28087
|
/**
|
|
27996
28088
|
* NativeDB Introduced: v2372
|
|
27997
28089
|
*/
|
|
27998
|
-
declare function
|
|
28090
|
+
declare function SetAnimPhase(entity: number, p1: number, p2: number, p3: boolean): void;
|
|
27999
28091
|
/**
|
|
28000
28092
|
* NativeDB Introduced: v2372
|
|
28001
28093
|
*/
|
|
28002
28094
|
declare function N_0xddf3cb5a0a4c0b49(entity: number, p1: number, p2: number, p3: boolean): void;
|
|
28095
|
+
/**
|
|
28096
|
+
* NativeDB Introduced: v2372
|
|
28097
|
+
*/
|
|
28098
|
+
declare function SetAnimPlaybackTime(entity: number, p1: number, p2: number, p3: boolean): void;
|
|
28003
28099
|
|
|
28004
28100
|
declare function SetAnimRate(p0: number, p1: number, p2: number, p3: boolean): void;
|
|
28005
28101
|
|
|
@@ -28773,11 +28869,11 @@ declare function SetCargobobHookCanAttach(vehicle: number, toggle: boolean): voi
|
|
|
28773
28869
|
declare function N_0x94a68da412c4007d(vehicle: number, toggle: boolean): void;
|
|
28774
28870
|
|
|
28775
28871
|
/**
|
|
28776
|
-
* Stops cargobob from
|
|
28872
|
+
* Stops cargobob from being able to detach the attached vehicle.
|
|
28777
28873
|
*/
|
|
28778
28874
|
declare function SetCargobobHookCanDetach(cargobob: number, toggle: boolean): void;
|
|
28779
28875
|
/**
|
|
28780
|
-
* Stops cargobob from
|
|
28876
|
+
* Stops cargobob from being able to detach the attached vehicle.
|
|
28781
28877
|
*/
|
|
28782
28878
|
declare function N_0x571feb383f629926(cargobob: number, toggle: boolean): void;
|
|
28783
28879
|
|
|
@@ -28986,37 +29082,61 @@ declare function SetCutsceneAudioOverride(name: string): void;
|
|
|
28986
29082
|
declare function SetCutsceneCanBeSkipped(p0: boolean): void;
|
|
28987
29083
|
declare function N_0x41faa8fb2ece8720(p0: boolean): void;
|
|
28988
29084
|
|
|
29085
|
+
/**
|
|
29086
|
+
* Only used in networked environment with MP cutscenes
|
|
29087
|
+
* @param cutsceneEntName MP\_1, MP\_2, etc
|
|
29088
|
+
* @param p1 Always 0 in R\* scripts
|
|
29089
|
+
* @param p2 Always 1 in R\* scripts
|
|
29090
|
+
*/
|
|
28989
29091
|
declare function SetCutsceneEntityStreamingFlags(cutsceneEntName: string, p1: number, p2: number): void;
|
|
29092
|
+
/**
|
|
29093
|
+
* Only used in networked environment with MP cutscenes
|
|
29094
|
+
* @param cutsceneEntName MP\_1, MP\_2, etc
|
|
29095
|
+
* @param p1 Always 0 in R\* scripts
|
|
29096
|
+
* @param p2 Always 1 in R\* scripts
|
|
29097
|
+
*/
|
|
28990
29098
|
declare function N_0x4c61c75bee8184c2(cutsceneEntName: string, p1: number, p2: number): void;
|
|
28991
29099
|
|
|
28992
29100
|
declare function SetCutsceneFadeValues(p0: boolean, p1: boolean, p2: boolean, p3: boolean): void;
|
|
28993
29101
|
|
|
28994
29102
|
/**
|
|
28995
|
-
*
|
|
29103
|
+
* Sets cutscene location, used for multiplayer apartments/businesses.
|
|
29104
|
+
* @param p4 Often -1, 0 or 1
|
|
28996
29105
|
*/
|
|
28997
|
-
declare function SetCutsceneOrigin(x: number, y: number, z: number,
|
|
29106
|
+
declare function SetCutsceneOrigin(x: number, y: number, z: number, heading: number, p4: number): void;
|
|
28998
29107
|
|
|
28999
|
-
|
|
29108
|
+
/**
|
|
29109
|
+
* See [`SET_PED_COMPONENT_VARIATION`](#\_0x262B14F48D29DE80)
|
|
29110
|
+
*/
|
|
29111
|
+
declare function SetCutscenePedComponentVariation(cutsceneEntName: string, componentId: number, drawableId: number, textureId: number, modelHash: string | number): void;
|
|
29000
29112
|
|
|
29113
|
+
/**
|
|
29114
|
+
* Sets the components for a cutscene ped, this will take precendence over the cutscene's component overrides. This does not require the entity be registered.
|
|
29115
|
+
* See
|
|
29116
|
+
* @param cutsceneEntName cut file cHandle, i.e Michael, Lamar, Franklin, MP\_1-MP\_4 etc
|
|
29117
|
+
* @param ped Ped to copy components from
|
|
29118
|
+
* @param modelHash Not strictly neccasary, can be 0
|
|
29119
|
+
*/
|
|
29001
29120
|
declare function SetCutscenePedComponentVariationFromPed(cutsceneEntName: string, ped: number, modelHash: string | number): void;
|
|
29121
|
+
/**
|
|
29122
|
+
* Sets the components for a cutscene ped, this will take precendence over the cutscene's component overrides. This does not require the entity be registered.
|
|
29123
|
+
* See
|
|
29124
|
+
* @param cutsceneEntName cut file cHandle, i.e Michael, Lamar, Franklin, MP\_1-MP\_4 etc
|
|
29125
|
+
* @param ped Ped to copy components from
|
|
29126
|
+
* @param modelHash Not strictly neccasary, can be 0
|
|
29127
|
+
*/
|
|
29002
29128
|
declare function N_0x2a56c06ebef2b0d9(cutsceneEntName: string, ped: number, modelHash: string | number): void;
|
|
29003
29129
|
|
|
29004
29130
|
/**
|
|
29005
|
-
*
|
|
29006
|
-
*
|
|
29007
|
-
* sub_2ea27("Trying to set Jimmy prop variation");
|
|
29008
|
-
* CUTSCENE::_0546524ADE2E9723("Jimmy_Boston", 1, 0, 0, 0);
|
|
29009
|
-
* }
|
|
29131
|
+
* See [`SET_PED_PROP_INDEX`](\_0x93376B65A266EB5F)
|
|
29132
|
+
* @param cutsceneEntName i.e Michael, Trevor, MP\_1, MP\_4
|
|
29010
29133
|
*/
|
|
29011
|
-
declare function SetCutscenePedPropVariation(cutsceneEntName: string,
|
|
29134
|
+
declare function SetCutscenePedPropVariation(cutsceneEntName: string, componentId: number, drawableId: number, textureId: number, modelHash: string | number): void;
|
|
29012
29135
|
/**
|
|
29013
|
-
*
|
|
29014
|
-
*
|
|
29015
|
-
* sub_2ea27("Trying to set Jimmy prop variation");
|
|
29016
|
-
* CUTSCENE::_0546524ADE2E9723("Jimmy_Boston", 1, 0, 0, 0);
|
|
29017
|
-
* }
|
|
29136
|
+
* See [`SET_PED_PROP_INDEX`](\_0x93376B65A266EB5F)
|
|
29137
|
+
* @param cutsceneEntName i.e Michael, Trevor, MP\_1, MP\_4
|
|
29018
29138
|
*/
|
|
29019
|
-
declare function N_0x0546524ade2e9723(cutsceneEntName: string,
|
|
29139
|
+
declare function N_0x0546524ade2e9723(cutsceneEntName: string, componentId: number, drawableId: number, textureId: number, modelHash: string | number): void;
|
|
29020
29140
|
|
|
29021
29141
|
/**
|
|
29022
29142
|
* Only used twice in R* scripts
|
|
@@ -37570,7 +37690,8 @@ declare function N_0x92790862e36c2ada(): void;
|
|
|
37570
37690
|
declare function StartCutscene(flags: number): void;
|
|
37571
37691
|
|
|
37572
37692
|
/**
|
|
37573
|
-
*
|
|
37693
|
+
* Similar to [`SET_CUTSCENE_ORIGIN`](\_0xB812B3FD1C01CF27) but without heading and doesn't need [`START_CUTSCENE`](\_0x186D5CB5E7B0FF7B)
|
|
37694
|
+
* @param flags Usually 0
|
|
37574
37695
|
*/
|
|
37575
37696
|
declare function StartCutsceneAtCoords(x: number, y: number, z: number, flags: number): void;
|
|
37576
37697
|
|
|
@@ -38493,6 +38614,9 @@ declare function N_0x806058bbdc136e06(): void;
|
|
|
38493
38614
|
|
|
38494
38615
|
declare function StopCutsceneCamShaking(): void;
|
|
38495
38616
|
|
|
38617
|
+
/**
|
|
38618
|
+
* Stop cutscene instantly, will dump registered entities right where they were when ran.
|
|
38619
|
+
*/
|
|
38496
38620
|
declare function StopCutsceneImmediately(): void;
|
|
38497
38621
|
|
|
38498
38622
|
/**
|
|
@@ -40110,17 +40234,6 @@ declare function TextureDownloadRelease(p0: number): void;
|
|
|
40110
40234
|
|
|
40111
40235
|
declare function TextureDownloadRequest(FilePath: string, Name: string, p3: boolean): [number, number];
|
|
40112
40236
|
|
|
40113
|
-
/**
|
|
40114
|
-
* Used in the native scripts to reference "GET_PEDHEADSHOT_TXD_STRING" and "CHAR_DEFAULT".
|
|
40115
|
-
* NativeDB Introduced: v323
|
|
40116
|
-
*/
|
|
40117
|
-
declare function ThefeedAddTxdRef(txdString1: string, txnString1: string, txdString2: string, txnString2: string): void;
|
|
40118
|
-
/**
|
|
40119
|
-
* Used in the native scripts to reference "GET_PEDHEADSHOT_TXD_STRING" and "CHAR_DEFAULT".
|
|
40120
|
-
* NativeDB Introduced: v323
|
|
40121
|
-
*/
|
|
40122
|
-
declare function N_0x317eba71d7543f52(txdString1: string, txnString1: string, txdString2: string, txnString2: string): void;
|
|
40123
|
-
|
|
40124
40237
|
declare function ThefeedClearFrozenPost(): void;
|
|
40125
40238
|
declare function N_0x80fe4f3ab4e1b62a(): void;
|
|
40126
40239
|
declare function ThefeedFlushPersistent(): void;
|
|
@@ -40352,6 +40465,22 @@ declare function ThefeedSpsExtendWidescreenOn(): void;
|
|
|
40352
40465
|
declare function N_0xd4438c0564490e63(): void;
|
|
40353
40466
|
declare function ThefeedEnableBaselineOffset(): void;
|
|
40354
40467
|
|
|
40468
|
+
/**
|
|
40469
|
+
* Used in the native scripts to reference "GET_PEDHEADSHOT_TXD_STRING" and "CHAR_DEFAULT".
|
|
40470
|
+
* NativeDB Introduced: v323
|
|
40471
|
+
*/
|
|
40472
|
+
declare function ThefeedUpdateItemTexture(txdString1: string, txnString1: string, txdString2: string, txnString2: string): void;
|
|
40473
|
+
/**
|
|
40474
|
+
* Used in the native scripts to reference "GET_PEDHEADSHOT_TXD_STRING" and "CHAR_DEFAULT".
|
|
40475
|
+
* NativeDB Introduced: v323
|
|
40476
|
+
*/
|
|
40477
|
+
declare function N_0x317eba71d7543f52(txdString1: string, txnString1: string, txdString2: string, txnString2: string): void;
|
|
40478
|
+
/**
|
|
40479
|
+
* Used in the native scripts to reference "GET_PEDHEADSHOT_TXD_STRING" and "CHAR_DEFAULT".
|
|
40480
|
+
* NativeDB Introduced: v323
|
|
40481
|
+
*/
|
|
40482
|
+
declare function ThefeedAddTxdRef(txdString1: string, txnString1: string, txdString2: string, txnString2: string): void;
|
|
40483
|
+
|
|
40355
40484
|
/**
|
|
40356
40485
|
* Counts up. Every 1000 is 1 real-time second. Use SETTIMERA(int value) to set the timer (e.g.: SETTIMERA(0)).
|
|
40357
40486
|
*/
|
|
@@ -40414,7 +40543,7 @@ declare function TrackVehicleVisibility(vehicle: number): void;
|
|
|
40414
40543
|
* @param vehicle A vehicle handle.
|
|
40415
40544
|
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40416
40545
|
*/
|
|
40417
|
-
declare function
|
|
40546
|
+
declare function TransformToCar(vehicle: number, instantly: boolean): void;
|
|
40418
40547
|
/**
|
|
40419
40548
|
* Transforms the `stormberg` to its "road vehicle" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all.
|
|
40420
40549
|
* @param vehicle A vehicle handle.
|
|
@@ -40427,13 +40556,19 @@ declare function N_0x2a69ffd1b42bff9e(vehicle: number, instantly: boolean): void
|
|
|
40427
40556
|
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40428
40557
|
*/
|
|
40429
40558
|
declare function TransformStormbergToRoadVehicle(vehicle: number, instantly: boolean): void;
|
|
40559
|
+
/**
|
|
40560
|
+
* Transforms the `stormberg` to its "road vehicle" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all.
|
|
40561
|
+
* @param vehicle A vehicle handle.
|
|
40562
|
+
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40563
|
+
*/
|
|
40564
|
+
declare function TransformSubmarineToVehicle(vehicle: number, instantly: boolean): void;
|
|
40430
40565
|
|
|
40431
40566
|
/**
|
|
40432
40567
|
* Transforms the `stormberg` to its "water vehicle" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all.
|
|
40433
40568
|
* @param vehicle A vehicle handle.
|
|
40434
40569
|
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40435
40570
|
*/
|
|
40436
|
-
declare function
|
|
40571
|
+
declare function TransformToSubmarine(vehicle: number, instantly: boolean): void;
|
|
40437
40572
|
/**
|
|
40438
40573
|
* Transforms the `stormberg` to its "water vehicle" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all.
|
|
40439
40574
|
* @param vehicle A vehicle handle.
|
|
@@ -40446,6 +40581,12 @@ declare function N_0xbe4c854ffdb6eebe(vehicle: number, instantly: boolean): void
|
|
|
40446
40581
|
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40447
40582
|
*/
|
|
40448
40583
|
declare function TransformStormbergToWaterVehicle(vehicle: number, instantly: boolean): void;
|
|
40584
|
+
/**
|
|
40585
|
+
* Transforms the `stormberg` to its "water vehicle" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all.
|
|
40586
|
+
* @param vehicle A vehicle handle.
|
|
40587
|
+
* @param instantly If true, the vehicle will be instantly transformed, when false the transform animation plays normally.
|
|
40588
|
+
*/
|
|
40589
|
+
declare function TransformVehicleToSubmarine(vehicle: number, instantly: boolean): void;
|
|
40449
40590
|
|
|
40450
40591
|
/**
|
|
40451
40592
|
* The backing function for TriggerEvent.
|