{"hash":"0x9CFBE10D","ns":"CFX","name":"SET_PED_CONFIG_FLAG","slug":"SET_PED_CONFIG_FLAG","official":true,"named":true,"luaName":"SetPedConfigFlag","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"flagId","type":"int"},{"name":"value","type":"BOOL"}],"summary":"This is the server-side RPC native equivalent of the client native SET_PED_CONFIG_FLAG.","descriptions":[{"source":"cfx","format":"md","body":"```cpp\n// Potential names and hash collisions included as comments\nenum ePedConfigFlags {\nCPED_CONFIG_FLAG_CreatedByFactory = 0,\nCPED_CONFIG_FLAG_CanBeShotInVehicle = 1,\nCPED_CONFIG_FLAG_NoCriticalHits = 2,\nCPED_CONFIG_FLAG_DrownsInWater = 3,\nCPED_CONFIG_FLAG_DrownsInSinkingVehicle = 4,\nCPED_CONFIG_FLAG_DiesInstantlyWhenSwimming = 5,\nCPED_CONFIG_FLAG_HasBulletProofVest = 6,\nCPED_CONFIG_FLAG_UpperBodyDamageAnimsOnly = 7,\nCPED_CONFIG_FLAG_NeverFallOffSkis = 8,\nCPED_CONFIG_FLAG_NeverEverTargetThisPed = 9,\nCPED_CONFIG_FLAG_ThisPedIsATargetPriority = 10,\nCPED_CONFIG_FLAG_TargettableWithNoLos = 11,\nCPED_CONFIG_FLAG_DoesntListenToPlayerGroupCommands = 12,\nCPED_CONFIG_FLAG_NeverLeavesGroup = 13,\nCPED_CONFIG_FLAG_DoesntDropWeaponsWhenDead = 14,\nCPED_CONFIG_FLAG_SetDelayedWeaponAsCurrent = 15,\nCPED_CONFIG_FLAG_KeepTasksAfterCleanUp = 16,\nCPED_CONFIG_FLAG_BlockNonTemporaryEvents = 17,\nCPED_CONFIG_FLAG_HasAScriptBrain = 18,\nCPED_CONFIG_FLAG_WaitingForScriptBrainToLoad = 19,\nCPED_CONFIG_FLAG_AllowMedicsToReviveMe = 20,\nCPED_CONFIG_FLAG_MoneyHasBeenGivenByScript = 21,\nCPED_CONFIG_FLAG_NotAllowedToCrouch = 22,\nCPED_CONFIG_FLAG_DeathPickupsPersist = 23,\nCPED_CONFIG_FLAG_IgnoreSeenMelee = 24,\nCPED_CONFIG_FLAG_ForceDieIfInjured = 25,\nCPED_CONFIG_FLAG_DontDragMeOutCar = 26,\nCPED_CONFIG_FLAG_StayInCarOnJack = 27,\nCPED_CONFIG_FLAG_ForceDieInCar = 28,\nCPED_CONFIG_FLAG_GetOutUndriveableVehicle = 29,\nCPED_CONFIG_FLAG_WillRemainOnBoatAfterMissionEnds = 30,\nCPED_CONFIG_FLAG_DontStoreAsPersistent = 31,\nCPED_CONFIG_FLAG_WillFlyThroughWindscreen = 32,\nCPED_CONFIG_FLAG_DieWhenRagdoll = 33,\nCPED_CONFIG_FLAG_HasHelmet = 34,\nCPED_CONFIG_FLAG_UseHelmet = 35,\nCPED_CONFIG_FLAG_DontTakeOffHelmet = 36,\nCPED_CONFIG_FLAG_HideInCutscene = 37,\nCPED_CONFIG_FLAG_PedIsEnemyToPlayer = 38,\nCPED_CONFIG_FLAG_DisableEvasiveDives = 39,\nCPED_CONFIG_FLAG_PedGeneratesDeadBodyEvents = 40,\nCPED_CONFIG_FLAG_DontAttackPlayerWithoutWantedLevel = 41,\nCPED_CONFIG_FLAG_DontInfluenceWantedLevel = 42,\nCPED_CONFIG_FLAG_DisablePlayerLockon = 43,\nCPED_CONFIG_FLAG_DisableLockonToRandomPeds = 44,\nCPED_CONFIG_FLAG_AllowLockonToFriendlyPlayers = 45,\n_0xDB115BFA = 46,\nCPED_CONFIG_FLAG_PedBeingDeleted = 47,\nCPED_CONFIG_FLAG_BlockWeaponSwitching = 48,\nCPED_CONFIG_FLAG_BlockGroupPedAimedAtResponse = 49,\nCPED_CONFIG_FLAG_WillFollowLeaderAnyMeans = 50,\nCPED_CONFIG_FLAG_BlippedByScript = 51,\nCPED_CONFIG_FLAG_DrawRadarVisualField = 52,\nCPED_CONFIG_FLAG_StopWeaponFiringOnImpact = 53,\nCPED_CONFIG_FLAG_DissableAutoFallOffTests = 54,\nCPED_CONFIG_FLAG_SteerAroundDeadBodies = 55,\nCPED_CONFIG_FLAG_ConstrainToNavMesh = 56,\nCPED_CONFIG_FLAG_SyncingAnimatedProps = 57,\nCPED_CONFIG_FLAG_IsFiring = 58,\nCPED_CONFIG_FLAG_WasFiring = 59,\nCPED_CONFIG_FLAG_IsStanding = 60,\nCPED_CONFIG_FLAG_WasStanding = 61,\nCPED_CONFIG_FLAG_InVehicle = 62,\nCPED_CONFIG_FLAG_OnMount = 63,\nCPED_CONFIG_FLAG_AttachedToVehicle = 64,\nCPED_CONFIG_FLAG_IsSwimming = 65,\nCPED_CONFIG_FLAG_WasSwimming = 66,\nCPED_CONFIG_FLAG_IsSkiing = 67,\nCPED_CONFIG_FLAG_IsSitting = 68,\nCPED_CONFIG_FLAG_KilledByStealth = 69,\nCPED_CONFIG_FLAG_KilledByTakedown = 70,\nCPED_CONFIG_FLAG_Knockedout = 71,\nCPED_CONFIG_FLAG_ClearRadarBlipOnDeath = 72,\nCPED_CONFIG_FLAG_JustGotOffTrain = 73,\nCPED_CONFIG_FLAG_JustGotOnTrain = 74,\nCPED_CONFIG_FLAG_UsingCoverPoint = 75,\nCPED_CONFIG_FLAG_IsInTheAir = 76,\nCPED_CONFIG_FLAG_KnockedUpIntoAir = 77,\nCPED_CONFIG_FLAG_IsAimingGun = 78,\nCPED_CONFIG_FLAG_HasJustLeftCar = 79,\nCPED_CONFIG_FLAG_TargetWhenInjuredAllowed = 80,\nCPED_CONFIG_FLAG_CurrLeftFootCollNM = 81,\nCPED_CONFIG_FLAG_PrevLeftFootCollNM = 82,\nCPED_CONFIG_FLAG_CurrRightFootCollNM = 83,\nCPED_CONFIG_FLAG_PrevRightFootCollNM = 84,\nCPED_CONFIG_FLAG_HasBeenBumpedInCar = 85,\nCPED_CONFIG_FLAG_InWaterTaskQuitToClimbLadder = 86,\nCPED_CONFIG_FLAG_NMTwoHandedWeaponBothHandsConstrained = 87,\nCPED_CONFIG_FLAG_CreatedBloodPoolTimer = 88,\nCPED_CONFIG_FLAG_DontActivateRagdollFromAnyPedImpact = 89,\nCPED_CONFIG_FLAG_GroupPedFailedToEnterCover = 90,\nCPED_CONFIG_FLAG_AlreadyChattedOnPhone = 91,\nCPED_CONFIG_FLAG_AlreadyReactedToPedOnRoof = 92,\nCPED_CONFIG_FLAG_ForcePedLoadCover = 93,\nCPED_CONFIG_FLAG_BlockCoweringInCover = 94,\nCPED_CONFIG_FLAG_BlockPeekingInCover = 95,\nCPED_CONFIG_FLAG_JustLeftCarNotCheckedForDoors = 96,\nCPED_CONFIG_FLAG_VaultFromCover = 97,\nCPED_CONFIG_FLAG_AutoConversationLookAts = 98,\nCPED_CONFIG_FLAG_UsingCrouchedPedCapsule = 99,\nCPED_CONFIG_FLAG_HasDeadPedBeenReported = 100,\nCPED_CONFIG_FLAG_ForcedAim = 101,\nCPED_CONFIG_FLAG_SteersAroundPeds = 102,\nCPED_CONFIG_FLAG_SteersAroundObjects = 103,\nCPED_CONFIG_FLAG_OpenDoorArmIK = 104,\nCPED_CONFIG_FLAG_ForceReload = 105,\nCPED_CONFIG_FLAG_DontActivateRagdollFromVehicleImpact = 106,\nCPED_CONFIG_FLAG_DontActivateRagdollFromBulletImpact = 107,\nCPED_CONFIG_FLAG_DontActivateRagdollFromExplosions = 108,\nCPED_CONFIG_FLAG_DontActivateRagdollFromFire = 109,\nCPED_CONFIG_FLAG_DontActivateRagdollFromElectrocution = 110,\nCPED_CONFIG_FLAG_IsBeingDraggedToSafety = 111,\nCPED_CONFIG_FLAG_HasBeenDraggedToSafety = 112,\nCPED_CONFIG_FLAG_KeepWeaponHolsteredUnlessFired = 113,\nCPED_CONFIG_FLAG_ForceScriptControlledKnockout = 114,\nCPED_CONFIG_FLAG_FallOutOfVehicleWhenKilled = 115,\nCPED_CONFIG_FLAG_GetOutBurningVehicle = 116,\nCPED_CONFIG_FLAG_BumpedByPlayer = 117,\nCPED_CONFIG_FLAG_RunFromFiresAndExplosions = 118,\nCPED_CONFIG_FLAG_TreatAsPlayerDuringTargeting = 119,\nCPED_CONFIG_FLAG_IsHandCuffed = 120,\nCPED_CONFIG_FLAG_IsAnkleCuffed = 121,\nCPED_CONFIG_FLAG_DisableMelee = 122,\nCPED_CONFIG_FLAG_DisableUnarmedDrivebys = 123,\nCPED_CONFIG_FLAG_JustGetsPulledOutWhenElectrocuted = 124,\nCPED_CONFIG_FLAG_UNUSED_REPLACE_ME = 125,\nCPED_CONFIG_FLAG_WillNotHotwireLawEnforcementVehicle = 126,\nCPED_CONFIG_FLAG_WillCommandeerRatherThanJack = 127,\nCPED_CONFIG_FLAG_CanBeAgitated = 128,\nCPED_CONFIG_FLAG_ForcePedToFaceLeftInCover = 129,\nCPED_CONFIG_FLAG_ForcePedToFaceRightInCover = 130,\nCPED_CONFIG_FLAG_BlockPedFromTurningInCover = 131,\nCPED_CONFIG_FLAG_KeepRelationshipGroupAfterCleanUp = 132,\nCPED_CONFIG_FLAG_ForcePedToBeDragged = 133,\nCPED_CONFIG_FLAG_PreventPedFromReactingToBeingJacked = 134,\nCPED_CONFIG_FLAG_IsScuba = 135,\nCPED_CONFIG_FLAG_WillArrestRatherThanJack = 136,\nCPED_CONFIG_FLAG_RemoveDeadExtraFarAway = 137,\nCPED_CONFIG_FLAG_RidingTrain = 138,\nCPED_CONFIG_FLAG_ArrestResult = 139,\nCPED_CONFIG_FLAG_CanAttackFriendly = 140,\nCPED_CONFIG_FLAG_WillJackAnyPlayer = 141,\nCPED_CONFIG_FLAG_BumpedByPlayerVehicle = 142,\nCPED_CONFIG_FLAG_DodgedPlayerVehicle = 143,\nCPED_CONFIG_FLAG_WillJackWantedPlayersRatherThanStealCar = 144,\nCPED_CONFIG_FLAG_NoCopWantedAggro = 145,\nCPED_CONFIG_FLAG_DisableLadderClimbing = 146,\nCPED_CONFIG_FLAG_StairsDetected = 147,\nCPED_CONFIG_FLAG_SlopeDetected = 148,\nCPED_CONFIG_FLAG_HelmetHasBeenShot = 149,\nCPED_CONFIG_FLAG_CowerInsteadOfFlee = 150,\nCPED_CONFIG_FLAG_CanActivateRagdollWhenVehicleUpsideDown = 151,\nCPED_CONFIG_FLAG_AlwaysRespondToCriesForHelp = 152,\nCPED_CONFIG_FLAG_DisableBloodPoolCreation = 153,\nCPED_CONFIG_FLAG_ShouldFixIfNoCollision = 154,\nCPED_CONFIG_FLAG_CanPerformArrest = 155,\nCPED_CONFIG_FLAG_CanPerformUncuff = 156,\nCPED_CONFIG_FLAG_CanBeArrested = 157,\nCPED_CONFIG_FLAG_MoverConstrictedByOpposingCollisions = 158,\nCPED_CONFIG_FLAG_PlayerPreferFrontSeatMP = 159,\nCPED_CONFIG_FLAG_DontActivateRagdollFromImpactObject = 160,\nCPED_CONFIG_FLAG_DontActivateRagdollFromMelee = 161,\nCPED_CONFIG_FLAG_DontActivateRagdollFromWaterJet = 162,\nCPED_CONFIG_FLAG_DontActivateRagdollFromDrowning = 163,\nCPED_CONFIG_FLAG_DontActivateRagdollFromFalling = 164,\nCPED_CONFIG_FLAG_DontActivateRagdollFromRubberBullet = 165,\nCPED_CONFIG_FLAG_IsInjured = 166,\nCPED_CONFIG_FLAG_DontEnterVehiclesInPlayersGroup = 167,\nCPED_CONFIG_FLAG_SwimmingTasksRunning = 168,\nCPED_CONFIG_FLAG_PreventAllMeleeTaunts = 169,\nCPED_CONFIG_FLAG_ForceDirectEntry = 170,\nCPED_CONFIG_FLAG_AlwaysSeeApproachingVehicles = 171,\nCPED_CONFIG_FLAG_CanDiveAwayFromApproachingVehicles = 172,\nCPED_CONFIG_FLAG_AllowPlayerToInterruptVehicleEntryExit = 173,\nCPED_CONFIG_FLAG_OnlyAttackLawIfPlayerIsWanted = 174,\nCPED_CONFIG_FLAG_PlayerInContactWithKinematicPed = 175,\nCPED_CONFIG_FLAG_PlayerInContactWithSomethingOtherThanKinematicPed = 176,\nCPED_CONFIG_FLAG_PedsJackingMeDontGetIn = 177,\nCPED_CONFIG_FLAG_AdditionalRappellingPed = 178,\nCPED_CONFIG_FLAG_PedIgnoresAnimInterruptEvents = 179,\nCPED_CONFIG_FLAG_IsInCustody = 180,\nCPED_CONFIG_FLAG_ForceStandardBumpReactionThresholds = 181,\nCPED_CONFIG_FLAG_LawWillOnlyAttackIfPlayerIsWanted = 182,\nCPED_CONFIG_FLAG_IsAgitated = 183,\nCPED_CONFIG_FLAG_PreventAutoShuffleToDriversSeat = 184,\nCPED_CONFIG_FLAG_UseKinematicModeWhenStationary = 185,\nCPED_CONFIG_FLAG_EnableWeaponBlocking = 186,\nCPED_CONFIG_FLAG_HasHurtStarted = 187,\nCPED_CONFIG_FLAG_DisableHurt = 188,\nCPED_CONFIG_FLAG_PlayerIsWeird = 189,\nCPED_CONFIG_FLAG_PedHadPhoneConversation = 190,\nCPED_CONFIG_FLAG_BeganCrossingRoad = 191,\nCPED_CONFIG_FLAG_WarpIntoLeadersVehicle = 192,\nCPED_CONFIG_FLAG_DoNothingWhenOnFootByDefault = 193,\nCPED_CONFIG_FLAG_UsingScenario = 194,\nCPED_CONFIG_FLAG_VisibleOnScreen = 195,\nCPED_CONFIG_FLAG_DontCollideWithKinematic = 196,\nCPED_CONFIG_FLAG_ActivateOnSwitchFromLowPhysicsLod = 197,\nCPED_CONFIG_FLAG_DontActivateRagdollOnPedCollisionWhenDead = 198,\nCPED_CONFIG_FLAG_DontActivateRagdollOnVehicleCollisionWhenDead = 199,\nCPED_CONFIG_FLAG_HasBeenInArmedCombat = 200,\nCPED_CONFIG_FLAG_UseDiminishingAmmoRate = 201,\nCPED_CONFIG_FLAG_Avoidance_Ignore_All = 202,\nCPED_CONFIG_FLAG_Avoidance_Ignored_by_All = 203,\nCPED_CONFIG_FLAG_Avoidance_Ignore_Group1 = 204,\nCPED_CONFIG_FLAG_Avoidance_Member_of_Group1 = 205,\nCPED_CONFIG_FLAG_ForcedToUseSpecificGroupSeatIndex = 206,\nCPED_CONFIG_FLAG_LowPhysicsLodMayPlaceOnNavMesh = 207,\nCPED_CONFIG_FLAG_DisableExplosionReactions = 208,\nCPED_CONFIG_FLAG_DodgedPlayer = 209,\nCPED_CONFIG_FLAG_WaitingForPlayerControlInterrupt = 210,\nCPED_CONFIG_FLAG_ForcedToStayInCover = 211,\nCPED_CONFIG_FLAG_GeneratesSoundEvents = 212,\nCPED_CONFIG_FLAG_ListensToSoundEvents = 213,\nCPED_CONFIG_FLAG_AllowToBeTargetedInAVehicle = 214,\nCPED_CONFIG_FLAG_WaitForDirectEntryPointToBeFreeWhenExiting = 215,\nCPED_CONFIG_FLAG_OnlyRequireOnePressToExitVehicle = 216,\nCPED_CONFIG_FLAG_ForceExitToSkyDive = 217,\nCPED_CONFIG_FLAG_SteersAroundVehicles = 218,\nCPED_CONFIG_FLAG_AllowPedInVehiclesOverrideTaskFlags = 219,\nCPED_CONFIG_FLAG_DontEnterLeadersVehicle = 220,\nCPED_CONFIG_FLAG_DisableExitToSkyDive = 221,\nCPED_CONFIG_FLAG_ScriptHasDisabledCollision = 222,\nCPED_CONFIG_FLAG_UseAmbientModelScaling = 223,\nCPED_CONFIG_FLAG_DontWatchFirstOnNextHurryAway = 224,\nCPED_CONFIG_FLAG_DisablePotentialToBeWalkedIntoResponse = 225,\nCPED_CONFIG_FLAG_DisablePedAvoidance = 226,\nCPED_CONFIG_FLAG_ForceRagdollUponDeath = 227,\nCPED_CONFIG_FLAG_CanLosePropsOnDamage = 228,\nCPED_CONFIG_FLAG_DisablePanicInVehicle = 229,\nCPED_CONFIG_FLAG_AllowedToDetachTrailer = 230,\nCPED_CONFIG_FLAG_HasShotBeenReactedToFromFront = 231,\nCPED_CONFIG_FLAG_HasShotBeenReactedToFromBack = 232,\nCPED_CONFIG_FLAG_HasShotBeenReactedToFromLeft = 233,\nCPED_CONFIG_FLAG_HasShotBeenReactedToFromRight = 234,\nCPED_CONFIG_FLAG_AllowBlockDeadPedRagdollActivation = 235,\nCPED_CONFIG_FLAG_IsHoldingProp = 236,\nCPED_CONFIG_FLAG_BlocksPathingWhenDead = 237,\nCPED_CONFIG_FLAG_ForcePlayNormalScenarioExitOnNextScriptCommand = 238,\nCPED_CONFIG_FLAG_ForcePlayImmediateScenarioExitOnNextScriptCommand = 239,\nCPED_CONFIG_FLAG_ForceSkinCharacterCloth = 240,\nCPED_CONFIG_FLAG_LeaveEngineOnWhenExitingVehicles = 241,\nCPED_CONFIG_FLAG_PhoneDisableTextingAnimations = 242,\nCPED_CONFIG_FLAG_PhoneDisableTalkingAnimations = 243,\nCPED_CONFIG_FLAG_PhoneDisableCameraAnimations = 244,\nCPED_CONFIG_FLAG_DisableBlindFiringInShotReactions = 245,\nCPED_CONFIG_FLAG_AllowNearbyCoverUsage = 246,\nCPED_CONFIG_FLAG_InStrafeTransition = 247,\nCPED_CONFIG_FLAG_CanPlayInCarIdles = 248,\nCPED_CONFIG_FLAG_CanAttackNonWantedPlayerAsLaw = 249,\nCPED_CONFIG_FLAG_WillTakeDamageWhenVehicleCrashes = 250,\nCPED_CONFIG_FLAG_AICanDrivePlayerAsRearPassenger = 251,\nCPED_CONFIG_FLAG_PlayerCanJackFriendlyPlayers = 252,\nCPED_CONFIG_FLAG_OnStairs = 253,\nCPED_CONFIG_FLAG_SimulatingAiming = 254,\nCPED_CONFIG_FLAG_AIDriverAllowFriendlyPassengerSeatEntry = 255,\nCPED_CONFIG_FLAG_ParentCarIsBeingRemoved = 256,\nCPED_CONFIG_FLAG_AllowMissionPedToUseInjuredMovement = 257,\nCPED_CONFIG_FLAG_CanLoseHelmetOnDamage = 258,\nCPED_CONFIG_FLAG_NeverDoScenarioExitProbeChecks = 259,\nCPED_CONFIG_FLAG_SuppressLowLODRagdollSwitchWhenCorpseSettles = 260,\nCPED_CONFIG_FLAG_PreventUsingLowerPrioritySeats = 261,\nCPED_CONFIG_FLAG_JustLeftVehicleNeedsReset = 262,\nCPED_CONFIG_FLAG_TeleportIfCantReachPlayer = 263,\nCPED_CONFIG_FLAG_PedsInVehiclePositionNeedsReset = 264,\nCPED_CONFIG_FLAG_PedsFullyInSeat = 265,\nCPED_CONFIG_FLAG_AllowPlayerLockOnIfFriendly = 266,\nCPED_CONFIG_FLAG_UseCameraHeadingForDesiredDirectionLockOnTest = 267,\nCPED_CONFIG_FLAG_TeleportToLeaderVehicle = 268,\nCPED_CONFIG_FLAG_Avoidance_Ignore_WeirdPedBuffer = 269,\nCPED_CONFIG_FLAG_OnStairSlope = 270,\nCPED_CONFIG_FLAG_HasPlayedNMGetup = 271,\nCPED_CONFIG_FLAG_DontBlipCop = 272,\nCPED_CONFIG_FLAG_SpawnedAtExtendedRangeScenario = 273,\nCPED_CONFIG_FLAG_WalkAlongsideLeaderWhenClose = 274,\nCPED_CONFIG_FLAG_KillWhenTrapped = 275,\nCPED_CONFIG_FLAG_EdgeDetected = 276,\nCPED_CONFIG_FLAG_AlwaysWakeUpPhysicsOfIntersectedPeds = 277,\nCPED_CONFIG_FLAG_EquippedAmbientLoadOutWeapon = 278,\nCPED_CONFIG_FLAG_AvoidTearGas = 279,\nCPED_CONFIG_FLAG_StoppedSpeechUponFreezing = 280,\nCPED_CONFIG_FLAG_DisableGoToWritheWhenInjured = 281,\nCPED_CONFIG_FLAG_OnlyUseForcedSeatWhenEnteringHeliInGroup = 282,\nCPED_CONFIG_FLAG_ThrownFromVehicleDueToExhaustion = 283,\nCPED_CONFIG_FLAG_UpdateEnclosedSearchRegion = 284,\nCPED_CONFIG_FLAG_DisableWeirdPedEvents = 285,\nCPED_CONFIG_FLAG_ShouldChargeNow = 286,\nCPED_CONFIG_FLAG_RagdollingOnBoat = 287,\nCPED_CONFIG_FLAG_HasBrandishedWeapon = 288,\nCPED_CONFIG_FLAG_AllowMinorReactionsAsMissionPed = 289,\nCPED_CONFIG_FLAG_BlockDeadBodyShockingEventsWhenDead = 290,\nCPED_CONFIG_FLAG_PedHasBeenSeen = 291,\nCPED_CONFIG_FLAG_PedIsInReusePool = 292,\nCPED_CONFIG_FLAG_PedWasReused = 293,\nCPED_CONFIG_FLAG_DisableShockingEvents = 294,\nCPED_CONFIG_FLAG_MovedUsingLowLodPhysicsSinceLastActive = 295,\nCPED_CONFIG_FLAG_NeverReactToPedOnRoof = 296,\nCPED_CONFIG_FLAG_ForcePlayFleeScenarioExitOnNextScriptCommand = 297,\nCPED_CONFIG_FLAG_JustBumpedIntoVehicle = 298,\nCPED_CONFIG_FLAG_DisableShockingDrivingOnPavementEvents = 299,\nCPED_CONFIG_FLAG_ShouldThrowSmokeNow = 300,\nCPED_CONFIG_FLAG_DisablePedConstraints = 301,\nCPED_CONFIG_FLAG_ForceInitialPeekInCover = 302,\nCPED_CONFIG_FLAG_CreatedByDispatch = 303,\nCPED_CONFIG_FLAG_PointGunLeftHandSupporting = 304,\nCPED_CONFIG_FLAG_DisableJumpingFromVehiclesAfterLeader = 305,\nCPED_CONFIG_FLAG_DontActivateRagdollFromPlayerPedImpact = 306,\nCPED_CONFIG_FLAG_DontActivateRagdollFromAiRagdollImpact = 307,\nCPED_CONFIG_FLAG_DontActivateRagdollFromPlayerRagdollImpact = 308,\nCPED_CONFIG_FLAG_DisableQuadrupedSpring = 309,\nCPED_CONFIG_FLAG_IsInCluster = 310,\nCPED_CONFIG_FLAG_ShoutToGroupOnPlayerMelee = 311,\nCPED_CONFIG_FLAG_IgnoredByAutoOpenDoors = 312,\nCPED_CONFIG_FLAG_PreferInjuredGetup = 313,\nCPED_CONFIG_FLAG_ForceIgnoreMeleeActiveCombatant = 314,\nCPED_CONFIG_FLAG_CheckLoSForSoundEvents = 315,\nCPED_CONFIG_FLAG_JackedAbandonedCar = 316,\nCPED_CONFIG_FLAG_CanSayFollowedByPlayerAudio = 317,\nCPED_CONFIG_FLAG_ActivateRagdollFromMinorPlayerContact = 318,\nCPED_CONFIG_FLAG_HasPortablePickupAttached = 319,\nCPED_CONFIG_FLAG_ForcePoseCharacterCloth = 320,\nCPED_CONFIG_FLAG_HasClothCollisionBounds = 321,\nCPED_CONFIG_FLAG_HasHighHeels = 322,\nCPED_CONFIG_FLAG_TreatAsAmbientPedForDriverLockOn = 323,\nCPED_CONFIG_FLAG_DontBehaveLikeLaw = 324,\nCPED_CONFIG_FLAG_SpawnedAtScenario = 325,\nCPED_CONFIG_FLAG_DisablePoliceInvestigatingBody = 326,\nCPED_CONFIG_FLAG_DisableWritheShootFromGround = 327,\nCPED_CONFIG_FLAG_LowerPriorityOfWarpSeats = 328,\nCPED_CONFIG_FLAG_DisableTalkTo = 329,\nCPED_CONFIG_FLAG_DontBlip = 330,\nCPED_CONFIG_FLAG_IsSwitchingWeapon = 331,\nCPED_CONFIG_FLAG_IgnoreLegIkRestrictions = 332,\nCPED_CONFIG_FLAG_ScriptForceNoTimesliceIntelligenceUpdate = 333,\nCPED_CONFIG_FLAG_JackedOutOfMyVehicle = 334,\nCPED_CONFIG_FLAG_WentIntoCombatAfterBeingJacked = 335,\nCPED_CONFIG_FLAG_DontActivateRagdollForVehicleGrab = 336,\nCPED_CONFIG_FLAG_ForcePackageCharacterCloth = 337,\nCPED_CONFIG_FLAG_DontRemoveWithValidOrder = 338,\nCPED_CONFIG_FLAG_AllowTaskDoNothingTimeslicing = 339,\nCPED_CONFIG_FLAG_ForcedToStayInCoverDueToPlayerSwitch = 340,\nCPED_CONFIG_FLAG_ForceProneCharacterCloth = 341,\nCPED_CONFIG_FLAG_NotAllowedToJackAnyPlayers = 342,\nCPED_CONFIG_FLAG_InToStrafeTransition = 343,\nCPED_CONFIG_FLAG_KilledByStandardMelee = 344,\nCPED_CONFIG_FLAG_AlwaysLeaveTrainUponArrival = 345,\nCPED_CONFIG_FLAG_ForcePlayDirectedNormalScenarioExitOnNextScriptCommand = 346,\nCPED_CONFIG_FLAG_OnlyWritheFromWeaponDamage = 347,\nCPED_CONFIG_FLAG_UseSloMoBloodVfx = 348,\nCPED_CONFIG_FLAG_EquipJetpack = 349,\nCPED_CONFIG_FLAG_PreventDraggedOutOfCarThreatResponse = 350,\nCPED_CONFIG_FLAG_ScriptHasCompletelyDisabledCollision = 351,\nCPED_CONFIG_FLAG_NeverDoScenarioNavChecks = 352,\nCPED_CONFIG_FLAG_ForceSynchronousScenarioExitChecking = 353,\nCPED_CONFIG_FLAG_ThrowingGrenadeWhileAiming = 354,\nCPED_CONFIG_FLAG_HeadbobToRadioEnabled = 355,\nCPED_CONFIG_FLAG_ForceDeepSurfaceCheck = 356,\nCPED_CONFIG_FLAG_DisableDeepSurfaceAnims = 357,\nCPED_CONFIG_FLAG_DontBlipNotSynced = 358,\nCPED_CONFIG_FLAG_IsDuckingInVehicle = 359,\nCPED_CONFIG_FLAG_PreventAutoShuffleToTurretSeat = 360,\nCPED_CONFIG_FLAG_DisableEventInteriorStatusCheck = 361,\nCPED_CONFIG_FLAG_HasReserveParachute = 362,\nCPED_CONFIG_FLAG_UseReserveParachute = 363,\nCPED_CONFIG_FLAG_TreatDislikeAsHateWhenInCombat = 364,\nCPED_CONFIG_FLAG_OnlyUpdateTargetWantedIfSeen = 365,\nCPED_CONFIG_FLAG_AllowAutoShuffleToDriversSeat = 366,\nCPED_CONFIG_FLAG_DontActivateRagdollFromSmokeGrenade = 367,\nCPED_CONFIG_FLAG_LinkMBRToOwnerOnChain = 368,\nCPED_CONFIG_FLAG_AmbientFriendBumpedByPlayer = 369,\nCPED_CONFIG_FLAG_AmbientFriendBumpedByPlayerVehicle = 370,\nCPED_CONFIG_FLAG_InFPSUnholsterTransition = 371,\nCPED_CONFIG_FLAG_PreventReactingToSilencedCloneBullets = 372,\nCPED_CONFIG_FLAG_DisableInjuredCryForHelpEvents = 373,\nCPED_CONFIG_FLAG_NeverLeaveTrain = 374,\nCPED_CONFIG_FLAG_DontDropJetpackOnDeath = 375,\nCPED_CONFIG_FLAG_UseFPSUnholsterTransitionDuringCombatRoll = 376,\nCPED_CONFIG_FLAG_ExitingFPSCombatRoll = 377,\nCPED_CONFIG_FLAG_ScriptHasControlOfPlayer = 378,\nCPED_CONFIG_FLAG_PlayFPSIdleFidgetsForProjectile = 379,\nCPED_CONFIG_FLAG_DisableAutoEquipHelmetsInBikes = 380,\nCPED_CONFIG_FLAG_DisableAutoEquipHelmetsInAircraft = 381,\nCPED_CONFIG_FLAG_WasPlayingFPSGetup = 382,\nCPED_CONFIG_FLAG_WasPlayingFPSMeleeActionResult = 383,\nCPED_CONFIG_FLAG_PreferNoPriorityRemoval = 384,\nCPED_CONFIG_FLAG_FPSFidgetsAbortedOnFire = 385,\nCPED_CONFIG_FLAG_ForceFPSIKWithUpperBodyAnim = 386,\nCPED_CONFIG_FLAG_SwitchingCharactersInFirstPerson = 387,\nCPED_CONFIG_FLAG_IsClimbingLadder = 388,\nCPED_CONFIG_FLAG_HasBareFeet = 389,\nCPED_CONFIG_FLAG_UNUSED_REPLACE_ME_2 = 390,\nCPED_CONFIG_FLAG_GoOnWithoutVehicleIfItIsUnableToGetBackToRoad = 391,\nCPED_CONFIG_FLAG_BlockDroppingHealthSnacksOnDeath = 392,\nCPED_CONFIG_FLAG_ResetLastVehicleOnVehicleExit = 393,\nCPED_CONFIG_FLAG_ForceThreatResponseToNonFriendToFriendMeleeActions = 394,\nCPED_CONFIG_FLAG_DontRespondToRandomPedsDamage = 395,\nCPED_CONFIG_FLAG_AllowContinuousThreatResponseWantedLevelUpdates = 396,\nCPED_CONFIG_FLAG_KeepTargetLossResponseOnCleanup = 397,\nCPED_CONFIG_FLAG_PlayersDontDragMeOutOfCar = 398,\nCPED_CONFIG_FLAG_BroadcastRepondedToThreatWhenGoingToPointShooting = 399,\nCPED_CONFIG_FLAG_IgnorePedTypeForIsFriendlyWith = 400,\nCPED_CONFIG_FLAG_TreatNonFriendlyAsHateWhenInCombat = 401,\nCPED_CONFIG_FLAG_DontLeaveVehicleIfLeaderNotInVehicle = 402,\nCPED_CONFIG_FLAG_ChangeFromPermanentToAmbientPopTypeOnMigration = 403,\nCPED_CONFIG_FLAG_AllowMeleeReactionIfMeleeProofIsOn = 404,\nCPED_CONFIG_FLAG_UsingLowriderLeans = 405,\nCPED_CONFIG_FLAG_UsingAlternateLowriderLeans = 406,\nCPED_CONFIG_FLAG_UseNormalExplosionDamageWhenBlownUpInVehicle = 407,\nCPED_CONFIG_FLAG_DisableHomingMissileLockForVehiclePedInside = 408,\nCPED_CONFIG_FLAG_DisableTakeOffScubaGear = 409,\nCPED_CONFIG_FLAG_IgnoreMeleeFistWeaponDamageMult = 410,\nCPED_CONFIG_FLAG_LawPedsCanFleeFromNonWantedPlayer = 411,\nCPED_CONFIG_FLAG_ForceBlipSecurityPedsIfPlayerIsWanted = 412,\nCPED_CONFIG_FLAG_IsHolsteringWeapon = 413,\nCPED_CONFIG_FLAG_UseGoToPointForScenarioNavigation = 414,\nCPED_CONFIG_FLAG_DontClearLocalPassengersWantedLevel = 415,\nCPED_CONFIG_FLAG_BlockAutoSwapOnWeaponPickups = 416,\nCPED_CONFIG_FLAG_ThisPedIsATargetPriorityForAI = 417,\nCPED_CONFIG_FLAG_IsSwitchingHelmetVisor = 418,\nCPED_CONFIG_FLAG_ForceHelmetVisorSwitch = 419,\nCPED_CONFIG_FLAG_IsPerformingVehicleMelee = 420,\nCPED_CONFIG_FLAG_UseOverrideFootstepPtFx = 421,\nCPED_CONFIG_FLAG_DisableVehicleCombat = 422,\nCPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamage = 423,\nCPED_CONFIG_FLAG_AllowBikeAlternateAnimations = 424,\nCPED_CONFIG_FLAG_TreatAsFriendlyForTargetingAndDamageNonSynced = 425,\nCPED_CONFIG_FLAG_UseLockpickVehicleEntryAnimations = 426,\nCPED_CONFIG_FLAG_IgnoreInteriorCheckForSprinting = 427,\nCPED_CONFIG_FLAG_SwatHeliSpawnWithinLastSpottedLocation = 428,\nCPED_CONFIG_FLAG_DisableStartEngine = 429,\nCPED_CONFIG_FLAG_IgnoreBeingOnFire = 430,\nCPED_CONFIG_FLAG_DisableTurretOrRearSeatPreference = 431,\nCPED_CONFIG_FLAG_DisableWantedHelicopterSpawning = 432,\nCPED_CONFIG_FLAG_UseTargetPerceptionForCreatingAimedAtEvents = 433,\nCPED_CONFIG_FLAG_DisableHomingMissileLockon = 434,\nCPED_CONFIG_FLAG_ForceIgnoreMaxMeleeActiveSupportCombatants = 435,\nCPED_CONFIG_FLAG_StayInDefensiveAreaWhenInVehicle = 436,\nCPED_CONFIG_FLAG_DontShoutTargetPosition = 437,\nCPED_CONFIG_FLAG_DisableHelmetArmor = 438,\nCPED_CONFIG_FLAG_CreatedByConcealedPlayer = 439,\nCPED_CONFIG_FLAG_PermanentlyDisablePotentialToBeWalkedIntoResponse = 440,\nCPED_CONFIG_FLAG_PreventVehExitDueToInvalidWeapon = 441,\nCPED_CONFIG_FLAG_IgnoreNetSessionFriendlyFireCheckForAllowDamage = 442,\nCPED_CONFIG_FLAG_DontLeaveCombatIfTargetPlayerIsAttackedByPolice = 443,\nCPED_CONFIG_FLAG_CheckLockedBeforeWarp = 444,\nCPED_CONFIG_FLAG_DontShuffleInVehicleToMakeRoom = 445,\nCPED_CONFIG_FLAG_GiveWeaponOnGetup = 446,\nCPED_CONFIG_FLAG_DontHitVehicleWithProjectiles = 447,\nCPED_CONFIG_FLAG_DisableForcedEntryForOpenVehiclesFromTryLockedDoor = 448,\nCPED_CONFIG_FLAG_FiresDummyRockets = 449,\nCPED_CONFIG_FLAG_PedIsArresting = 450,\nCPED_CONFIG_FLAG_IsDecoyPed = 451,\nCPED_CONFIG_FLAG_HasEstablishedDecoy = 452,\nCPED_CONFIG_FLAG_BlockDispatchedHelicoptersFromLanding = 453,\nCPED_CONFIG_FLAG_DontCryForHelpOnStun = 454,\nCPED_CONFIG_FLAG_HitByTranqWeapon = 455,\nCPED_CONFIG_FLAG_CanBeIncapacitated = 456,\nCPED_CONFIG_FLAG_ForcedAimFromArrest = 457,\nCPED_CONFIG_FLAG_DontChangeTargetFromMelee = 458,\n_0x4376ABF2 = 459,\nCPED_CONFIG_FLAG_RagdollFloatsIndefinitely = 460,\nCPED_CONFIG_FLAG_BlockElectricWeaponDamage = 461,\n_0x262A3B8E = 462,\n_0x1AA79A25 = 463,\n}\n```\n\n**This is the server-side RPC native equivalent of the client native [SET_PED_CONFIG_FLAG](?\\_0x1913FE4CBF41C463).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PED_CONFIG_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PED_CONFIG_FLAG.md","snippets":{"lua":"SetPedConfigFlag(ped, flagId, value)","luaInvoke":"Citizen.InvokeNative(0x9cfbe10d, ped, flagId, value)","js":"SetPedConfigFlag(ped, flagId, value);","jsInvoke":"Citizen.invokeNative('0x9cfbe10d', ped, flagId, value);","csharp":"Function.Call((Hash)0x9cfbe10d, ped, flagId, value);","notes":[]}}