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
301300PCF_DisablePlayerHorseLeading
302301PCF_DisableInteractionLockonOnTargetPed
303302PCF_DisableMeleeKnockout
304303
305304(for horse) was horse mounted by player ??
306305PCF_DisableHeadGore
307306PCF_DisableLimbGore
308307PCF_DisableMountSpawning
309308PCF_AllowILOWithWeapon
310309
311310PCF_CanBeLassoedByFriendlyPlayers
312311ped will not shoot props if they miss their target
313312PCF_DisableHorseGunshotFleeResponse
314313PCF_DontFindTransportToFollowLeader
315314PCF_ForceHogtieOfUnconciousPedToCarryAround
316315
317316PCF_DontStopForTrains
318317
319318PCF_PreventScavengers
320319PCF_EnableAsVehicleTransitionDestination
321320
322321
323322
324323PCF_UseRacingLines
325324
326325
327326
328327
329328
330329
331330
332331
333332PCF_IsInStationaryScenariotrue
334333
335334prevent quick holster and unholster (with tab button)
336335prevent holster weapon (with tab button). Dont effect to "twirl" holster (with double tab)
337336PCF_ForceInjuredMovement
338337PCF_DontExitVehicleIfNoDraftAnimals
339338PCF_BlockMoveInCover
340339
341340PCF_DisableAllMeleeTakedowns
342341PCF_ForceDismountLeft
343342PCF_ForceDismountRight
344343
345344
346345
347346
348347PCF_IsSanctionedShooter
349348
350349
351350
352351PCF_DisableIntimidationBackingAway
353352together with 533: after few steps of stairs (up or down), ped turns back (dont effect vertical ladders)
354353
355354
356355
357356PCF_BlockRobberyInteractionEscape
358357
359358
360359PCF_AllowInCombatInteractionLockonOnTargetPed
361360
362361PCF_IgnoreWeaponDegradation
363362
364363
365364setting block instant death volumes for zone ??
366365
367366PCF_DisableVehicleTransitions
368367
369368
370369
371370PCF_DisableDeadEyeTagging
372371
373372
374373PCF_AllowSlipstream
375374
376375
377376
378377
379378true
380379
381380PCF_CanLosePropsOnDamagetrue
382381
383382
384383
385384
386385
387386
388387
389388PCF_DisableFatallyWoundedBehaviour
390389
391390
392391
393392
394393
395394PCF_DisableInteractionWithAnimals
396395
397396
398397PCF_DisableStuckResponse
399398
400399