RedM Natives

CPED CONFIG FLAGS

Some CPED Config Flags

To set Config Ped Flags u dont need to call it every frame (unlike CPed Reset Flags).

Example

	Citizen.InvokeNative(0x1913FE4CBF41C463,PlayerPedId(),254,true)   -- SetPedConfigFlag, flag 254 gives full immunity vs melee and range attack
<h2>Some known Config Ped Flags.</h2>
603 rows
#flagidflag_nameflag_descriptiondefault_value_for_player_pedNote
101100PCF_AICanDrivePlayerAsRearPassenger
102101PCF_PlayerCanJackFriendlyPlayers
103102PCF_AIDriverAllowFriendlyPassengerSeatEntry
104103PCF_AllowMissionPedToUseInjuredMovementtrue
105104PCF_PreventUsingLowerPrioritySeats
106105PCF_TeleportToLeaderVehicle
107106PCF_Avoidance_Ignore_WeirdPedBuffer
108107PCF_DontBlipCop
109108PCF_KillWhenTrapped
110109PCF_AvoidTearGastrue
111110PCF_OnlyUseForcedSeatWhenEnteringHeliInGroup
112111PCF_DisableWeirdPedEvents
113112PCF_ShouldChargeNow
114113PCF_DisableShockingEvents
115114
116115PCF_DisableShockingDrivingOnPavementEvents
117116PCF_ShouldThrowSmokeGrenadeNow
118117PCF_ForceInitialPeekInCover
119118PCF_DisableJumpingFromVehiclesAfterLeader
120119PCF_ShoutToGroupOnPlayerMelee
121120PCF_IgnoredByAutoOpenDoors
122121PCF_ForceIgnoreMeleeActiveCombatant
123122PCF_CheckLoSForSoundEventsignore sound events generated by entity out of Line Of Sight (LoS)
124123
125124PCF_ActivateRagdollFromMinorPlayerContact
126125PCF_ForcePoseCharacterCloth
127126PCF_HasClothCollisionBounds
128127PCF_DontBehaveLikeLaw
129128PCF_DisablePoliceInvestigatingBody
130129PCF_LowerPriorityOfWarpSeats
131130PCF_DisableTalkTo
132131PCF_DontBlip
133132PCF_IgnoreLegIkRestrictions
134133PCF_ForceNoTimesliceIntelligenceUpdate
135134
136135PCF_NotAllowedToJackAnyPlayers
137136PCF_CannotBeMounted
138137PCF_CannotBeTakenDown
139138PCF_OneShotWillKillPed
140139(for horse) are horse legs in the air ??
141140PCF_IsDraftAnimal
142141PCF_DisablePlayerAutoHolster
143142
144143
145144PCF_DisableHorseMPAutoFlee
146145PCF_EnableHorseMPAutoFleeInSP
147146PCF_CantWitnessCrimes
148147
149148
150149
151150PCF_ForceBleeding
152151
153152
154153
155154PCF_UseFollowLeaderThreatResponse
156155PCF_EnableCompanionAIAnalysis
157156PCF_EnableCompanionAISupport
158157PCF_DisableCompanionDragging
159158PCF_RequestStealthMovement
160159
161160PCF_DisableDragDamage
162161PCF_IsWhistling
163162PCF_AlwaysLeaveTrainUponArrival
164163PCF_UseSloMoBloodVfx
165164prevent ped strong hit with knife ??
166165
167166PCF_DontTeleportWithGroup
168167PCF_ShouldBeOnMountPed will try to mount last used horse. This flag dont work, if ped didnt use any horse yet. You can cancel this task only when mounting is fully completed
169168PCF_EnableShockingEvents
170169PCF_DisableGrappleByPlayer
171170PCF_DisableGrappleByAi
172171
173172PCF_ForceDeepSurfaceCheck
174173
175174PCF_DisableEvasiveStep
176175PCF_SwappingReins
177176PCF_EnableAllyRevive
178177PCF_EnableEvasiveScanner
179178PCF_AllowNonTempExceptionEvents
180179
181180PCF_PreventDraggedOutOfCarThreatResponse
182181PCF_DisableDeepSurfaceAnims
183182PCF_DontBlipNotSynced
184183PCF_IsDuckingInVehicle
185184PCF_PreventAutoShuffleToTurretSeat
186185PCF_DisableEventInteriorStatusCheck
187186PCF_CorpseIsPersistent
188187PCF_ForceMeleeDamage
189188
190189
191190
192191PCF_DisableHorseRevival
193192PCF_DisableShootingAt
194193
195194PCF_ShouldPedFollowersIgnoreWaypointMBR
196195
197196
198197
199198
200199