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
501500
502501
503502
504503PCF_DisableSpecialGreetChains
505504
506505PCF_AllowRobberyWhenInjured
507506PCF_RunToTransport
508507
509508
510509
511510PCF_DisableConfrontCriminalTowardsThisPed
512511
513512
514513
515514PCF_DisableFriendlyAmbientAnimalFollowing
516515PCF_DisableReloadMultiplier
517516
518517PCF_AllowPersistenceOverride
519518PCF_DisableWalkAway
520519
521520
522521
523522PCF_DontFleeFromDroppedAnimals
524523
525524
526525
527526PCF_DisableTacticalAnalysis
528527
529528
530529
531530
532531
533532
534533after climbing stairs, ped turns left or right (dont effect vertical ladders)
535534
536535
537536
538537PCF_CannotSwapReins
539538
540539
541540PCF_FollowLeaderRunToEnterTransport
542541PCF_PlayerCorpse
543542
544543
545544
546545PCF_DontCreateCombatBlip
547546PCF_IgnoreOwnershipForHorseFeedAndBrush
548547
549548
550549
551550PCF_DisableAndBreakAimLockOntoThisPed
552551
553552
554553
555554
556555
557556
558557
559558
560559
561560PCF_EnableMountCoverForPedInMP
562561PCF_EnableHorseCollectPlantInteractionInMP
563562
564563
565564
566565PCF_IsValidForVehicleSeatStow
567566PCF_EnableSpecialActionBranches
568567PCF_DisableHorseShunting
569568PCF_NeverKillWhenTrapped
570569PCF_CanBeAttackedByFriendlyPed
571570
572571
573572
574573
575574
576575PCF_DisableGuardAI
577576
578577
579578
580579
581580PCF_IsTranquilized
582581
583582PCF_AllowStudyInMP
584583
585584PCF_DisableInjuredMovement
586585PCF_RagdollFloatsIndefinitely
587586
588587
589588
590589
591590
592591
593592
594593
595594
596595PCF_AllowAutoSwitchToProjectiles
597596
598597
599598
600599PCF_DisableScenarioWarpWeaponDestruction