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
201200PCF_BroadcastRepondedToThreatWhenGoingToPointShooting
202201
203202
204203
205204
206205
207206
208207PCF_FlamingHoovesActive
209208
210209
211210
212211PCF_GiveAmbientDefaultTaskIfMissionPed
213212
214213PCF_DisableCounterAttacks
215214(for horse) Setting personal mount to not be mountable by ai
216215
217216PCF_DontConfrontCriminal
218217PCF_SupressShockingEvents
219218PCF_DisablePickups
220219
221220
222221
223222PCF_EnableIntimidationDragging
224223PCF_IsCriticalCorpse
225224PCF_DisableMeleeTargetSwitch
226225
227226PCF_DisableAIWeaponBlocking
228227Setting ped as valid for vehicle seat stow ??
229228
230229
231230PCF_KeepTasksAfterCleanUp
232231PCF_AllowMinorReactionsAsMissionPed
233232PCF_ForceDieInCar
234233PCF_PedIsEnemyToPlayer
235234PCF_NeverDoScenarioExitProbeChecks
236235PCF_NeverDoScenarioNavChecks
237236PCF_ForceSynchronousScenarioExitChecking
238237PCF_ForcePlayNormalScenarioExitOnNextScriptCommand
239238PCF_ForcePlayImmediateScenarioExitOnNextScriptCommand
240239PCF_ForcePlayFleeScenarioExitOnNextScriptCommand
241240
242241
243242
244243PCF_BlockDeadBodyShockingEventsWhenDead
245244PCF_DontAttackPlayerWithoutWantedLevel
246245PCF_DontActivateRagdollFromAnyPedImpact
247246PCF_ForcePedLoadCover
248247PCF_BlockCoweringInCover
249248PCF_BlockPeekingInCover
250249PCF_BlockWeaponSwitching
251250PCF_StopWeaponFiringOnImpact
252251
253252PCF_SteerAroundDeadBodiestrue
254253
255254full immunity vs melee and range attack
256255PCF_SteersAroundPedstrue
257256PCF_SteersAroundVehiclestrue
258257PCF_BlocksPathingWhenDead
259258
260259PCF_CanAmbientHeadtrack
261260PCF_IsScuba
262261PCF_ResetLastVehicleOnVehicleExit
263262PCF_AllowPedInVehiclesOverrideTaskFlags
264263PCF_NoCriticalHits
265264PCF_UpperBodyDamageAnimsOnlytrue
266265PCF_DrownsInWatertrue
267266PCF_DiesInstantlyWhenSwimming
268267PCF_DrownsInSinkingVehicletrue
269268PCF_DisableWeaponBlocking
270269PCF_StayInCarOnJack
271270PCF_CanBeShotInVehicletrue
272271PCF_SuppressLowLODRagdollSwitchWhenCorpseSettles
273272PCF_TreatAsAmbientPedForDriverLockOn
274273PCF_NeverEverTargetThisPed
275274PCF_AllowPlayerLockOnIfFriendly
276275PCF_UseCameraHeadingForDesiredDirectionLockOnTest
277276PCF_TargettableWithNoLos
278277
279278PCF_ClearRadarBlipOnDeathtrue
280279PCF_NeverLeavesGroup
281280PCF_DontEnterLeadersVehicle
282281PCF_BlockGroupPedAimedAtResponse
283282PCF_WillRemainOnBoatAfterMissionEnds
284283PCF_DisableInjuredRiderResponse
285284
286285PCF_ForcePlayDirectedNormalScenarioExitOnNextScriptCommand
287286PCF_DisableEvasiveDives
288287PCF_AllowMissionDriverlessDraftAnimalResponse
289288
290289PCF_TreatDislikeAsHateWhenInCombat
291290PCF_TreatNonFriendlyAsHateWhenInCombat
292291PCF_CanPlayInCarIdlestrue
293292is ped using scenariotrue
294293
295294PCF_DisableDriverlessDraftAnimalResponse
296295PCF_DisableInTrafficAvoidance
297296PCF_DisableAllAvoidance
298297PCF_ForceInteractionLockonOnTargetPed
299298
300299