@citizenfx/server 2.0.10230-1 → 2.0.10268-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_server.d.ts +454 -433
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -164,9 +164,8 @@ declare function AddStateBagChangeHandler(keyFilter: string, bagFilter: string,
|
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Applies a force to the specified entity.
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* public enum ForceType
|
|
167
|
+
* ```cpp
|
|
168
|
+
* enum eForceType
|
|
170
169
|
* {
|
|
171
170
|
* MinForce = 0,
|
|
172
171
|
* MaxForceRot = 1,
|
|
@@ -178,7 +177,7 @@ declare function AddStateBagChangeHandler(keyFilter: string, bagFilter: string,
|
|
|
178
177
|
* ```
|
|
179
178
|
* Research/documentation on the gtaforums can be found [here](https://gtaforums.com/topic/885669-precisely-define-object-physics/) and [here](https://gtaforums.com/topic/887362-apply-forces-and-momentums-to-entityobject/).
|
|
180
179
|
* @param entity The entity you want to apply a force on
|
|
181
|
-
* @param forceType
|
|
180
|
+
* @param forceType Refer to `eForceType`
|
|
182
181
|
* @param x Force amount (X)
|
|
183
182
|
* @param y Force amount (Y)
|
|
184
183
|
* @param z Force amount (Z)
|
|
@@ -2142,64 +2141,64 @@ declare function SetPedComponentVariation(ped: number, componentId: number, draw
|
|
|
2142
2141
|
* cpp
|
|
2143
2142
|
* // Potential names and hash collisions included as comments
|
|
2144
2143
|
* enum ePedConfigFlags {
|
|
2145
|
-
*
|
|
2146
|
-
*
|
|
2144
|
+
* CPED_CONFIG_FLAG_CreatedByFactory = 0,
|
|
2145
|
+
* CPED_CONFIG_FLAG_CanBeShotInVehicle = 1,
|
|
2147
2146
|
* CPED_CONFIG_FLAG_NoCriticalHits = 2,
|
|
2148
2147
|
* CPED_CONFIG_FLAG_DrownsInWater = 3,
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
*
|
|
2148
|
+
* CPED_CONFIG_FLAG_DrownsInSinkingVehicle = 4,
|
|
2149
|
+
* CPED_CONFIG_FLAG_DiesInstantlyWhenSwimming = 5,
|
|
2150
|
+
* CPED_CONFIG_FLAG_HasBulletProofVest = 6,
|
|
2152
2151
|
* CPED_CONFIG_FLAG_UpperBodyDamageAnimsOnly = 7,
|
|
2153
|
-
*
|
|
2154
|
-
*
|
|
2155
|
-
*
|
|
2156
|
-
*
|
|
2157
|
-
*
|
|
2152
|
+
* CPED_CONFIG_FLAG_NeverFallOffSkis = 8,
|
|
2153
|
+
* CPED_CONFIG_FLAG_NeverEverTargetThisPed = 9,
|
|
2154
|
+
* CPED_CONFIG_FLAG_ThisPedIsATargetPriority = 10,
|
|
2155
|
+
* CPED_CONFIG_FLAG_TargettableWithNoLos = 11,
|
|
2156
|
+
* CPED_CONFIG_FLAG_DoesntListenToPlayerGroupCommands = 12,
|
|
2158
2157
|
* CPED_CONFIG_FLAG_NeverLeavesGroup = 13,
|
|
2159
|
-
*
|
|
2160
|
-
*
|
|
2161
|
-
*
|
|
2158
|
+
* CPED_CONFIG_FLAG_DoesntDropWeaponsWhenDead = 14,
|
|
2159
|
+
* CPED_CONFIG_FLAG_SetDelayedWeaponAsCurrent = 15,
|
|
2160
|
+
* CPED_CONFIG_FLAG_KeepTasksAfterCleanUp = 16,
|
|
2162
2161
|
* CPED_CONFIG_FLAG_BlockNonTemporaryEvents = 17,
|
|
2163
|
-
*
|
|
2164
|
-
*
|
|
2165
|
-
*
|
|
2166
|
-
*
|
|
2167
|
-
*
|
|
2168
|
-
*
|
|
2162
|
+
* CPED_CONFIG_FLAG_HasAScriptBrain = 18,
|
|
2163
|
+
* CPED_CONFIG_FLAG_WaitingForScriptBrainToLoad = 19,
|
|
2164
|
+
* CPED_CONFIG_FLAG_AllowMedicsToReviveMe = 20,
|
|
2165
|
+
* CPED_CONFIG_FLAG_MoneyHasBeenGivenByScript = 21,
|
|
2166
|
+
* CPED_CONFIG_FLAG_NotAllowedToCrouch = 22,
|
|
2167
|
+
* CPED_CONFIG_FLAG_DeathPickupsPersist = 23,
|
|
2169
2168
|
* CPED_CONFIG_FLAG_IgnoreSeenMelee = 24,
|
|
2170
|
-
*
|
|
2171
|
-
*
|
|
2172
|
-
*
|
|
2173
|
-
*
|
|
2174
|
-
*
|
|
2175
|
-
*
|
|
2176
|
-
*
|
|
2177
|
-
*
|
|
2169
|
+
* CPED_CONFIG_FLAG_ForceDieIfInjured = 25,
|
|
2170
|
+
* CPED_CONFIG_FLAG_DontDragMeOutCar = 26,
|
|
2171
|
+
* CPED_CONFIG_FLAG_StayInCarOnJack = 27,
|
|
2172
|
+
* CPED_CONFIG_FLAG_ForceDieInCar = 28,
|
|
2173
|
+
* CPED_CONFIG_FLAG_GetOutUndriveableVehicle = 29,
|
|
2174
|
+
* CPED_CONFIG_FLAG_WillRemainOnBoatAfterMissionEnds = 30,
|
|
2175
|
+
* CPED_CONFIG_FLAG_DontStoreAsPersistent = 31,
|
|
2176
|
+
* CPED_CONFIG_FLAG_WillFlyThroughWindscreen = 32,
|
|
2178
2177
|
* CPED_CONFIG_FLAG_DieWhenRagdoll = 33,
|
|
2179
2178
|
* CPED_CONFIG_FLAG_HasHelmet = 34,
|
|
2180
2179
|
* CPED_CONFIG_FLAG_UseHelmet = 35,
|
|
2181
|
-
*
|
|
2182
|
-
*
|
|
2183
|
-
*
|
|
2180
|
+
* CPED_CONFIG_FLAG_DontTakeOffHelmet = 36,
|
|
2181
|
+
* CPED_CONFIG_FLAG_HideInCutscene = 37,
|
|
2182
|
+
* CPED_CONFIG_FLAG_PedIsEnemyToPlayer = 38,
|
|
2184
2183
|
* CPED_CONFIG_FLAG_DisableEvasiveDives = 39,
|
|
2185
|
-
*
|
|
2186
|
-
*
|
|
2184
|
+
* CPED_CONFIG_FLAG_PedGeneratesDeadBodyEvents = 40,
|
|
2185
|
+
* CPED_CONFIG_FLAG_DontAttackPlayerWithoutWantedLevel = 41,
|
|
2187
2186
|
* CPED_CONFIG_FLAG_DontInfluenceWantedLevel = 42,
|
|
2188
2187
|
* CPED_CONFIG_FLAG_DisablePlayerLockon = 43,
|
|
2189
2188
|
* CPED_CONFIG_FLAG_DisableLockonToRandomPeds = 44,
|
|
2190
|
-
*
|
|
2189
|
+
* CPED_CONFIG_FLAG_AllowLockonToFriendlyPlayers = 45,
|
|
2191
2190
|
* _0xDB115BFA = 46,
|
|
2192
2191
|
* CPED_CONFIG_FLAG_PedBeingDeleted = 47,
|
|
2193
2192
|
* CPED_CONFIG_FLAG_BlockWeaponSwitching = 48,
|
|
2194
|
-
*
|
|
2195
|
-
*
|
|
2196
|
-
*
|
|
2197
|
-
*
|
|
2198
|
-
*
|
|
2199
|
-
*
|
|
2200
|
-
*
|
|
2201
|
-
*
|
|
2202
|
-
*
|
|
2193
|
+
* CPED_CONFIG_FLAG_BlockGroupPedAimedAtResponse = 49,
|
|
2194
|
+
* CPED_CONFIG_FLAG_WillFollowLeaderAnyMeans = 50,
|
|
2195
|
+
* CPED_CONFIG_FLAG_BlippedByScript = 51,
|
|
2196
|
+
* CPED_CONFIG_FLAG_DrawRadarVisualField = 52,
|
|
2197
|
+
* CPED_CONFIG_FLAG_StopWeaponFiringOnImpact = 53,
|
|
2198
|
+
* CPED_CONFIG_FLAG_DissableAutoFallOffTests = 54,
|
|
2199
|
+
* CPED_CONFIG_FLAG_SteerAroundDeadBodies = 55,
|
|
2200
|
+
* CPED_CONFIG_FLAG_ConstrainToNavMesh = 56,
|
|
2201
|
+
* CPED_CONFIG_FLAG_SyncingAnimatedProps = 57,
|
|
2203
2202
|
* CPED_CONFIG_FLAG_IsFiring = 58,
|
|
2204
2203
|
* CPED_CONFIG_FLAG_WasFiring = 59,
|
|
2205
2204
|
* CPED_CONFIG_FLAG_IsStanding = 60,
|
|
@@ -2214,392 +2213,398 @@ declare function SetPedComponentVariation(ped: number, componentId: number, draw
|
|
|
2214
2213
|
* CPED_CONFIG_FLAG_KilledByStealth = 69,
|
|
2215
2214
|
* CPED_CONFIG_FLAG_KilledByTakedown = 70,
|
|
2216
2215
|
* CPED_CONFIG_FLAG_Knockedout = 71,
|
|
2217
|
-
*
|
|
2218
|
-
*
|
|
2219
|
-
*
|
|
2216
|
+
* CPED_CONFIG_FLAG_ClearRadarBlipOnDeath = 72,
|
|
2217
|
+
* CPED_CONFIG_FLAG_JustGotOffTrain = 73,
|
|
2218
|
+
* CPED_CONFIG_FLAG_JustGotOnTrain = 74,
|
|
2220
2219
|
* CPED_CONFIG_FLAG_UsingCoverPoint = 75,
|
|
2221
2220
|
* CPED_CONFIG_FLAG_IsInTheAir = 76,
|
|
2222
|
-
*
|
|
2221
|
+
* CPED_CONFIG_FLAG_KnockedUpIntoAir = 77,
|
|
2223
2222
|
* CPED_CONFIG_FLAG_IsAimingGun = 78,
|
|
2224
|
-
*
|
|
2225
|
-
*
|
|
2226
|
-
*
|
|
2227
|
-
*
|
|
2228
|
-
*
|
|
2229
|
-
*
|
|
2230
|
-
*
|
|
2231
|
-
*
|
|
2232
|
-
*
|
|
2233
|
-
*
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2237
|
-
*
|
|
2223
|
+
* CPED_CONFIG_FLAG_HasJustLeftCar = 79,
|
|
2224
|
+
* CPED_CONFIG_FLAG_TargetWhenInjuredAllowed = 80,
|
|
2225
|
+
* CPED_CONFIG_FLAG_CurrLeftFootCollNM = 81,
|
|
2226
|
+
* CPED_CONFIG_FLAG_PrevLeftFootCollNM = 82,
|
|
2227
|
+
* CPED_CONFIG_FLAG_CurrRightFootCollNM = 83,
|
|
2228
|
+
* CPED_CONFIG_FLAG_PrevRightFootCollNM = 84,
|
|
2229
|
+
* CPED_CONFIG_FLAG_HasBeenBumpedInCar = 85,
|
|
2230
|
+
* CPED_CONFIG_FLAG_InWaterTaskQuitToClimbLadder = 86,
|
|
2231
|
+
* CPED_CONFIG_FLAG_NMTwoHandedWeaponBothHandsConstrained = 87,
|
|
2232
|
+
* CPED_CONFIG_FLAG_CreatedBloodPoolTimer = 88,
|
|
2233
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromAnyPedImpact = 89,
|
|
2234
|
+
* CPED_CONFIG_FLAG_GroupPedFailedToEnterCover = 90,
|
|
2235
|
+
* CPED_CONFIG_FLAG_AlreadyChattedOnPhone = 91,
|
|
2236
|
+
* CPED_CONFIG_FLAG_AlreadyReactedToPedOnRoof = 92,
|
|
2238
2237
|
* CPED_CONFIG_FLAG_ForcePedLoadCover = 93,
|
|
2239
|
-
*
|
|
2240
|
-
*
|
|
2241
|
-
*
|
|
2238
|
+
* CPED_CONFIG_FLAG_BlockCoweringInCover = 94,
|
|
2239
|
+
* CPED_CONFIG_FLAG_BlockPeekingInCover = 95,
|
|
2240
|
+
* CPED_CONFIG_FLAG_JustLeftCarNotCheckedForDoors = 96,
|
|
2242
2241
|
* CPED_CONFIG_FLAG_VaultFromCover = 97,
|
|
2243
|
-
*
|
|
2244
|
-
*
|
|
2245
|
-
*
|
|
2242
|
+
* CPED_CONFIG_FLAG_AutoConversationLookAts = 98,
|
|
2243
|
+
* CPED_CONFIG_FLAG_UsingCrouchedPedCapsule = 99,
|
|
2244
|
+
* CPED_CONFIG_FLAG_HasDeadPedBeenReported = 100,
|
|
2246
2245
|
* CPED_CONFIG_FLAG_ForcedAim = 101,
|
|
2247
|
-
*
|
|
2248
|
-
*
|
|
2249
|
-
*
|
|
2246
|
+
* CPED_CONFIG_FLAG_SteersAroundPeds = 102,
|
|
2247
|
+
* CPED_CONFIG_FLAG_SteersAroundObjects = 103,
|
|
2248
|
+
* CPED_CONFIG_FLAG_OpenDoorArmIK = 104,
|
|
2250
2249
|
* CPED_CONFIG_FLAG_ForceReload = 105,
|
|
2251
|
-
*
|
|
2252
|
-
*
|
|
2253
|
-
*
|
|
2254
|
-
*
|
|
2255
|
-
*
|
|
2256
|
-
*
|
|
2257
|
-
*
|
|
2258
|
-
*
|
|
2259
|
-
*
|
|
2260
|
-
*
|
|
2261
|
-
*
|
|
2250
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromVehicleImpact = 106,
|
|
2251
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromBulletImpact = 107,
|
|
2252
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromExplosions = 108,
|
|
2253
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromFire = 109,
|
|
2254
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromElectrocution = 110,
|
|
2255
|
+
* CPED_CONFIG_FLAG_IsBeingDraggedToSafety = 111,
|
|
2256
|
+
* CPED_CONFIG_FLAG_HasBeenDraggedToSafety = 112,
|
|
2257
|
+
* CPED_CONFIG_FLAG_KeepWeaponHolsteredUnlessFired = 113,
|
|
2258
|
+
* CPED_CONFIG_FLAG_ForceScriptControlledKnockout = 114,
|
|
2259
|
+
* CPED_CONFIG_FLAG_FallOutOfVehicleWhenKilled = 115,
|
|
2260
|
+
* CPED_CONFIG_FLAG_GetOutBurningVehicle = 116,
|
|
2262
2261
|
* CPED_CONFIG_FLAG_BumpedByPlayer = 117,
|
|
2263
|
-
*
|
|
2264
|
-
*
|
|
2262
|
+
* CPED_CONFIG_FLAG_RunFromFiresAndExplosions = 118,
|
|
2263
|
+
* CPED_CONFIG_FLAG_TreatAsPlayerDuringTargeting = 119,
|
|
2265
2264
|
* CPED_CONFIG_FLAG_IsHandCuffed = 120,
|
|
2266
2265
|
* CPED_CONFIG_FLAG_IsAnkleCuffed = 121,
|
|
2267
2266
|
* CPED_CONFIG_FLAG_DisableMelee = 122,
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
2270
|
-
*
|
|
2271
|
-
*
|
|
2272
|
-
*
|
|
2267
|
+
* CPED_CONFIG_FLAG_DisableUnarmedDrivebys = 123,
|
|
2268
|
+
* CPED_CONFIG_FLAG_JustGetsPulledOutWhenElectrocuted = 124,
|
|
2269
|
+
* CPED_CONFIG_FLAG_UNUSED_REPLACE_ME = 125,
|
|
2270
|
+
* CPED_CONFIG_FLAG_WillNotHotwireLawEnforcementVehicle = 126,
|
|
2271
|
+
* CPED_CONFIG_FLAG_WillCommandeerRatherThanJack = 127,
|
|
2273
2272
|
* CPED_CONFIG_FLAG_CanBeAgitated = 128,
|
|
2274
|
-
*
|
|
2275
|
-
*
|
|
2276
|
-
*
|
|
2277
|
-
*
|
|
2278
|
-
*
|
|
2279
|
-
*
|
|
2273
|
+
* CPED_CONFIG_FLAG_ForcePedToFaceLeftInCover = 129,
|
|
2274
|
+
* CPED_CONFIG_FLAG_ForcePedToFaceRightInCover = 130,
|
|
2275
|
+
* CPED_CONFIG_FLAG_BlockPedFromTurningInCover = 131,
|
|
2276
|
+
* CPED_CONFIG_FLAG_KeepRelationshipGroupAfterCleanUp = 132,
|
|
2277
|
+
* CPED_CONFIG_FLAG_ForcePedToBeDragged = 133,
|
|
2278
|
+
* CPED_CONFIG_FLAG_PreventPedFromReactingToBeingJacked = 134,
|
|
2280
2279
|
* CPED_CONFIG_FLAG_IsScuba = 135,
|
|
2281
2280
|
* CPED_CONFIG_FLAG_WillArrestRatherThanJack = 136,
|
|
2282
|
-
*
|
|
2281
|
+
* CPED_CONFIG_FLAG_RemoveDeadExtraFarAway = 137,
|
|
2283
2282
|
* CPED_CONFIG_FLAG_RidingTrain = 138,
|
|
2284
2283
|
* CPED_CONFIG_FLAG_ArrestResult = 139,
|
|
2285
2284
|
* CPED_CONFIG_FLAG_CanAttackFriendly = 140,
|
|
2286
|
-
*
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2290
|
-
*
|
|
2285
|
+
* CPED_CONFIG_FLAG_WillJackAnyPlayer = 141,
|
|
2286
|
+
* CPED_CONFIG_FLAG_BumpedByPlayerVehicle = 142,
|
|
2287
|
+
* CPED_CONFIG_FLAG_DodgedPlayerVehicle = 143,
|
|
2288
|
+
* CPED_CONFIG_FLAG_WillJackWantedPlayersRatherThanStealCar = 144,
|
|
2289
|
+
* CPED_CONFIG_FLAG_NoCopWantedAggro = 145,
|
|
2291
2290
|
* CPED_CONFIG_FLAG_DisableLadderClimbing = 146,
|
|
2292
2291
|
* CPED_CONFIG_FLAG_StairsDetected = 147,
|
|
2293
2292
|
* CPED_CONFIG_FLAG_SlopeDetected = 148,
|
|
2294
|
-
*
|
|
2295
|
-
*
|
|
2296
|
-
*
|
|
2297
|
-
*
|
|
2298
|
-
*
|
|
2299
|
-
*
|
|
2293
|
+
* CPED_CONFIG_FLAG_HelmetHasBeenShot = 149,
|
|
2294
|
+
* CPED_CONFIG_FLAG_CowerInsteadOfFlee = 150,
|
|
2295
|
+
* CPED_CONFIG_FLAG_CanActivateRagdollWhenVehicleUpsideDown = 151,
|
|
2296
|
+
* CPED_CONFIG_FLAG_AlwaysRespondToCriesForHelp = 152,
|
|
2297
|
+
* CPED_CONFIG_FLAG_DisableBloodPoolCreation = 153,
|
|
2298
|
+
* CPED_CONFIG_FLAG_ShouldFixIfNoCollision = 154,
|
|
2300
2299
|
* CPED_CONFIG_FLAG_CanPerformArrest = 155,
|
|
2301
2300
|
* CPED_CONFIG_FLAG_CanPerformUncuff = 156,
|
|
2302
2301
|
* CPED_CONFIG_FLAG_CanBeArrested = 157,
|
|
2303
|
-
*
|
|
2304
|
-
*
|
|
2305
|
-
*
|
|
2306
|
-
*
|
|
2307
|
-
*
|
|
2308
|
-
*
|
|
2309
|
-
*
|
|
2310
|
-
*
|
|
2302
|
+
* CPED_CONFIG_FLAG_MoverConstrictedByOpposingCollisions = 158,
|
|
2303
|
+
* CPED_CONFIG_FLAG_PlayerPreferFrontSeatMP = 159,
|
|
2304
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromImpactObject = 160,
|
|
2305
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromMelee = 161,
|
|
2306
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromWaterJet = 162,
|
|
2307
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromDrowning = 163,
|
|
2308
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromFalling = 164,
|
|
2309
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromRubberBullet = 165,
|
|
2311
2310
|
* CPED_CONFIG_FLAG_IsInjured = 166,
|
|
2312
|
-
*
|
|
2313
|
-
*
|
|
2314
|
-
*
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
2317
|
-
*
|
|
2318
|
-
*
|
|
2319
|
-
*
|
|
2320
|
-
*
|
|
2321
|
-
*
|
|
2322
|
-
*
|
|
2323
|
-
*
|
|
2324
|
-
*
|
|
2311
|
+
* CPED_CONFIG_FLAG_DontEnterVehiclesInPlayersGroup = 167,
|
|
2312
|
+
* CPED_CONFIG_FLAG_SwimmingTasksRunning = 168,
|
|
2313
|
+
* CPED_CONFIG_FLAG_PreventAllMeleeTaunts = 169,
|
|
2314
|
+
* CPED_CONFIG_FLAG_ForceDirectEntry = 170,
|
|
2315
|
+
* CPED_CONFIG_FLAG_AlwaysSeeApproachingVehicles = 171,
|
|
2316
|
+
* CPED_CONFIG_FLAG_CanDiveAwayFromApproachingVehicles = 172,
|
|
2317
|
+
* CPED_CONFIG_FLAG_AllowPlayerToInterruptVehicleEntryExit = 173,
|
|
2318
|
+
* CPED_CONFIG_FLAG_OnlyAttackLawIfPlayerIsWanted = 174,
|
|
2319
|
+
* CPED_CONFIG_FLAG_PlayerInContactWithKinematicPed = 175,
|
|
2320
|
+
* CPED_CONFIG_FLAG_PlayerInContactWithSomethingOtherThanKinematicPed = 176,
|
|
2321
|
+
* CPED_CONFIG_FLAG_PedsJackingMeDontGetIn = 177,
|
|
2322
|
+
* CPED_CONFIG_FLAG_AdditionalRappellingPed = 178,
|
|
2323
|
+
* CPED_CONFIG_FLAG_PedIgnoresAnimInterruptEvents = 179,
|
|
2325
2324
|
* CPED_CONFIG_FLAG_IsInCustody = 180,
|
|
2326
|
-
*
|
|
2327
|
-
*
|
|
2325
|
+
* CPED_CONFIG_FLAG_ForceStandardBumpReactionThresholds = 181,
|
|
2326
|
+
* CPED_CONFIG_FLAG_LawWillOnlyAttackIfPlayerIsWanted = 182,
|
|
2328
2327
|
* CPED_CONFIG_FLAG_IsAgitated = 183,
|
|
2329
2328
|
* CPED_CONFIG_FLAG_PreventAutoShuffleToDriversSeat = 184,
|
|
2330
|
-
*
|
|
2329
|
+
* CPED_CONFIG_FLAG_UseKinematicModeWhenStationary = 185,
|
|
2331
2330
|
* CPED_CONFIG_FLAG_EnableWeaponBlocking = 186,
|
|
2332
2331
|
* CPED_CONFIG_FLAG_HasHurtStarted = 187,
|
|
2333
2332
|
* CPED_CONFIG_FLAG_DisableHurt = 188,
|
|
2334
2333
|
* CPED_CONFIG_FLAG_PlayerIsWeird = 189,
|
|
2335
|
-
*
|
|
2336
|
-
*
|
|
2337
|
-
*
|
|
2338
|
-
*
|
|
2334
|
+
* CPED_CONFIG_FLAG_PedHadPhoneConversation = 190,
|
|
2335
|
+
* CPED_CONFIG_FLAG_BeganCrossingRoad = 191,
|
|
2336
|
+
* CPED_CONFIG_FLAG_WarpIntoLeadersVehicle = 192,
|
|
2337
|
+
* CPED_CONFIG_FLAG_DoNothingWhenOnFootByDefault = 193,
|
|
2339
2338
|
* CPED_CONFIG_FLAG_UsingScenario = 194,
|
|
2340
2339
|
* CPED_CONFIG_FLAG_VisibleOnScreen = 195,
|
|
2341
|
-
*
|
|
2342
|
-
*
|
|
2343
|
-
*
|
|
2344
|
-
*
|
|
2345
|
-
*
|
|
2346
|
-
*
|
|
2347
|
-
*
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2350
|
-
*
|
|
2351
|
-
*
|
|
2352
|
-
*
|
|
2340
|
+
* CPED_CONFIG_FLAG_DontCollideWithKinematic = 196,
|
|
2341
|
+
* CPED_CONFIG_FLAG_ActivateOnSwitchFromLowPhysicsLod = 197,
|
|
2342
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollOnPedCollisionWhenDead = 198,
|
|
2343
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollOnVehicleCollisionWhenDead = 199,
|
|
2344
|
+
* CPED_CONFIG_FLAG_HasBeenInArmedCombat = 200,
|
|
2345
|
+
* CPED_CONFIG_FLAG_UseDiminishingAmmoRate = 201,
|
|
2346
|
+
* CPED_CONFIG_FLAG_Avoidance_Ignore_All = 202,
|
|
2347
|
+
* CPED_CONFIG_FLAG_Avoidance_Ignored_by_All = 203,
|
|
2348
|
+
* CPED_CONFIG_FLAG_Avoidance_Ignore_Group1 = 204,
|
|
2349
|
+
* CPED_CONFIG_FLAG_Avoidance_Member_of_Group1 = 205,
|
|
2350
|
+
* CPED_CONFIG_FLAG_ForcedToUseSpecificGroupSeatIndex = 206,
|
|
2351
|
+
* CPED_CONFIG_FLAG_LowPhysicsLodMayPlaceOnNavMesh = 207,
|
|
2353
2352
|
* CPED_CONFIG_FLAG_DisableExplosionReactions = 208,
|
|
2354
2353
|
* CPED_CONFIG_FLAG_DodgedPlayer = 209,
|
|
2355
|
-
*
|
|
2356
|
-
*
|
|
2357
|
-
*
|
|
2358
|
-
*
|
|
2359
|
-
*
|
|
2360
|
-
*
|
|
2361
|
-
*
|
|
2362
|
-
*
|
|
2363
|
-
*
|
|
2364
|
-
*
|
|
2354
|
+
* CPED_CONFIG_FLAG_WaitingForPlayerControlInterrupt = 210,
|
|
2355
|
+
* CPED_CONFIG_FLAG_ForcedToStayInCover = 211,
|
|
2356
|
+
* CPED_CONFIG_FLAG_GeneratesSoundEvents = 212,
|
|
2357
|
+
* CPED_CONFIG_FLAG_ListensToSoundEvents = 213,
|
|
2358
|
+
* CPED_CONFIG_FLAG_AllowToBeTargetedInAVehicle = 214,
|
|
2359
|
+
* CPED_CONFIG_FLAG_WaitForDirectEntryPointToBeFreeWhenExiting = 215,
|
|
2360
|
+
* CPED_CONFIG_FLAG_OnlyRequireOnePressToExitVehicle = 216,
|
|
2361
|
+
* CPED_CONFIG_FLAG_ForceExitToSkyDive = 217,
|
|
2362
|
+
* CPED_CONFIG_FLAG_SteersAroundVehicles = 218,
|
|
2363
|
+
* CPED_CONFIG_FLAG_AllowPedInVehiclesOverrideTaskFlags = 219,
|
|
2365
2364
|
* CPED_CONFIG_FLAG_DontEnterLeadersVehicle = 220,
|
|
2366
|
-
*
|
|
2367
|
-
*
|
|
2368
|
-
*
|
|
2369
|
-
*
|
|
2365
|
+
* CPED_CONFIG_FLAG_DisableExitToSkyDive = 221,
|
|
2366
|
+
* CPED_CONFIG_FLAG_ScriptHasDisabledCollision = 222,
|
|
2367
|
+
* CPED_CONFIG_FLAG_UseAmbientModelScaling = 223,
|
|
2368
|
+
* CPED_CONFIG_FLAG_DontWatchFirstOnNextHurryAway = 224,
|
|
2370
2369
|
* CPED_CONFIG_FLAG_DisablePotentialToBeWalkedIntoResponse = 225,
|
|
2371
2370
|
* CPED_CONFIG_FLAG_DisablePedAvoidance = 226,
|
|
2372
|
-
*
|
|
2373
|
-
*
|
|
2371
|
+
* CPED_CONFIG_FLAG_ForceRagdollUponDeath = 227,
|
|
2372
|
+
* CPED_CONFIG_FLAG_CanLosePropsOnDamage = 228,
|
|
2374
2373
|
* CPED_CONFIG_FLAG_DisablePanicInVehicle = 229,
|
|
2375
|
-
*
|
|
2376
|
-
*
|
|
2377
|
-
*
|
|
2378
|
-
*
|
|
2379
|
-
*
|
|
2380
|
-
*
|
|
2374
|
+
* CPED_CONFIG_FLAG_AllowedToDetachTrailer = 230,
|
|
2375
|
+
* CPED_CONFIG_FLAG_HasShotBeenReactedToFromFront = 231,
|
|
2376
|
+
* CPED_CONFIG_FLAG_HasShotBeenReactedToFromBack = 232,
|
|
2377
|
+
* CPED_CONFIG_FLAG_HasShotBeenReactedToFromLeft = 233,
|
|
2378
|
+
* CPED_CONFIG_FLAG_HasShotBeenReactedToFromRight = 234,
|
|
2379
|
+
* CPED_CONFIG_FLAG_AllowBlockDeadPedRagdollActivation = 235,
|
|
2381
2380
|
* CPED_CONFIG_FLAG_IsHoldingProp = 236,
|
|
2382
|
-
*
|
|
2383
|
-
*
|
|
2384
|
-
*
|
|
2385
|
-
*
|
|
2386
|
-
*
|
|
2387
|
-
*
|
|
2388
|
-
*
|
|
2389
|
-
*
|
|
2390
|
-
*
|
|
2391
|
-
*
|
|
2392
|
-
*
|
|
2393
|
-
*
|
|
2394
|
-
*
|
|
2395
|
-
*
|
|
2396
|
-
*
|
|
2397
|
-
*
|
|
2381
|
+
* CPED_CONFIG_FLAG_BlocksPathingWhenDead = 237,
|
|
2382
|
+
* CPED_CONFIG_FLAG_ForcePlayNormalScenarioExitOnNextScriptCommand = 238,
|
|
2383
|
+
* CPED_CONFIG_FLAG_ForcePlayImmediateScenarioExitOnNextScriptCommand = 239,
|
|
2384
|
+
* CPED_CONFIG_FLAG_ForceSkinCharacterCloth = 240,
|
|
2385
|
+
* CPED_CONFIG_FLAG_LeaveEngineOnWhenExitingVehicles = 241,
|
|
2386
|
+
* CPED_CONFIG_FLAG_PhoneDisableTextingAnimations = 242,
|
|
2387
|
+
* CPED_CONFIG_FLAG_PhoneDisableTalkingAnimations = 243,
|
|
2388
|
+
* CPED_CONFIG_FLAG_PhoneDisableCameraAnimations = 244,
|
|
2389
|
+
* CPED_CONFIG_FLAG_DisableBlindFiringInShotReactions = 245,
|
|
2390
|
+
* CPED_CONFIG_FLAG_AllowNearbyCoverUsage = 246,
|
|
2391
|
+
* CPED_CONFIG_FLAG_InStrafeTransition = 247,
|
|
2392
|
+
* CPED_CONFIG_FLAG_CanPlayInCarIdles = 248,
|
|
2393
|
+
* CPED_CONFIG_FLAG_CanAttackNonWantedPlayerAsLaw = 249,
|
|
2394
|
+
* CPED_CONFIG_FLAG_WillTakeDamageWhenVehicleCrashes = 250,
|
|
2395
|
+
* CPED_CONFIG_FLAG_AICanDrivePlayerAsRearPassenger = 251,
|
|
2396
|
+
* CPED_CONFIG_FLAG_PlayerCanJackFriendlyPlayers = 252,
|
|
2398
2397
|
* CPED_CONFIG_FLAG_OnStairs = 253,
|
|
2399
|
-
*
|
|
2400
|
-
*
|
|
2401
|
-
*
|
|
2402
|
-
*
|
|
2403
|
-
*
|
|
2404
|
-
*
|
|
2405
|
-
*
|
|
2406
|
-
*
|
|
2407
|
-
*
|
|
2408
|
-
*
|
|
2409
|
-
*
|
|
2410
|
-
*
|
|
2411
|
-
*
|
|
2412
|
-
*
|
|
2413
|
-
*
|
|
2414
|
-
*
|
|
2398
|
+
* CPED_CONFIG_FLAG_SimulatingAiming = 254,
|
|
2399
|
+
* CPED_CONFIG_FLAG_AIDriverAllowFriendlyPassengerSeatEntry = 255,
|
|
2400
|
+
* CPED_CONFIG_FLAG_ParentCarIsBeingRemoved = 256,
|
|
2401
|
+
* CPED_CONFIG_FLAG_AllowMissionPedToUseInjuredMovement = 257,
|
|
2402
|
+
* CPED_CONFIG_FLAG_CanLoseHelmetOnDamage = 258,
|
|
2403
|
+
* CPED_CONFIG_FLAG_NeverDoScenarioExitProbeChecks = 259,
|
|
2404
|
+
* CPED_CONFIG_FLAG_SuppressLowLODRagdollSwitchWhenCorpseSettles = 260,
|
|
2405
|
+
* CPED_CONFIG_FLAG_PreventUsingLowerPrioritySeats = 261,
|
|
2406
|
+
* CPED_CONFIG_FLAG_JustLeftVehicleNeedsReset = 262,
|
|
2407
|
+
* CPED_CONFIG_FLAG_TeleportIfCantReachPlayer = 263,
|
|
2408
|
+
* CPED_CONFIG_FLAG_PedsInVehiclePositionNeedsReset = 264,
|
|
2409
|
+
* CPED_CONFIG_FLAG_PedsFullyInSeat = 265,
|
|
2410
|
+
* CPED_CONFIG_FLAG_AllowPlayerLockOnIfFriendly = 266,
|
|
2411
|
+
* CPED_CONFIG_FLAG_UseCameraHeadingForDesiredDirectionLockOnTest = 267,
|
|
2412
|
+
* CPED_CONFIG_FLAG_TeleportToLeaderVehicle = 268,
|
|
2413
|
+
* CPED_CONFIG_FLAG_Avoidance_Ignore_WeirdPedBuffer = 269,
|
|
2415
2414
|
* CPED_CONFIG_FLAG_OnStairSlope = 270,
|
|
2416
|
-
*
|
|
2415
|
+
* CPED_CONFIG_FLAG_HasPlayedNMGetup = 271,
|
|
2417
2416
|
* CPED_CONFIG_FLAG_DontBlipCop = 272,
|
|
2418
|
-
*
|
|
2419
|
-
*
|
|
2420
|
-
*
|
|
2417
|
+
* CPED_CONFIG_FLAG_SpawnedAtExtendedRangeScenario = 273,
|
|
2418
|
+
* CPED_CONFIG_FLAG_WalkAlongsideLeaderWhenClose = 274,
|
|
2419
|
+
* CPED_CONFIG_FLAG_KillWhenTrapped = 275,
|
|
2421
2420
|
* CPED_CONFIG_FLAG_EdgeDetected = 276,
|
|
2422
|
-
*
|
|
2423
|
-
*
|
|
2421
|
+
* CPED_CONFIG_FLAG_AlwaysWakeUpPhysicsOfIntersectedPeds = 277,
|
|
2422
|
+
* CPED_CONFIG_FLAG_EquippedAmbientLoadOutWeapon = 278,
|
|
2424
2423
|
* CPED_CONFIG_FLAG_AvoidTearGas = 279,
|
|
2425
|
-
*
|
|
2426
|
-
*
|
|
2427
|
-
*
|
|
2428
|
-
*
|
|
2429
|
-
*
|
|
2430
|
-
*
|
|
2431
|
-
*
|
|
2424
|
+
* CPED_CONFIG_FLAG_StoppedSpeechUponFreezing = 280,
|
|
2425
|
+
* CPED_CONFIG_FLAG_DisableGoToWritheWhenInjured = 281,
|
|
2426
|
+
* CPED_CONFIG_FLAG_OnlyUseForcedSeatWhenEnteringHeliInGroup = 282,
|
|
2427
|
+
* CPED_CONFIG_FLAG_ThrownFromVehicleDueToExhaustion = 283,
|
|
2428
|
+
* CPED_CONFIG_FLAG_UpdateEnclosedSearchRegion = 284,
|
|
2429
|
+
* CPED_CONFIG_FLAG_DisableWeirdPedEvents = 285,
|
|
2430
|
+
* CPED_CONFIG_FLAG_ShouldChargeNow = 286,
|
|
2432
2431
|
* CPED_CONFIG_FLAG_RagdollingOnBoat = 287,
|
|
2433
2432
|
* CPED_CONFIG_FLAG_HasBrandishedWeapon = 288,
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
2433
|
+
* CPED_CONFIG_FLAG_AllowMinorReactionsAsMissionPed = 289,
|
|
2434
|
+
* CPED_CONFIG_FLAG_BlockDeadBodyShockingEventsWhenDead = 290,
|
|
2435
|
+
* CPED_CONFIG_FLAG_PedHasBeenSeen = 291,
|
|
2436
|
+
* CPED_CONFIG_FLAG_PedIsInReusePool = 292,
|
|
2437
|
+
* CPED_CONFIG_FLAG_PedWasReused = 293,
|
|
2439
2438
|
* CPED_CONFIG_FLAG_DisableShockingEvents = 294,
|
|
2440
|
-
*
|
|
2441
|
-
*
|
|
2442
|
-
*
|
|
2443
|
-
*
|
|
2444
|
-
*
|
|
2445
|
-
*
|
|
2439
|
+
* CPED_CONFIG_FLAG_MovedUsingLowLodPhysicsSinceLastActive = 295,
|
|
2440
|
+
* CPED_CONFIG_FLAG_NeverReactToPedOnRoof = 296,
|
|
2441
|
+
* CPED_CONFIG_FLAG_ForcePlayFleeScenarioExitOnNextScriptCommand = 297,
|
|
2442
|
+
* CPED_CONFIG_FLAG_JustBumpedIntoVehicle = 298,
|
|
2443
|
+
* CPED_CONFIG_FLAG_DisableShockingDrivingOnPavementEvents = 299,
|
|
2444
|
+
* CPED_CONFIG_FLAG_ShouldThrowSmokeNow = 300,
|
|
2446
2445
|
* CPED_CONFIG_FLAG_DisablePedConstraints = 301,
|
|
2447
|
-
*
|
|
2448
|
-
*
|
|
2449
|
-
*
|
|
2450
|
-
*
|
|
2451
|
-
*
|
|
2452
|
-
*
|
|
2453
|
-
*
|
|
2454
|
-
*
|
|
2446
|
+
* CPED_CONFIG_FLAG_ForceInitialPeekInCover = 302,
|
|
2447
|
+
* CPED_CONFIG_FLAG_CreatedByDispatch = 303,
|
|
2448
|
+
* CPED_CONFIG_FLAG_PointGunLeftHandSupporting = 304,
|
|
2449
|
+
* CPED_CONFIG_FLAG_DisableJumpingFromVehiclesAfterLeader = 305,
|
|
2450
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromPlayerPedImpact = 306,
|
|
2451
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromAiRagdollImpact = 307,
|
|
2452
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromPlayerRagdollImpact = 308,
|
|
2453
|
+
* CPED_CONFIG_FLAG_DisableQuadrupedSpring = 309,
|
|
2455
2454
|
* CPED_CONFIG_FLAG_IsInCluster = 310,
|
|
2456
|
-
*
|
|
2457
|
-
*
|
|
2458
|
-
*
|
|
2459
|
-
*
|
|
2460
|
-
*
|
|
2461
|
-
*
|
|
2462
|
-
*
|
|
2463
|
-
*
|
|
2464
|
-
*
|
|
2465
|
-
*
|
|
2466
|
-
*
|
|
2455
|
+
* CPED_CONFIG_FLAG_ShoutToGroupOnPlayerMelee = 311,
|
|
2456
|
+
* CPED_CONFIG_FLAG_IgnoredByAutoOpenDoors = 312,
|
|
2457
|
+
* CPED_CONFIG_FLAG_PreferInjuredGetup = 313,
|
|
2458
|
+
* CPED_CONFIG_FLAG_ForceIgnoreMeleeActiveCombatant = 314,
|
|
2459
|
+
* CPED_CONFIG_FLAG_CheckLoSForSoundEvents = 315,
|
|
2460
|
+
* CPED_CONFIG_FLAG_JackedAbandonedCar = 316,
|
|
2461
|
+
* CPED_CONFIG_FLAG_CanSayFollowedByPlayerAudio = 317,
|
|
2462
|
+
* CPED_CONFIG_FLAG_ActivateRagdollFromMinorPlayerContact = 318,
|
|
2463
|
+
* CPED_CONFIG_FLAG_HasPortablePickupAttached = 319,
|
|
2464
|
+
* CPED_CONFIG_FLAG_ForcePoseCharacterCloth = 320,
|
|
2465
|
+
* CPED_CONFIG_FLAG_HasClothCollisionBounds = 321,
|
|
2467
2466
|
* CPED_CONFIG_FLAG_HasHighHeels = 322,
|
|
2468
|
-
*
|
|
2469
|
-
*
|
|
2470
|
-
*
|
|
2471
|
-
*
|
|
2472
|
-
*
|
|
2473
|
-
*
|
|
2467
|
+
* CPED_CONFIG_FLAG_TreatAsAmbientPedForDriverLockOn = 323,
|
|
2468
|
+
* CPED_CONFIG_FLAG_DontBehaveLikeLaw = 324,
|
|
2469
|
+
* CPED_CONFIG_FLAG_SpawnedAtScenario = 325,
|
|
2470
|
+
* CPED_CONFIG_FLAG_DisablePoliceInvestigatingBody = 326,
|
|
2471
|
+
* CPED_CONFIG_FLAG_DisableWritheShootFromGround = 327,
|
|
2472
|
+
* CPED_CONFIG_FLAG_LowerPriorityOfWarpSeats = 328,
|
|
2474
2473
|
* CPED_CONFIG_FLAG_DisableTalkTo = 329,
|
|
2475
2474
|
* CPED_CONFIG_FLAG_DontBlip = 330,
|
|
2476
2475
|
* CPED_CONFIG_FLAG_IsSwitchingWeapon = 331,
|
|
2477
|
-
*
|
|
2478
|
-
*
|
|
2479
|
-
*
|
|
2480
|
-
*
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
2483
|
-
*
|
|
2484
|
-
*
|
|
2485
|
-
*
|
|
2486
|
-
*
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2489
|
-
*
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2492
|
-
*
|
|
2493
|
-
*
|
|
2476
|
+
* CPED_CONFIG_FLAG_IgnoreLegIkRestrictions = 332,
|
|
2477
|
+
* CPED_CONFIG_FLAG_ScriptForceNoTimesliceIntelligenceUpdate = 333,
|
|
2478
|
+
* CPED_CONFIG_FLAG_JackedOutOfMyVehicle = 334,
|
|
2479
|
+
* CPED_CONFIG_FLAG_WentIntoCombatAfterBeingJacked = 335,
|
|
2480
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollForVehicleGrab = 336,
|
|
2481
|
+
* CPED_CONFIG_FLAG_ForcePackageCharacterCloth = 337,
|
|
2482
|
+
* CPED_CONFIG_FLAG_DontRemoveWithValidOrder = 338,
|
|
2483
|
+
* CPED_CONFIG_FLAG_AllowTaskDoNothingTimeslicing = 339,
|
|
2484
|
+
* CPED_CONFIG_FLAG_ForcedToStayInCoverDueToPlayerSwitch = 340,
|
|
2485
|
+
* CPED_CONFIG_FLAG_ForceProneCharacterCloth = 341,
|
|
2486
|
+
* CPED_CONFIG_FLAG_NotAllowedToJackAnyPlayers = 342,
|
|
2487
|
+
* CPED_CONFIG_FLAG_InToStrafeTransition = 343,
|
|
2488
|
+
* CPED_CONFIG_FLAG_KilledByStandardMelee = 344,
|
|
2489
|
+
* CPED_CONFIG_FLAG_AlwaysLeaveTrainUponArrival = 345,
|
|
2490
|
+
* CPED_CONFIG_FLAG_ForcePlayDirectedNormalScenarioExitOnNextScriptCommand = 346,
|
|
2491
|
+
* CPED_CONFIG_FLAG_OnlyWritheFromWeaponDamage = 347,
|
|
2492
|
+
* CPED_CONFIG_FLAG_UseSloMoBloodVfx = 348,
|
|
2494
2493
|
* CPED_CONFIG_FLAG_EquipJetpack = 349,
|
|
2495
|
-
*
|
|
2496
|
-
*
|
|
2497
|
-
*
|
|
2498
|
-
*
|
|
2499
|
-
*
|
|
2500
|
-
*
|
|
2501
|
-
*
|
|
2502
|
-
*
|
|
2503
|
-
*
|
|
2494
|
+
* CPED_CONFIG_FLAG_PreventDraggedOutOfCarThreatResponse = 350,
|
|
2495
|
+
* CPED_CONFIG_FLAG_ScriptHasCompletelyDisabledCollision = 351,
|
|
2496
|
+
* CPED_CONFIG_FLAG_NeverDoScenarioNavChecks = 352,
|
|
2497
|
+
* CPED_CONFIG_FLAG_ForceSynchronousScenarioExitChecking = 353,
|
|
2498
|
+
* CPED_CONFIG_FLAG_ThrowingGrenadeWhileAiming = 354,
|
|
2499
|
+
* CPED_CONFIG_FLAG_HeadbobToRadioEnabled = 355,
|
|
2500
|
+
* CPED_CONFIG_FLAG_ForceDeepSurfaceCheck = 356,
|
|
2501
|
+
* CPED_CONFIG_FLAG_DisableDeepSurfaceAnims = 357,
|
|
2502
|
+
* CPED_CONFIG_FLAG_DontBlipNotSynced = 358,
|
|
2504
2503
|
* CPED_CONFIG_FLAG_IsDuckingInVehicle = 359,
|
|
2505
|
-
*
|
|
2506
|
-
*
|
|
2504
|
+
* CPED_CONFIG_FLAG_PreventAutoShuffleToTurretSeat = 360,
|
|
2505
|
+
* CPED_CONFIG_FLAG_DisableEventInteriorStatusCheck = 361,
|
|
2507
2506
|
* CPED_CONFIG_FLAG_HasReserveParachute = 362,
|
|
2508
2507
|
* CPED_CONFIG_FLAG_UseReserveParachute = 363,
|
|
2509
|
-
*
|
|
2510
|
-
*
|
|
2511
|
-
*
|
|
2512
|
-
*
|
|
2513
|
-
*
|
|
2514
|
-
*
|
|
2515
|
-
*
|
|
2516
|
-
*
|
|
2517
|
-
*
|
|
2518
|
-
*
|
|
2508
|
+
* CPED_CONFIG_FLAG_TreatDislikeAsHateWhenInCombat = 364,
|
|
2509
|
+
* CPED_CONFIG_FLAG_OnlyUpdateTargetWantedIfSeen = 365,
|
|
2510
|
+
* CPED_CONFIG_FLAG_AllowAutoShuffleToDriversSeat = 366,
|
|
2511
|
+
* CPED_CONFIG_FLAG_DontActivateRagdollFromSmokeGrenade = 367,
|
|
2512
|
+
* CPED_CONFIG_FLAG_LinkMBRToOwnerOnChain = 368,
|
|
2513
|
+
* CPED_CONFIG_FLAG_AmbientFriendBumpedByPlayer = 369,
|
|
2514
|
+
* CPED_CONFIG_FLAG_AmbientFriendBumpedByPlayerVehicle = 370,
|
|
2515
|
+
* CPED_CONFIG_FLAG_InFPSUnholsterTransition = 371,
|
|
2516
|
+
* CPED_CONFIG_FLAG_PreventReactingToSilencedCloneBullets = 372,
|
|
2517
|
+
* CPED_CONFIG_FLAG_DisableInjuredCryForHelpEvents = 373,
|
|
2519
2518
|
* CPED_CONFIG_FLAG_NeverLeaveTrain = 374,
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
2526
|
-
*
|
|
2527
|
-
*
|
|
2528
|
-
*
|
|
2529
|
-
*
|
|
2530
|
-
*
|
|
2531
|
-
*
|
|
2532
|
-
*
|
|
2519
|
+
* CPED_CONFIG_FLAG_DontDropJetpackOnDeath = 375,
|
|
2520
|
+
* CPED_CONFIG_FLAG_UseFPSUnholsterTransitionDuringCombatRoll = 376,
|
|
2521
|
+
* CPED_CONFIG_FLAG_ExitingFPSCombatRoll = 377,
|
|
2522
|
+
* CPED_CONFIG_FLAG_ScriptHasControlOfPlayer = 378,
|
|
2523
|
+
* CPED_CONFIG_FLAG_PlayFPSIdleFidgetsForProjectile = 379,
|
|
2524
|
+
* CPED_CONFIG_FLAG_DisableAutoEquipHelmetsInBikes = 380,
|
|
2525
|
+
* CPED_CONFIG_FLAG_DisableAutoEquipHelmetsInAircraft = 381,
|
|
2526
|
+
* CPED_CONFIG_FLAG_WasPlayingFPSGetup = 382,
|
|
2527
|
+
* CPED_CONFIG_FLAG_WasPlayingFPSMeleeActionResult = 383,
|
|
2528
|
+
* CPED_CONFIG_FLAG_PreferNoPriorityRemoval = 384,
|
|
2529
|
+
* CPED_CONFIG_FLAG_FPSFidgetsAbortedOnFire = 385,
|
|
2530
|
+
* CPED_CONFIG_FLAG_ForceFPSIKWithUpperBodyAnim = 386,
|
|
2531
|
+
* CPED_CONFIG_FLAG_SwitchingCharactersInFirstPerson = 387,
|
|
2533
2532
|
* CPED_CONFIG_FLAG_IsClimbingLadder = 388,
|
|
2534
2533
|
* CPED_CONFIG_FLAG_HasBareFeet = 389,
|
|
2535
|
-
*
|
|
2536
|
-
*
|
|
2537
|
-
*
|
|
2538
|
-
*
|
|
2539
|
-
*
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2542
|
-
*
|
|
2543
|
-
*
|
|
2544
|
-
*
|
|
2545
|
-
*
|
|
2546
|
-
*
|
|
2547
|
-
*
|
|
2548
|
-
*
|
|
2549
|
-
*
|
|
2550
|
-
*
|
|
2551
|
-
*
|
|
2552
|
-
*
|
|
2553
|
-
*
|
|
2554
|
-
*
|
|
2555
|
-
*
|
|
2556
|
-
*
|
|
2557
|
-
*
|
|
2534
|
+
* CPED_CONFIG_FLAG_UNUSED_REPLACE_ME_2 = 390,
|
|
2535
|
+
* CPED_CONFIG_FLAG_GoOnWithoutVehicleIfItIsUnableToGetBackToRoad = 391,
|
|
2536
|
+
* CPED_CONFIG_FLAG_BlockDroppingHealthSnacksOnDeath = 392,
|
|
2537
|
+
* CPED_CONFIG_FLAG_ResetLastVehicleOnVehicleExit = 393,
|
|
2538
|
+
* CPED_CONFIG_FLAG_ForceThreatResponseToNonFriendToFriendMeleeActions = 394,
|
|
2539
|
+
* CPED_CONFIG_FLAG_DontRespondToRandomPedsDamage = 395,
|
|
2540
|
+
* CPED_CONFIG_FLAG_AllowContinuousThreatResponseWantedLevelUpdates = 396,
|
|
2541
|
+
* CPED_CONFIG_FLAG_KeepTargetLossResponseOnCleanup = 397,
|
|
2542
|
+
* CPED_CONFIG_FLAG_PlayersDontDragMeOutOfCar = 398,
|
|
2543
|
+
* CPED_CONFIG_FLAG_BroadcastRepondedToThreatWhenGoingToPointShooting = 399,
|
|
2544
|
+
* CPED_CONFIG_FLAG_IgnorePedTypeForIsFriendlyWith = 400,
|
|
2545
|
+
* CPED_CONFIG_FLAG_TreatNonFriendlyAsHateWhenInCombat = 401,
|
|
2546
|
+
* CPED_CONFIG_FLAG_DontLeaveVehicleIfLeaderNotInVehicle = 402,
|
|
2547
|
+
* CPED_CONFIG_FLAG_ChangeFromPermanentToAmbientPopTypeOnMigration = 403,
|
|
2548
|
+
* CPED_CONFIG_FLAG_AllowMeleeReactionIfMeleeProofIsOn = 404,
|
|
2549
|
+
* CPED_CONFIG_FLAG_UsingLowriderLeans = 405,
|
|
2550
|
+
* CPED_CONFIG_FLAG_UsingAlternateLowriderLeans = 406,
|
|
2551
|
+
* CPED_CONFIG_FLAG_UseNormalExplosionDamageWhenBlownUpInVehicle = 407,
|
|
2552
|
+
* CPED_CONFIG_FLAG_DisableHomingMissileLockForVehiclePedInside = 408,
|
|
2553
|
+
* CPED_CONFIG_FLAG_DisableTakeOffScubaGear = 409,
|
|
2554
|
+
* CPED_CONFIG_FLAG_IgnoreMeleeFistWeaponDamageMult = 410,
|
|
2555
|
+
* CPED_CONFIG_FLAG_LawPedsCanFleeFromNonWantedPlayer = 411,
|
|
2556
|
+
* CPED_CONFIG_FLAG_ForceBlipSecurityPedsIfPlayerIsWanted = 412,
|
|
2558
2557
|
* CPED_CONFIG_FLAG_IsHolsteringWeapon = 413,
|
|
2559
|
-
*
|
|
2560
|
-
*
|
|
2561
|
-
*
|
|
2562
|
-
*
|
|
2558
|
+
* CPED_CONFIG_FLAG_UseGoToPointForScenarioNavigation = 414,
|
|
2559
|
+
* CPED_CONFIG_FLAG_DontClearLocalPassengersWantedLevel = 415,
|
|
2560
|
+
* CPED_CONFIG_FLAG_BlockAutoSwapOnWeaponPickups = 416,
|
|
2561
|
+
* CPED_CONFIG_FLAG_ThisPedIsATargetPriorityForAI = 417,
|
|
2563
2562
|
* CPED_CONFIG_FLAG_IsSwitchingHelmetVisor = 418,
|
|
2564
|
-
*
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
2563
|
+
* CPED_CONFIG_FLAG_ForceHelmetVisorSwitch = 419,
|
|
2564
|
+
* CPED_CONFIG_FLAG_IsPerformingVehicleMelee = 420,
|
|
2565
|
+
* CPED_CONFIG_FLAG_UseOverrideFootstepPtFx = 421,
|
|
2567
2566
|
* CPED_CONFIG_FLAG_DisableVehicleCombat = 422,
|
|
2568
|
-
*
|
|
2569
|
-
*
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2572
|
-
*
|
|
2573
|
-
*
|
|
2567
|
+
* CPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamage = 423,
|
|
2568
|
+
* CPED_CONFIG_FLAG_AllowBikeAlternateAnimations = 424,
|
|
2569
|
+
* CPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamageNonSynced = 425,
|
|
2570
|
+
* CPED_CONFIG_FLAG_UseLockpickVehicleEntryAnimations = 426,
|
|
2571
|
+
* CPED_CONFIG_FLAG_IgnoreInteriorCheckForSprinting = 427,
|
|
2572
|
+
* CPED_CONFIG_FLAG_SwatHeliSpawnWithinLastSpottedLocation = 428,
|
|
2574
2573
|
* CPED_CONFIG_FLAG_DisableStartEngine = 429,
|
|
2575
2574
|
* CPED_CONFIG_FLAG_IgnoreBeingOnFire = 430,
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2578
|
-
*
|
|
2575
|
+
* CPED_CONFIG_FLAG_DisableTurretOrRearSeatPreference = 431,
|
|
2576
|
+
* CPED_CONFIG_FLAG_DisableWantedHelicopterSpawning = 432,
|
|
2577
|
+
* CPED_CONFIG_FLAG_UseTargetPerceptionForCreatingAimedAtEvents = 433,
|
|
2579
2578
|
* CPED_CONFIG_FLAG_DisableHomingMissileLockon = 434,
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2579
|
+
* CPED_CONFIG_FLAG_ForceIgnoreMaxMeleeActiveSupportCombatants = 435,
|
|
2580
|
+
* CPED_CONFIG_FLAG_StayInDefensiveAreaWhenInVehicle = 436,
|
|
2581
|
+
* CPED_CONFIG_FLAG_DontShoutTargetPosition = 437,
|
|
2583
2582
|
* CPED_CONFIG_FLAG_DisableHelmetArmor = 438,
|
|
2584
|
-
*
|
|
2585
|
-
*
|
|
2586
|
-
*
|
|
2587
|
-
*
|
|
2588
|
-
*
|
|
2589
|
-
*
|
|
2590
|
-
*
|
|
2591
|
-
*
|
|
2592
|
-
*
|
|
2593
|
-
*
|
|
2594
|
-
*
|
|
2583
|
+
* CPED_CONFIG_FLAG_CreatedByConcealedPlayer = 439,
|
|
2584
|
+
* CPED_CONFIG_FLAG_PermanentlyDisablePotentialToBeWalkedIntoResponse = 440,
|
|
2585
|
+
* CPED_CONFIG_FLAG_PreventVehExitDueToInvalidWeapon = 441,
|
|
2586
|
+
* CPED_CONFIG_FLAG_IgnoreNetSessionFriendlyFireCheckForAllowDamage = 442,
|
|
2587
|
+
* CPED_CONFIG_FLAG_DontLeaveCombatIfTargetPlayerIsAttackedByPolice = 443,
|
|
2588
|
+
* CPED_CONFIG_FLAG_CheckLockedBeforeWarp = 444,
|
|
2589
|
+
* CPED_CONFIG_FLAG_DontShuffleInVehicleToMakeRoom = 445,
|
|
2590
|
+
* CPED_CONFIG_FLAG_GiveWeaponOnGetup = 446,
|
|
2591
|
+
* CPED_CONFIG_FLAG_DontHitVehicleWithProjectiles = 447,
|
|
2592
|
+
* CPED_CONFIG_FLAG_DisableForcedEntryForOpenVehiclesFromTryLockedDoor = 448,
|
|
2593
|
+
* CPED_CONFIG_FLAG_FiresDummyRockets = 449,
|
|
2595
2594
|
* CPED_CONFIG_FLAG_PedIsArresting = 450,
|
|
2596
2595
|
* CPED_CONFIG_FLAG_IsDecoyPed = 451,
|
|
2597
|
-
*
|
|
2598
|
-
*
|
|
2599
|
-
*
|
|
2600
|
-
*
|
|
2596
|
+
* CPED_CONFIG_FLAG_HasEstablishedDecoy = 452,
|
|
2597
|
+
* CPED_CONFIG_FLAG_BlockDispatchedHelicoptersFromLanding = 453,
|
|
2598
|
+
* CPED_CONFIG_FLAG_DontCryForHelpOnStun = 454,
|
|
2599
|
+
* CPED_CONFIG_FLAG_HitByTranqWeapon = 455,
|
|
2601
2600
|
* CPED_CONFIG_FLAG_CanBeIncapacitated = 456,
|
|
2602
|
-
*
|
|
2601
|
+
* CPED_CONFIG_FLAG_ForcedAimFromArrest = 457,
|
|
2602
|
+
* CPED_CONFIG_FLAG_DontChangeTargetFromMelee = 458,
|
|
2603
|
+
* _0x4376ABF2 = 459,
|
|
2604
|
+
* CPED_CONFIG_FLAG_RagdollFloatsIndefinitely = 460,
|
|
2605
|
+
* CPED_CONFIG_FLAG_BlockElectricWeaponDamage = 461,
|
|
2606
|
+
* _0x262A3B8E = 462,
|
|
2607
|
+
* _0x1AA79A25 = 463,
|
|
2603
2608
|
* }
|
|
2604
2609
|
*/
|
|
2605
2610
|
declare function SetPedConfigFlag(ped: number, flagId: number, value: boolean): void;
|
|
@@ -2757,7 +2762,7 @@ declare function SetPedHeadOverlay(ped: number, overlayID: number, index: number
|
|
|
2757
2762
|
* You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work.
|
|
2758
2763
|
* @param ped The ped entity
|
|
2759
2764
|
* @param overlayID An integer representing the overlay id
|
|
2760
|
-
* @param colorType 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
|
|
2765
|
+
* @param colorType 1 for eyebrows, beards, makeup, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.
|
|
2761
2766
|
* @param colorID An integer representing the primary color id
|
|
2762
2767
|
* @param secondColorID An integer representing the secondary color id
|
|
2763
2768
|
*/
|
|
@@ -2779,7 +2784,6 @@ declare function SetPedIntoVehicle(ped: number, vehicle: number, seatIndex: numb
|
|
|
2779
2784
|
* **7**: Bracelets
|
|
2780
2785
|
* List of Prop IDs
|
|
2781
2786
|
* ```cpp
|
|
2782
|
-
* // Props
|
|
2783
2787
|
* enum eAnchorPoints
|
|
2784
2788
|
* {
|
|
2785
2789
|
* ANCHOR_HEAD = 0, // "p_head"
|
|
@@ -3021,17 +3025,28 @@ declare function SetVehicleDoorBroken(vehicle: number, doorIndex: number, delete
|
|
|
3021
3025
|
* ```
|
|
3022
3026
|
* ```cpp
|
|
3023
3027
|
* enum eVehicleLockState {
|
|
3024
|
-
*
|
|
3025
|
-
*
|
|
3026
|
-
*
|
|
3027
|
-
*
|
|
3028
|
-
*
|
|
3029
|
-
*
|
|
3030
|
-
*
|
|
3031
|
-
*
|
|
3032
|
-
*
|
|
3033
|
-
*
|
|
3034
|
-
*
|
|
3028
|
+
* // No specific lock state, vehicle behaves according to the game's default settings.
|
|
3029
|
+
* VEHICLELOCK_NONE = 0,
|
|
3030
|
+
* // Vehicle is fully unlocked, allowing free entry by players and NPCs.
|
|
3031
|
+
* VEHICLELOCK_UNLOCKED = 1,
|
|
3032
|
+
* // Vehicle is locked, preventing entry by players and NPCs.
|
|
3033
|
+
* VEHICLELOCK_LOCKED = 2,
|
|
3034
|
+
* // Vehicle locks out only players, allowing NPCs to enter.
|
|
3035
|
+
* VEHICLELOCK_LOCKOUT_PLAYER_ONLY = 3,
|
|
3036
|
+
* // Vehicle is locked once a player enters, preventing others from entering.
|
|
3037
|
+
* VEHICLELOCK_LOCKED_PLAYER_INSIDE = 4,
|
|
3038
|
+
* // Vehicle starts in a locked state, but may be unlocked through game events.
|
|
3039
|
+
* VEHICLELOCK_LOCKED_INITIALLY = 5,
|
|
3040
|
+
* // Forces the vehicle's doors to shut and lock.
|
|
3041
|
+
* VEHICLELOCK_FORCE_SHUT_DOORS = 6,
|
|
3042
|
+
* // Vehicle is locked but can still be damaged.
|
|
3043
|
+
* VEHICLELOCK_LOCKED_BUT_CAN_BE_DAMAGED = 7,
|
|
3044
|
+
* // Vehicle is locked, but its trunk/boot remains unlocked.
|
|
3045
|
+
* VEHICLELOCK_LOCKED_BUT_BOOT_UNLOCKED = 8,
|
|
3046
|
+
* // Vehicle is locked and does not allow passengers, except for the driver.
|
|
3047
|
+
* VEHICLELOCK_LOCKED_NO_PASSENGERS = 9,
|
|
3048
|
+
* // Vehicle is completely locked, preventing entry entirely, even if previously inside.
|
|
3049
|
+
* VEHICLELOCK_CANNOT_ENTER = 10
|
|
3035
3050
|
* };
|
|
3036
3051
|
* ```
|
|
3037
3052
|
* @param vehicle The vehicle whose doors are to be locked.
|
|
@@ -3121,7 +3136,7 @@ declare function TaskGoStraightToCoord(ped: number, x: number, y: number, z: num
|
|
|
3121
3136
|
* DF_StopForCars = 1,
|
|
3122
3137
|
* DF_StopForPeds = 2,
|
|
3123
3138
|
* DF_SwerveAroundAllCars = 4,
|
|
3124
|
-
* DF_SteerAroundStationaryCars
|
|
3139
|
+
* DF_SteerAroundStationaryCars = 8,
|
|
3125
3140
|
* DF_SteerAroundPeds = 16,
|
|
3126
3141
|
* DF_SteerAroundObjects = 32,
|
|
3127
3142
|
* DF_DontSteerAroundPlayerPed = 64,
|
|
@@ -3137,8 +3152,10 @@ declare function TaskGoStraightToCoord(ped: number, x: number, y: number, z: num
|
|
|
3137
3152
|
* DF_AdjustCruiseSpeedBasedOnRoadSpeed = 16384,
|
|
3138
3153
|
* DF_UseShortCutLinks = 262144,
|
|
3139
3154
|
* DF_ChangeLanesAroundObstructions = 524288,
|
|
3140
|
-
*
|
|
3141
|
-
*
|
|
3155
|
+
* // cruise tasks ignore this anyway--only used for goto's
|
|
3156
|
+
* DF_UseSwitchedOffNodes = 2097152,
|
|
3157
|
+
* // if you're going to be primarily driving off road
|
|
3158
|
+
* DF_PreferNavmeshRoute = 4194304,
|
|
3142
3159
|
* // Only works for planes using MISSION_GOTO, will cause them to drive along the ground instead of fly
|
|
3143
3160
|
* DF_PlaneTaxiMode = 8388608,
|
|
3144
3161
|
* DF_ForceStraightLine = 16777216,
|
|
@@ -3210,74 +3227,72 @@ declare function TaskLeaveVehicle(ped: number, vehicle: number, flags: number):
|
|
|
3210
3227
|
|
|
3211
3228
|
/**
|
|
3212
3229
|
* [Animations list](https://alexguirre.github.io/animations-list/)
|
|
3213
|
-
* ```
|
|
3214
|
-
*
|
|
3215
|
-
* ----------------------
|
|
3216
|
-
* float blendOutSpeed > normal speed is 8.0f
|
|
3217
|
-
* ----------------------
|
|
3218
|
-
* int duration: time in millisecond
|
|
3219
|
-
* ----------------------
|
|
3220
|
-
* -1 _ _ _ _ _ _ _> Default (see flag)
|
|
3221
|
-
* 0 _ _ _ _ _ _ _ > Not play at all
|
|
3222
|
-
* Small value _ _ > Slow down animation speed
|
|
3223
|
-
* Other _ _ _ _ _ > freeze player control until specific time (ms) has
|
|
3224
|
-
* _ _ _ _ _ _ _ _ _ passed. (No effect if flag is set to be
|
|
3225
|
-
* _ _ _ _ _ _ _ _ _ controllable.)
|
|
3226
|
-
* int flag:
|
|
3227
|
-
* ----------------------
|
|
3228
|
-
* enum eAnimationFlags
|
|
3230
|
+
* ```cpp
|
|
3231
|
+
* enum eScriptedAnimFlags
|
|
3229
3232
|
* {
|
|
3230
|
-
*
|
|
3231
|
-
*
|
|
3232
|
-
*
|
|
3233
|
-
*
|
|
3234
|
-
*
|
|
3235
|
-
*
|
|
3236
|
-
*
|
|
3237
|
-
*
|
|
3238
|
-
*
|
|
3239
|
-
*
|
|
3240
|
-
*
|
|
3241
|
-
*
|
|
3242
|
-
*
|
|
3243
|
-
*
|
|
3244
|
-
*
|
|
3245
|
-
*
|
|
3246
|
-
*
|
|
3247
|
-
*
|
|
3248
|
-
*
|
|
3249
|
-
*
|
|
3250
|
-
*
|
|
3251
|
-
*
|
|
3252
|
-
*
|
|
3253
|
-
*
|
|
3254
|
-
*
|
|
3255
|
-
*
|
|
3256
|
-
*
|
|
3257
|
-
*
|
|
3258
|
-
*
|
|
3233
|
+
* AF_LOOPING = 1,
|
|
3234
|
+
* AF_HOLD_LAST_FRAME = 2,
|
|
3235
|
+
* AF_REPOSITION_WHEN_FINISHED = 4,
|
|
3236
|
+
* AF_NOT_INTERRUPTABLE = 8,
|
|
3237
|
+
* AF_UPPERBODY = 16,
|
|
3238
|
+
* AF_SECONDARY = 32,
|
|
3239
|
+
* AF_REORIENT_WHEN_FINISHED = 64,
|
|
3240
|
+
* AF_ABORT_ON_PED_MOVEMENT = 128,
|
|
3241
|
+
* AF_ADDITIVE = 256,
|
|
3242
|
+
* AF_TURN_OFF_COLLISION = 512,
|
|
3243
|
+
* AF_OVERRIDE_PHYSICS = 1024,
|
|
3244
|
+
* AF_IGNORE_GRAVITY = 2048,
|
|
3245
|
+
* AF_EXTRACT_INITIAL_OFFSET = 4096,
|
|
3246
|
+
* AF_EXIT_AFTER_INTERRUPTED = 8192,
|
|
3247
|
+
* AF_TAG_SYNC_IN = 16384,
|
|
3248
|
+
* AF_TAG_SYNC_OUT = 32768,
|
|
3249
|
+
* AF_TAG_SYNC_CONTINUOUS = 65536,
|
|
3250
|
+
* AF_FORCE_START = 131072,
|
|
3251
|
+
* AF_USE_KINEMATIC_PHYSICS = 262144,
|
|
3252
|
+
* AF_USE_MOVER_EXTRACTION = 524288,
|
|
3253
|
+
* AF_HIDE_WEAPON = 1048576,
|
|
3254
|
+
* AF_ENDS_IN_DEAD_POSE = 2097152,
|
|
3255
|
+
* AF_ACTIVATE_RAGDOLL_ON_COLLISION = 4194304,
|
|
3256
|
+
* AF_DONT_EXIT_ON_DEATH = 8388608,
|
|
3257
|
+
* AF_ABORT_ON_WEAPON_DAMAGE = 16777216,
|
|
3258
|
+
* AF_DISABLE_FORCED_PHYSICS_UPDATE = 33554432,
|
|
3259
|
+
* AF_PROCESS_ATTACHMENTS_ON_START = 67108864,
|
|
3260
|
+
* AF_EXPAND_PED_CAPSULE_FROM_SKELETON = 134217728,
|
|
3261
|
+
* AF_USE_ALTERNATIVE_FP_ANIM = 268435456,
|
|
3262
|
+
* AF_BLENDOUT_WRT_LAST_FRAME = 536870912,
|
|
3263
|
+
* AF_USE_FULL_BLENDING = 1073741824
|
|
3264
|
+
* }
|
|
3259
3265
|
* ```
|
|
3266
|
+
* @param ped The ped you want to play the animation
|
|
3267
|
+
* @param animDictionary The animation dictionary
|
|
3268
|
+
* @param animationName The animation name
|
|
3269
|
+
* @param blendInSpeed The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
|
|
3270
|
+
* @param blendOutSpeed The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
|
|
3271
|
+
* @param duration The duration of the animation in milliseconds. -1 will play the animation until canceled
|
|
3272
|
+
* @param flag The animation flags (see enum)
|
|
3273
|
+
* @param playbackRate The playback rate (between 0.0 and 1.0)
|
|
3260
3274
|
*/
|
|
3261
3275
|
declare function TaskPlayAnim(ped: number, animDictionary: string, animationName: string, blendInSpeed: number, blendOutSpeed: number, duration: number, flag: number, playbackRate: number, lockX: boolean, lockY: boolean, lockZ: boolean): void;
|
|
3262
3276
|
|
|
3263
3277
|
/**
|
|
3264
|
-
*
|
|
3278
|
+
* Similar in functionality to [`TASK_PLAY_ANIM`](#\_0xEA47FE3719165B94), except the position and rotation parameters let you specify the initial position and rotation of the task. The ped is teleported to the position specified.
|
|
3265
3279
|
* [Animations list](https://alexguirre.github.io/animations-list/)
|
|
3266
|
-
* @param ped The
|
|
3267
|
-
* @param
|
|
3268
|
-
* @param
|
|
3280
|
+
* @param ped The ped you want to play the animation
|
|
3281
|
+
* @param animDictionary The animation dictionary
|
|
3282
|
+
* @param animationName The animation name
|
|
3269
3283
|
* @param posX Initial X position of the task
|
|
3270
3284
|
* @param posY Initial Y position of the task
|
|
3271
3285
|
* @param posZ Initial Z position of the task
|
|
3272
|
-
* @param rotX Initial X rotation of the task
|
|
3273
|
-
* @param rotY Initial Y rotation of the task
|
|
3286
|
+
* @param rotX Initial X rotation of the task
|
|
3287
|
+
* @param rotY Initial Y rotation of the task
|
|
3274
3288
|
* @param rotZ Initial Z rotation of the task
|
|
3275
|
-
* @param
|
|
3276
|
-
* @param
|
|
3277
|
-
* @param duration
|
|
3289
|
+
* @param blendInSpeed The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
|
|
3290
|
+
* @param blendOutSpeed The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
|
|
3291
|
+
* @param duration The duration of the animation in milliseconds. -1 will play the animation until canceled
|
|
3292
|
+
* @param flag See [`TASK_PLAY_ANIM`](#\_0xEA47FE3719165B94)
|
|
3278
3293
|
* @param animTime Value between 0.0 and 1.0, lets you start an animation from the given point
|
|
3279
3294
|
*/
|
|
3280
|
-
declare function TaskPlayAnimAdvanced(ped: number,
|
|
3295
|
+
declare function TaskPlayAnimAdvanced(ped: number, animDictionary: string, animationName: string, posX: number, posY: number, posZ: number, rotX: number, rotY: number, rotZ: number, blendInSpeed: number, blendOutSpeed: number, duration: number, flag: number, animTime: number, p14: number, p15: number): void;
|
|
3281
3296
|
|
|
3282
3297
|
/**
|
|
3283
3298
|
* TASK_REACT_AND_FLEE_PED
|
|
@@ -3302,7 +3317,13 @@ declare function TaskShootAtCoord(ped: number, x: number, y: number, z: number,
|
|
|
3302
3317
|
declare function TaskShootAtEntity(entity: number, target: number, duration: number, firingPattern: string | number): void;
|
|
3303
3318
|
|
|
3304
3319
|
/**
|
|
3305
|
-
*
|
|
3320
|
+
* ```
|
|
3321
|
+
* NativeDB Introduced: v323
|
|
3322
|
+
* ```
|
|
3323
|
+
* Warp a ped into a vehicle.
|
|
3324
|
+
* **Note**: It's better to use [`TASK_ENTER_VEHICLE`](#\_0xC20E50AA46D09CA8) with the flag "warp" flag instead of this native.
|
|
3325
|
+
* @param ped The Ped to be warped into the vehicle.
|
|
3326
|
+
* @param vehicle The target vehicle into which the ped will be warped.
|
|
3306
3327
|
* @param seatIndex See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\_0x22AC59A870E6A669).
|
|
3307
3328
|
*/
|
|
3308
3329
|
declare function TaskWarpPedIntoVehicle(ped: number, vehicle: number, seatIndex: number): void;
|