diff --git a/PED/SetPedConfigFlag.md b/PED/SetPedConfigFlag.md index d8304604d..fbfcf88b6 100644 --- a/PED/SetPedConfigFlag.md +++ b/PED/SetPedConfigFlag.md @@ -9,14 +9,13 @@ void SET_PED_CONFIG_FLAG(Ped ped, int flagId, BOOL value); ``` ```c -// Potential names and hash collisions included as comments enum ePedConfigFlags { - _0x67D1A445 = 0, + CPED_CONFIG_FLAG_CreatedByFactory = 0, _0xC63DE95E = 1, CPED_CONFIG_FLAG_NoCriticalHits = 2, CPED_CONFIG_FLAG_DrownsInWater = 3, - CPED_CONFIG_FLAG_DisableReticuleFixedLockon = 4, - _0x37D196F4 = 5, + CPED_CONFIG_FLAG_DrownsInSinkingVehicle = 4, + CPED_CONFIG_FLAG_DiesInstantlyWhenSwimming = 5, _0xE2462399 = 6, CPED_CONFIG_FLAG_UpperBodyDamageAnimsOnly = 7, _0xEDDEB838 = 8, @@ -25,30 +24,30 @@ enum ePedConfigFlags { _0xA05E7CA3 = 11, _0xCE394045 = 12, CPED_CONFIG_FLAG_NeverLeavesGroup = 13, - _0xCD8D1411 = 14, + CPED_CONFIG_FLAG_DoesntDropWeaponsWhenDead = 14, _0xB031F1A9 = 15, - _0xFE65BEE3 = 16, + CPED_CONFIG_FLAG_KeepTasksAfterCleanUp = 16, CPED_CONFIG_FLAG_BlockNonTemporaryEvents = 17, _0x380165BD = 18, - _0x07C045C7 = 19, - _0x583B5E2D = 20, - _0x475EDA58 = 21, - _0x8629D05B = 22, + CPED_CONFIG_FLAG_WaitingForScriptBrainToLoad = 19, + CPED_CONFIG_FLAG_AllowMedicsToReviveMe = 20, + CPED_CONFIG_FLAG_MoneyHasBeenGivenByScript = 21, + CPED_CONFIG_FLAG_NotAllowedToCrouch = 22, _0x1522968B = 23, CPED_CONFIG_FLAG_IgnoreSeenMelee = 24, _0x4CC09C4B = 25, _0x034F3053 = 26, _0xD91BA7CC = 27, _0x5C8DC66E = 28, - _0x8902EAA0 = 29, + CPED_CONFIG_FLAG_GetOutUndriveableVehicle = 29, _0x6580B9D2 = 30, - _0x0EF7A297 = 31, - _0x6BF86E5B = 32, + CPED_CONFIG_FLAG_DontStoreAsPersistent = 31, + CPED_CONFIG_FLAG_WillFlyThroughWindscreen = 32, CPED_CONFIG_FLAG_DieWhenRagdoll = 33, CPED_CONFIG_FLAG_HasHelmet = 34, CPED_CONFIG_FLAG_UseHelmet = 35, - _0xEEB3D630 = 36, - _0xB130D17B = 37, + CPED_CONFIG_FLAG_DontTakeOffHelmet = 36, + CPED_CONFIG_FLAG_HideInCutscene = 37, _0x5F071200 = 38, CPED_CONFIG_FLAG_DisableEvasiveDives = 39, _0xC287AAFF = 40, @@ -56,7 +55,7 @@ enum ePedConfigFlags { CPED_CONFIG_FLAG_DontInfluenceWantedLevel = 42, CPED_CONFIG_FLAG_DisablePlayerLockon = 43, CPED_CONFIG_FLAG_DisableLockonToRandomPeds = 44, - _0xEC4A8ACF = 45, + CPED_CONFIG_FLAG_AllowLockonToFriendlyPlayers = 45, _0xDB115BFA = 46, CPED_CONFIG_FLAG_PedBeingDeleted = 47, CPED_CONFIG_FLAG_BlockWeaponSwitching = 48, @@ -67,7 +66,7 @@ enum ePedConfigFlags { _0x5A6C1F6E = 53, _0xD749FC41 = 54, _0x357F63F3 = 55, - _0xC5E60961 = 56, + CPED_CONFIG_FLAG_ConstrainToNavMesh = 56, _0x29275C3E = 57, CPED_CONFIG_FLAG_IsFiring = 58, CPED_CONFIG_FLAG_WasFiring = 59, @@ -83,24 +82,24 @@ enum ePedConfigFlags { CPED_CONFIG_FLAG_KilledByStealth = 69, CPED_CONFIG_FLAG_KilledByTakedown = 70, CPED_CONFIG_FLAG_Knockedout = 71, - _0x3E3C4560 = 72, + CPED_CONFIG_FLAG_ClearRadarBlipOnDeath = 72, _0x2994C7B7 = 73, _0x6D59D275 = 74, CPED_CONFIG_FLAG_UsingCoverPoint = 75, CPED_CONFIG_FLAG_IsInTheAir = 76, - _0x2D493FB7 = 77, + CPED_CONFIG_FLAG_KnockedUpIntoAir = 77, CPED_CONFIG_FLAG_IsAimingGun = 78, - _0x14D69875 = 79, + CPED_CONFIG_FLAG_HasJustLeftCar = 79, _0x40B05311 = 80, - _0x8B230BC5 = 81, - _0xC74E5842 = 82, - _0x9EA86147 = 83, - _0x674C746C = 84, + CPED_CONFIG_FLAG_CurrLeftFootCollNM = 81, + CPED_CONFIG_FLAG_PrevLeftFootCollNM = 82, + CPED_CONFIG_FLAG_CurrRightFootCollNM = 83, + CPED_CONFIG_FLAG_PrevRightFootCollNM = 84, _0x3E56A8C2 = 85, _0xC144A1EF = 86, _0x0548512D = 87, _0x31C93909 = 88, - _0xA0269315 = 89, + CPED_CONFIG_FLAG_DontActivateRagdollFromAnyPedImpact = 89, _0xD4D59D4D = 90, _0x411D4420 = 91, _0xDF4AEF0D = 92, @@ -110,370 +109,377 @@ enum ePedConfigFlags { _0x89C2EF13 = 96, CPED_CONFIG_FLAG_VaultFromCover = 97, _0x02A852C8 = 98, - _0x3D9407F1 = 99, + CPED_CONFIG_FLAG_UsingCrouchedPedCapsule = 99, _0x319B4558 = 100, CPED_CONFIG_FLAG_ForcedAim = 101, _0xB942D71A = 102, _0xD26C55A8 = 103, - _0xB89E703B = 104, + CPED_CONFIG_FLAG_OpenDoorArmIK = 104, CPED_CONFIG_FLAG_ForceReload = 105, - _0xD9E73DA2 = 106, - _0xFF71DC2C = 107, - _0x1E27E8D8 = 108, - _0xF2C53966 = 109, - _0xC4DBE247 = 110, - _0x83C0A4BF = 111, + CPED_CONFIG_FLAG_DontActivateRagdollFromVehicleImpact = 106, + CPED_CONFIG_FLAG_DontActivateRagdollFromBulletImpact = 107, + CPED_CONFIG_FLAG_DontActivateRagdollFromExplosions = 108, + CPED_CONFIG_FLAG_DontActivateRagdollFromFire = 109, + CPED_CONFIG_FLAG_DontActivateRagdollFromElectrocution = 110, + CPED_CONFIG_FLAG_IsBeingDraggedToSafety = 111, _0x0E0FAF8C = 112, - _0x26616660 = 113, + CPED_CONFIG_FLAG_KeepWeaponHolsteredUnlessFired = 113, _0x43B80B79 = 114, _0x0D2A9309 = 115, - _0x12C1C983 = 116, + CPED_CONFIG_FLAG_GetOutBurningVehicle = 116, CPED_CONFIG_FLAG_BumpedByPlayer = 117, - _0xE586D504 = 118, - _0x52374204 = 119, + CPED_CONFIG_FLAG_RunFromFiresAndExplosions = 118, + CPED_CONFIG_FLAG_TreatAsPlayerDuringTargeting = 119, CPED_CONFIG_FLAG_IsHandCuffed = 120, CPED_CONFIG_FLAG_IsAnkleCuffed = 121, CPED_CONFIG_FLAG_DisableMelee = 122, - _0xFE714397 = 123, - _0xB3E660BD = 124, - _0x5FED6BFD = 125, - _0xC9D6F66F = 126, - _0x519BC986 = 127, + CPED_CONFIG_FLAG_DisableUnarmedDrivebys = 123, + CPED_CONFIG_FLAG_JustGetsPulledOutWhenElectrocuted = 124, + CPED_CONFIG_FLAG_UNUSED_REPLACE_ME = 125, + CPED_CONFIG_FLAG_WillNotHotwireLawEnforcementVehicle = 126, + CPED_CONFIG_FLAG_WillCommandeerRatherThanJack = 127, CPED_CONFIG_FLAG_CanBeAgitated = 128, - _0x9A4B617C = 129, // CPED_CONFIG_FLAG_FaceDirInsult - _0xDAB70E9F = 130, - _0xE569438A = 131, - _0xBBC77D6D = 132, - _0xCB59EF0F = 133, - _0x8C5EA971 = 134, + CPED_CONFIG_FLAG_ForcePedToFaceLeftInCover = 129, + CPED_CONFIG_FLAG_ForcePedToFaceRightInCover = 130, + CPED_CONFIG_FLAG_BlockPedFromTurningInCover = 131, + CPED_CONFIG_FLAG_KeepRelationshipGroupAfterCleanUp = 132, + CPED_CONFIG_FLAG_ForcePedToBeDragged = 133, + CPED_CONFIG_FLAG_PreventPedFromReactingToBeingJacked = 134, CPED_CONFIG_FLAG_IsScuba = 135, CPED_CONFIG_FLAG_WillArrestRatherThanJack = 136, - _0xDCE59B58 = 137, + CPED_CONFIG_FLAG_RemoveDeadExtraFarAway = 137, CPED_CONFIG_FLAG_RidingTrain = 138, CPED_CONFIG_FLAG_ArrestResult = 139, CPED_CONFIG_FLAG_CanAttackFriendly = 140, - _0x98A4BE43 = 141, + CPED_CONFIG_FLAG_WillJackAnyPlayer = 141, _0x6901E731 = 142, _0x9EC9BF6C = 143, - _0x42841A8F = 144, - CPED_CONFIG_FLAG_ShootingAnimFlag = 145, + CPED_CONFIG_FLAG_WillJackWantedPlayersRatherThanStealCar = 144, + _0x0C8BE027 = 145, CPED_CONFIG_FLAG_DisableLadderClimbing = 146, CPED_CONFIG_FLAG_StairsDetected = 147, CPED_CONFIG_FLAG_SlopeDetected = 148, - _0x1A15670B = 149, - _0x61786EE5 = 150, - _0xCB9186BD = 151, - _0xF0710152 = 152, - _0x43DFE310 = 153, - _0xC43C624E = 154, + CPED_CONFIG_FLAG_HelmetHasBeenShot = 149, + CPED_CONFIG_FLAG_CowerInsteadOfFlee = 150, + CPED_CONFIG_FLAG_CanActivateRagdollWhenVehicleUpsideDown = 151, + CPED_CONFIG_FLAG_AlwaysRespondToCriesForHelp = 152, + CPED_CONFIG_FLAG_DisableBloodPoolCreation = 153, + CPED_CONFIG_FLAG_ShouldFixIfNoCollision = 154, CPED_CONFIG_FLAG_CanPerformArrest = 155, CPED_CONFIG_FLAG_CanPerformUncuff = 156, CPED_CONFIG_FLAG_CanBeArrested = 157, - _0xF7960FF5 = 158, - _0x59564113 = 159, - _0x0C6C3099 = 160, - _0x645F927A = 161, - _0xA86549B9 = 162, - _0x8AAF337A = 163, - _0x13BAA6E7 = 164, - _0x5FB9D1F5 = 165, + CPED_CONFIG_FLAG_MoverConstrictedByOpposingCollisions = 158, + CPED_CONFIG_FLAG_PlayerPreferFrontSeatMP = 159, + CPED_CONFIG_FLAG_DontActivateRagdollFromImpactObject = 160, + CPED_CONFIG_FLAG_DontActivateRagdollFromMelee = 161, + CPED_CONFIG_FLAG_DontActivateRagdollFromWaterJet = 162, + CPED_CONFIG_FLAG_DontActivateRagdollFromDrowning = 163, + CPED_CONFIG_FLAG_DontActivateRagdollFromFalling = 164, + CPED_CONFIG_FLAG_DontActivateRagdollFromRubberBullet = 165, CPED_CONFIG_FLAG_IsInjured = 166, - _0x6398A20B = 167, - _0xD8072639 = 168, - _0xA05B1845 = 169, - _0x83F6D220 = 170, - _0xD8430331 = 171, - _0x4B547520 = 172, - _0xE66E1406 = 173, - _0x1C4BFE0C = 174, - _0x90008BFA = 175, - _0x07C7A910 = 176, - _0xF15F8191 = 177, + CPED_CONFIG_FLAG_DontEnterVehiclesInPlayersGroup = 167, + CPED_CONFIG_FLAG_SwimmingTasksRunning = 168, + CPED_CONFIG_FLAG_PreventAllMeleeTaunts = 169, + CPED_CONFIG_FLAG_ForceDirectEntry = 170, + CPED_CONFIG_FLAG_AlwaysSeeApproachingVehicles = 171, + CPED_CONFIG_FLAG_CanDiveAwayFromApproachingVehicles = 172, + CPED_CONFIG_FLAG_AllowPlayerToInterruptVehicleEntryExit = 173, + CPED_CONFIG_FLAG_OnlyAttackLawIfPlayerIsWanted = 174, + CPED_CONFIG_FLAG_PlayerInContactWithKinematicPed = 175, + CPED_CONFIG_FLAG_PlayerInContactWithSomethingOtherThanKinematicPed = 176, + CPED_CONFIG_FLAG_PedsJackingMeDontGetIn = 177, _0xCE4E8BE2 = 178, - _0x1D46E4F2 = 179, + CPED_CONFIG_FLAG_PedIgnoresAnimInterruptEvents = 179, CPED_CONFIG_FLAG_IsInCustody = 180, - _0xE4FD9B3A = 181, - _0x67AE0812 = 182, + CPED_CONFIG_FLAG_ForceStandardBumpReactionThresholds = 181, + CPED_CONFIG_FLAG_LawWillOnlyAttackIfPlayerIsWanted = 182, CPED_CONFIG_FLAG_IsAgitated = 183, CPED_CONFIG_FLAG_PreventAutoShuffleToDriversSeat = 184, - _0x7B2D325E = 185, + CPED_CONFIG_FLAG_UseKinematicModeWhenStationary = 185, CPED_CONFIG_FLAG_EnableWeaponBlocking = 186, CPED_CONFIG_FLAG_HasHurtStarted = 187, CPED_CONFIG_FLAG_DisableHurt = 188, CPED_CONFIG_FLAG_PlayerIsWeird = 189, _0x32FC208B = 190, _0x0C296E5A = 191, - _0xE63B73EC = 192, - _0x04E9CC80 = 193, + CPED_CONFIG_FLAG_WarpIntoLeadersVehicle = 192, + CPED_CONFIG_FLAG_DoNothingWhenOnFootByDefault = 193, CPED_CONFIG_FLAG_UsingScenario = 194, CPED_CONFIG_FLAG_VisibleOnScreen = 195, _0xD88C58A1 = 196, - _0x5A3DCF43 = 197, // CPED_CONFIG_FLAG_AvoidUnderSide - _0xEA02B420 = 198, - _0x3F559CFF = 199, - _0x8C55D029 = 200, - _0x5E6466F6 = 201, - _0xEB5AD706 = 202, - _0x0EDDDDE7 = 203, - _0xA64F7B1D = 204, - _0x48532CBA = 205, - _0xAA25A9E7 = 206, - _0x415B26B9 = 207, + CPED_CONFIG_FLAG_ActivateOnSwitchFromLowPhysicsLod = 197, + CPED_CONFIG_FLAG_DontActivateRagdollOnPedCollisionWhenDead = 198, + CPED_CONFIG_FLAG_DontActivateRagdollOnVehicleCollisionWhenDead = 199, + CPED_CONFIG_FLAG_HasBeenInArmedCombat = 200, + CPED_CONFIG_FLAG_UseDiminishingAmmoRate = 201, + CPED_CONFIG_FLAG_Avoidance_Ignore_All = 202, + CPED_CONFIG_FLAG_Avoidance_Ignored_by_All = 203, + CPED_CONFIG_FLAG_Avoidance_Ignore_Group1 = 204, + CPED_CONFIG_FLAG_Avoidance_Member_of_Group1 = 205, + CPED_CONFIG_FLAG_ForcedToUseSpecificGroupSeatIndex = 206, + CPED_CONFIG_FLAG_LowPhysicsLodMayPlaceOnNavMesh = 207, CPED_CONFIG_FLAG_DisableExplosionReactions = 208, - CPED_CONFIG_FLAG_DodgedPlayer = 209, - _0x67405504 = 210, - _0x75DDD68C = 211, - _0x2AD879B4 = 212, - _0x51486F91 = 213, - _0x32F79E21 = 214, - _0xBF099213 = 215, + _0xD20738F0 = 209, + CPED_CONFIG_FLAG_WaitingForPlayerControlInterrupt = 210, + CPED_CONFIG_FLAG_ForcedToStayInCover = 211, + CPED_CONFIG_FLAG_GeneratesSoundEvents = 212, + CPED_CONFIG_FLAG_ListensToSoundEvents = 213, + CPED_CONFIG_FLAG_AllowToBeTargetedInAVehicle = 214, + CPED_CONFIG_FLAG_WaitForDirectEntryPointToBeFreeWhenExiting = 215, _0x054AC8E2 = 216, - _0x14E495CC = 217, + CPED_CONFIG_FLAG_ForceExitToSkyDive = 217, _0x3C7DF9DF = 218, - _0x848FFEF2 = 219, - CPED_CONFIG_FLAG_DontEnterLeadersVehicle = 220, - _0x2618E1CF = 221, - _0x84F722FA = 222, - _0xD1B87B1F = 223, + CPED_CONFIG_FLAG_AllowPedInVehiclesOverrideTaskFlags = 219, + _0x8AF66820 = 220, + CPED_CONFIG_FLAG_DisableExitToSkyDive = 221, + CPED_CONFIG_FLAG_ScriptHasDisabledCollision = 222, + CPED_CONFIG_FLAG_UseAmbientModelScaling = 223, _0x728AA918 = 224, CPED_CONFIG_FLAG_DisablePotentialToBeWalkedIntoResponse = 225, CPED_CONFIG_FLAG_DisablePedAvoidance = 226, - _0x59E91185 = 227, + CPED_CONFIG_FLAG_ForceRagdollUponDeath = 227, _0x1EA7225F = 228, CPED_CONFIG_FLAG_DisablePanicInVehicle = 229, - _0x6DCA7D88 = 230, + CPED_CONFIG_FLAG_AllowedToDetachTrailer = 230, _0xFC3E572D = 231, _0x08E9F9CF = 232, _0x2D3BA52D = 233, _0xFD2F53EA = 234, - _0x31A1B03B = 235, + CPED_CONFIG_FLAG_AllowBlockDeadPedRagdollActivation = 235, CPED_CONFIG_FLAG_IsHoldingProp = 236, - _0x82ED0A66 = 237, // CPED_CONFIG_FLAG_BlocksPathingWhenDead + _0x82ED0A66 = 237, _0xCE57C9A3 = 238, _0x26149198 = 239, - _0x1B33B598 = 240, - _0x719B6E87 = 241, - _0x13E8E8E8 = 242, - _0xF29739AE = 243, - _0xABEA8A74 = 244, - _0xB60EA2BA = 245, - _0x536B0950 = 246, + CPED_CONFIG_FLAG_ForceSkinCharacterCloth = 240, + CPED_CONFIG_FLAG_LeaveEngineOnWhenExitingVehicles = 241, + CPED_CONFIG_FLAG_PhoneDisableTextingAnimations = 242, + CPED_CONFIG_FLAG_PhoneDisableTalkingAnimations = 243, + CPED_CONFIG_FLAG_PhoneDisableCameraAnimations = 244, + CPED_CONFIG_FLAG_DisableBlindFiringInShotReactions = 245, + CPED_CONFIG_FLAG_AllowNearbyCoverUsage = 246, _0x0C754ACA = 247, - CPED_CONFIG_FLAG_DisableVehicleSeatRandomAnimations = 248, - _0x12659168 = 249, - _0x1BDF2F04 = 250, - _0x7728FAA3 = 251, - _0x6A807ED8 = 252, + _0x69D28F3E = 248, + CPED_CONFIG_FLAG_CanAttackNonWantedPlayerAsLaw = 249, + CPED_CONFIG_FLAG_WillTakeDamageWhenVehicleCrashes = 250, + CPED_CONFIG_FLAG_AICanDrivePlayerAsRearPassenger = 251, + CPED_CONFIG_FLAG_PlayerCanJackFriendlyPlayers = 252, CPED_CONFIG_FLAG_OnStairs = 253, _0xE1A2F73F = 254, - _0x5B3697C8 = 255, - _0xF1EB20A9 = 256, - _0x8B7DF407 = 257, + CPED_CONFIG_FLAG_AIDriverAllowFriendlyPassengerSeatEntry = 255, + CPED_CONFIG_FLAG_ParentCarIsBeingRemoved = 256, + CPED_CONFIG_FLAG_AllowMissionPedToUseInjuredMovement = 257, _0x329DCF1A = 258, _0x8D90DD1B = 259, _0xB8A292B7 = 260, - _0x8374B087 = 261, - _0x2AF558F0 = 262, + CPED_CONFIG_FLAG_PreventUsingLowerPrioritySeats = 261, + CPED_CONFIG_FLAG_JustLeftVehicleNeedsReset = 262, _0x82251455 = 263, _0x30CF498B = 264, _0xE1CD50AF = 265, _0x72E4AE48 = 266, _0xC2657EA1 = 267, - _0x29FF6030 = 268, - _0x8248A5EC = 269, + CPED_CONFIG_FLAG_TeleportToLeaderVehicle = 268, + CPED_CONFIG_FLAG_Avoidance_Ignore_WeirdPedBuffer = 269, CPED_CONFIG_FLAG_OnStairSlope = 270, _0xA0897933 = 271, CPED_CONFIG_FLAG_DontBlipCop = 272, - CPED_CONFIG_FLAG_ClimbedShiftedFence = 273, + _0xCFB4DD04 = 273, _0xF7823618 = 274, - _0xDC305CCE = 275, // CPED_CONFIG_FLAG_KillWhenTrapped + CPED_CONFIG_FLAG_KillWhenTrapped = 275, CPED_CONFIG_FLAG_EdgeDetected = 276, - _0x92B67896 = 277, + CPED_CONFIG_FLAG_AlwaysWakeUpPhysicsOfIntersectedPeds = 277, _0xCAD677C9 = 278, CPED_CONFIG_FLAG_AvoidTearGas = 279, - _0x5276AC7B = 280, - _0x1032692A = 281, - _0xDA23E7F1 = 282, - _0x9139724D = 283, + CPED_CONFIG_FLAG_StoppedSpeechUponFreezing = 280, + CPED_CONFIG_FLAG_DisableGoToWritheWhenInjured = 281, + CPED_CONFIG_FLAG_OnlyUseForcedSeatWhenEnteringHeliInGroup = 282, + CPED_CONFIG_FLAG_ThrownFromVehicleDueToExhaustion = 283, _0xA1457461 = 284, - _0x4186E095 = 285, - _0xAC68E2EB = 286, + CPED_CONFIG_FLAG_DisableWeirdPedEvents = 285, + CPED_CONFIG_FLAG_ShouldChargeNow = 286, CPED_CONFIG_FLAG_RagdollingOnBoat = 287, CPED_CONFIG_FLAG_HasBrandishedWeapon = 288, _0x1B9EE8A1 = 289, _0xF3F5758C = 290, - _0x2A9307F1 = 291, - _0x7403D216 = 292, + CPED_CONFIG_FLAG_PedHasBeenSeen = 291, + CPED_CONFIG_FLAG_PedIsInReusePool = 292, _0xA06A3C6C = 293, CPED_CONFIG_FLAG_DisableShockingEvents = 294, - _0xF8DA25A5 = 295, - _0x7EF55802 = 296, + CPED_CONFIG_FLAG_MovedUsingLowLodPhysicsSinceLastActive = 295, + CPED_CONFIG_FLAG_NeverReactToPedOnRoof = 296, _0xB31F1187 = 297, _0x84315402 = 298, - _0x0FD69867 = 299, + CPED_CONFIG_FLAG_DisableShockingDrivingOnPavementEvents = 299, _0xC7829B67 = 300, CPED_CONFIG_FLAG_DisablePedConstraints = 301, - _0x6D23CF25 = 302, + CPED_CONFIG_FLAG_ForceInitialPeekInCover = 302, _0x2ADA871B = 303, _0x47BC8A58 = 304, - _0xEB692FA5 = 305, - _0x4A133C50 = 306, - _0xC58099C3 = 307, - _0xF3D76D41 = 308, - _0xB0EEE9F2 = 309, + CPED_CONFIG_FLAG_DisableJumpingFromVehiclesAfterLeader = 305, + CPED_CONFIG_FLAG_DontActivateRagdollFromPlayerPedImpact = 306, + CPED_CONFIG_FLAG_DontActivateRagdollFromAiRagdollImpact = 307, + CPED_CONFIG_FLAG_DontActivateRagdollFromPlayerRagdollImpact = 308, + CPED_CONFIG_FLAG_DisableQuadrupedSpring = 309, CPED_CONFIG_FLAG_IsInCluster = 310, _0x0FA153EF = 311, - _0xD73F5CD3 = 312, - _0xD4136C22 = 313, - _0xE404CA6B = 314, - _0xB9597446 = 315, - _0xD5C98277 = 316, - _0xD5060A9C = 317, - _0x3E5F1CBB = 318, + CPED_CONFIG_FLAG_IgnoredByAutoOpenDoors = 312, + CPED_CONFIG_FLAG_PreferInjuredGetup = 313, + CPED_CONFIG_FLAG_ForceIgnoreMeleeActiveCombatant = 314, + CPED_CONFIG_FLAG_CheckLoSForSoundEvents = 315, + CPED_CONFIG_FLAG_JackedAbandonedCar = 316, + CPED_CONFIG_FLAG_CanSayFollowedByPlayerAudio = 317, + CPED_CONFIG_FLAG_ActivateRagdollFromMinorPlayerContact = 318, _0xD8BE1D54 = 319, _0x0B1F191F = 320, - _0xC995167A = 321, + CPED_CONFIG_FLAG_HasClothCollisionBounds = 321, CPED_CONFIG_FLAG_HasHighHeels = 322, _0x86B01E54 = 323, - _0x3A56FE15 = 324, - _0xC03B736C = 325, // CPED_CONFIG_FLAG_SpawnedAtScenario - _0xBBF47729 = 326, - _0x22B668A8 = 327, - _0x2624D4D4 = 328, + CPED_CONFIG_FLAG_DontBehaveLikeLaw = 324, + CPED_CONFIG_FLAG_SpawnedAtScenario = 325, + CPED_CONFIG_FLAG_DisablePoliceInvestigatingBody = 326, + CPED_CONFIG_FLAG_DisableWritheShootFromGround = 327, + CPED_CONFIG_FLAG_LowerPriorityOfWarpSeats = 328, CPED_CONFIG_FLAG_DisableTalkTo = 329, CPED_CONFIG_FLAG_DontBlip = 330, CPED_CONFIG_FLAG_IsSwitchingWeapon = 331, - _0x630F55F3 = 332, + CPED_CONFIG_FLAG_IgnoreLegIkRestrictions = 332, _0x150468FD = 333, - _0x914EBD6B = 334, - _0x79AF3B6D = 335, - _0x75C7A632 = 336, + CPED_CONFIG_FLAG_JackedOutOfMyVehicle = 334, + CPED_CONFIG_FLAG_WentIntoCombatAfterBeingJacked = 335, + CPED_CONFIG_FLAG_DontActivateRagdollForVehicleGrab = 336, _0x52D530E2 = 337, _0xDB2A90E0 = 338, - _0x5922763D = 339, - _0x12ADB567 = 340, + CPED_CONFIG_FLAG_AllowTaskDoNothingTimeslicing = 339, + CPED_CONFIG_FLAG_ForcedToStayInCoverDueToPlayerSwitch = 340, _0x105C8518 = 341, - _0x106F703D = 342, + CPED_CONFIG_FLAG_NotAllowedToJackAnyPlayers = 342, _0xED152C3E = 343, - _0xA0EFE6A8 = 344, - _0xBF348C82 = 345, + CPED_CONFIG_FLAG_KilledByStandardMelee = 344, + CPED_CONFIG_FLAG_AlwaysLeaveTrainUponArrival = 345, _0xCDDFE830 = 346, - _0x7B59BD9B = 347, + CPED_CONFIG_FLAG_OnlyWritheFromWeaponDamage = 347, _0x0124C788 = 348, CPED_CONFIG_FLAG_EquipJetpack = 349, _0x08D361A5 = 350, - _0xE13D1F7C = 351, + CPED_CONFIG_FLAG_ScriptHasCompletelyDisabledCollision = 351, _0x40E25FB9 = 352, _0x930629D9 = 353, _0xECCF0C7F = 354, _0xB6E9613B = 355, - _0x490C0478 = 356, - _0xE8865BEA = 357, - _0xF3C34A29 = 358, + CPED_CONFIG_FLAG_ForceDeepSurfaceCheck = 356, + CPED_CONFIG_FLAG_DisableDeepSurfaceAnims = 357, + CPED_CONFIG_FLAG_DontBlipNotSynced = 358, CPED_CONFIG_FLAG_IsDuckingInVehicle = 359, - _0xF660E115 = 360, - _0xAB0E6DED = 361, + CPED_CONFIG_FLAG_PreventAutoShuffleToTurretSeat = 360, + CPED_CONFIG_FLAG_DisableEventInteriorStatusCheck = 361, CPED_CONFIG_FLAG_HasReserveParachute = 362, CPED_CONFIG_FLAG_UseReserveParachute = 363, - _0x5C5D9CD3 = 364, - _0x8F7701F3 = 365, - _0xBC4436AD = 366, - _0xD7E07D37 = 367, + CPED_CONFIG_FLAG_TreatDislikeAsHateWhenInCombat = 364, + CPED_CONFIG_FLAG_OnlyUpdateTargetWantedIfSeen = 365, + CPED_CONFIG_FLAG_AllowAutoShuffleToDriversSeat = 366, + CPED_CONFIG_FLAG_DontActivateRagdollFromSmokeGrenade = 367, _0x03C4FD24 = 368, _0x7675789A = 369, _0xB7288A88 = 370, _0xC06B6291 = 371, - _0x95A4A805 = 372, - _0xA8E9A042 = 373, + CPED_CONFIG_FLAG_PreventReactingToSilencedCloneBullets = 372, + CPED_CONFIG_FLAG_DisableInjuredCryForHelpEvents = 373, CPED_CONFIG_FLAG_NeverLeaveTrain = 374, - _0xBAC674B3 = 375, + CPED_CONFIG_FLAG_DontDropJetpackOnDeath = 375, _0x147F1FFB = 376, _0x4376DD79 = 377, _0xCD3DB518 = 378, _0xFE4BA4B6 = 379, - _0x5DF03A55 = 380, - _0xBCD816CD = 381, + CPED_CONFIG_FLAG_DisableAutoEquipHelmetsInBikes = 380, + CPED_CONFIG_FLAG_DisableAutoEquipHelmetsInAircraft = 381, _0xCF02DD69 = 382, _0xF73AFA2E = 383, - _0x80B9A9D0 = 384, + CPED_CONFIG_FLAG_PreferNoPriorityRemoval = 384, _0xF601F7EE = 385, _0xA91350FC = 386, _0x3AB23B96 = 387, CPED_CONFIG_FLAG_IsClimbingLadder = 388, CPED_CONFIG_FLAG_HasBareFeet = 389, - _0xB4B1CD4C = 390, - _0x5459AFB8 = 391, - _0x54F27667 = 392, - _0xC11D3E8F = 393, - _0x5419EB3E = 394, - _0x82D8DBB4 = 395, - _0x33B02D2F = 396, - _0xAE66176D = 397, - _0xA2692593 = 398, - _0x714C7E31 = 399, - _0xEC488AC7 = 400, - _0xAE398504 = 401, - _0xABC58D72 = 402, + CPED_CONFIG_FLAG_UNUSED_REPLACE_ME_2 = 390, + CPED_CONFIG_FLAG_GoOnWithoutVehicleIfItIsUnableToGetBackToRoad = 391, + CPED_CONFIG_FLAG_BlockDroppingHealthSnacksOnDeath = 392, + CPED_CONFIG_FLAG_ResetLastVehicleOnVehicleExit = 393, + CPED_CONFIG_FLAG_ForceThreatResponseToNonFriendToFriendMeleeActions = 394, + CPED_CONFIG_FLAG_DontRespondToRandomPedsDamage = 395, + CPED_CONFIG_FLAG_AllowContinuousThreatResponseWantedLevelUpdates = 396, + CPED_CONFIG_FLAG_KeepTargetLossResponseOnCleanup = 397, + CPED_CONFIG_FLAG_PlayersDontDragMeOutOfCar = 398, + CPED_CONFIG_FLAG_BroadcastRepondedToThreatWhenGoingToPointShooting = 399, + CPED_CONFIG_FLAG_IgnorePedTypeForIsFriendlyWith = 400, + CPED_CONFIG_FLAG_TreatNonFriendlyAsHateWhenInCombat = 401, + CPED_CONFIG_FLAG_DontLeaveVehicleIfLeaderNotInVehicle = 402, _0x5E5B9591 = 403, - _0x6BA1091E = 404, + CPED_CONFIG_FLAG_AllowMeleeReactionIfMeleeProofIsOn = 404, _0x77840177 = 405, _0x1C7ACAC4 = 406, - _0x124420E9 = 407, - _0x75A65587 = 408, - _0xDFD2D55B = 409, - _0xBDD39919 = 410, - _0x43DEC267 = 411, - _0xE42B7797 = 412, - CPED_CONFIG_FLAG_IsHolsteringWeapon = 413, - _0x4F8149F5 = 414, - _0xDD9ECA7A = 415, - _0x9E7EF9D2 = 416, - _0x2C6ED942 = 417, + CPED_CONFIG_FLAG_UseNormalExplosionDamageWhenBlownUpInVehicle = 407, + CPED_CONFIG_FLAG_DisableHomingMissileLockForVehiclePedInside = 408, + CPED_CONFIG_FLAG_DisableTakeOffScubaGear = 409, + CPED_CONFIG_FLAG_IgnoreMeleeFistWeaponDamageMult = 410, + CPED_CONFIG_FLAG_LawPedsCanFleeFromNonWantedPlayer = 411, + CPED_CONFIG_FLAG_ForceBlipSecurityPedsIfPlayerIsWanted = 412, + _0x168C7F47 = 413, + CPED_CONFIG_FLAG_UseGoToPointForScenarioNavigation = 414, + CPED_CONFIG_FLAG_DontClearLocalPassengersWantedLevel = 415, + CPED_CONFIG_FLAG_BlockAutoSwapOnWeaponPickups = 416, + CPED_CONFIG_FLAG_ThisPedIsATargetPriorityForAI = 417, CPED_CONFIG_FLAG_IsSwitchingHelmetVisor = 418, - _0xA488727D = 419, + CPED_CONFIG_FLAG_ForceHelmetVisorSwitch = 419, _0xCFF5F6DE = 420, - _0x6D614599 = 421, + CPED_CONFIG_FLAG_UseOverrideFootstepPtFx = 421, CPED_CONFIG_FLAG_DisableVehicleCombat = 422, - _0xFE401D26 = 423, - CPED_CONFIG_FLAG_FallsLikeAircraft = 424, - _0x2B42AE82 = 425, - _0x7A95734F = 426, - _0xDF4D8617 = 427, - _0x578F1F14 = 428, + CPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamage = 423, + CPED_CONFIG_FLAG_AllowBikeAlternateAnimations = 424, + CPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamageNonSynced = 425, + CPED_CONFIG_FLAG_UseLockpickVehicleEntryAnimations = 426, + CPED_CONFIG_FLAG_IgnoreInteriorCheckForSprinting = 427, + CPED_CONFIG_FLAG_SwatHeliSpawnWithinLastSpottedLocation = 428, CPED_CONFIG_FLAG_DisableStartEngine = 429, CPED_CONFIG_FLAG_IgnoreBeingOnFire = 430, - _0x153C9500 = 431, - _0xCB7A632E = 432, - _0xDE727981 = 433, + CPED_CONFIG_FLAG_DisableTurretOrRearSeatPreference = 431, + CPED_CONFIG_FLAG_DisableWantedHelicopterSpawning = 432, + CPED_CONFIG_FLAG_UseTargetPerceptionForCreatingAimedAtEvents = 433, CPED_CONFIG_FLAG_DisableHomingMissileLockon = 434, - _0x12BBB935 = 435, - _0xAD0A1277 = 436, - _0xEA6AA46A = 437, + CPED_CONFIG_FLAG_ForceIgnoreMaxMeleeActiveSupportCombatants = 435, + CPED_CONFIG_FLAG_StayInDefensiveAreaWhenInVehicle = 436, + CPED_CONFIG_FLAG_DontShoutTargetPosition = 437, CPED_CONFIG_FLAG_DisableHelmetArmor = 438, _0xCB7F3A1E = 439, _0x50178878 = 440, _0x051B4F0D = 441, - _0x2FC3DECC = 442, - _0xC0030B0B = 443, - _0xBBDAF1E9 = 444, - _0x944FE59C = 445, - _0x506FBA39 = 446, - _0xDD45FE84 = 447, - _0xE698AE75 = 448, - _0x199633F8 = 449, - CPED_CONFIG_FLAG_PedIsArresting = 450, - CPED_CONFIG_FLAG_IsDecoyPed = 451, - _0x3A251D83 = 452, - _0xA56F6986 = 453, - _0x1D19C622 = 454, + CPED_CONFIG_FLAG_IgnoreNetSessionFriendlyFireCheckForAllowDamage = 442, + CPED_CONFIG_FLAG_DontLeaveCombatIfTargetPlayerIsAttackedByPolice = 443, + CPED_CONFIG_FLAG_CheckLockedBeforeWarp = 444, + CPED_CONFIG_FLAG_DontShuffleInVehicleToMakeRoom = 445, + CPED_CONFIG_FLAG_GiveWeaponOnGetup = 446, + CPED_CONFIG_FLAG_DontHitVehicleWithProjectiles = 447, + CPED_CONFIG_FLAG_DisableForcedEntryForOpenVehiclesFromTryLockedDoor = 448, + CPED_CONFIG_FLAG_FiresDummyRockets = 449, + _0xEA5A97AA = 450, + _0x7786019F = 451, + CPED_CONFIG_FLAG_HasEstablishedDecoy = 452, + CPED_CONFIG_FLAG_BlockDispatchedHelicoptersFromLanding = 453, + CPED_CONFIG_FLAG_DontCryForHelpOnStun = 454, _0xB68D3EAB = 455, CPED_CONFIG_FLAG_CanBeIncapacitated = 456, _0x4BD5EBAD = 457, + CPED_CONFIG_FLAG_DontChangeTargetFromMelee = 458, + _0x4376ABF2 = 459, + CPED_CONFIG_FLAG_RagdollFloatsIndefinitely = 460, + CPED_CONFIG_FLAG_BlockElectricWeaponDamage = 461, + _0x262A3B8E = 462, + _0x1AA79A25 = 463 } + +Maximum value for flagId is 0x1CF (463) in b944. ``` ## Parameters * **ped**: * **flagId**: * **value**: -