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| # | flagid | flag_name | flag_description | default_value_for_player_ped | Note |
|---|---|---|---|---|---|
| 301 | 300 | PCF_DisablePlayerHorseLeading | |||
| 302 | 301 | PCF_DisableInteractionLockonOnTargetPed | |||
| 303 | 302 | PCF_DisableMeleeKnockout | |||
| 304 | 303 | ||||
| 305 | 304 | (for horse) was horse mounted by player ?? | |||
| 306 | 305 | PCF_DisableHeadGore | |||
| 307 | 306 | PCF_DisableLimbGore | |||
| 308 | 307 | PCF_DisableMountSpawning | |||
| 309 | 308 | PCF_AllowILOWithWeapon | |||
| 310 | 309 | ||||
| 311 | 310 | PCF_CanBeLassoedByFriendlyPlayers | |||
| 312 | 311 | ped will not shoot props if they miss their target | |||
| 313 | 312 | PCF_DisableHorseGunshotFleeResponse | |||
| 314 | 313 | PCF_DontFindTransportToFollowLeader | |||
| 315 | 314 | PCF_ForceHogtieOfUnconciousPedToCarryAround | |||
| 316 | 315 | ||||
| 317 | 316 | PCF_DontStopForTrains | |||
| 318 | 317 | ||||
| 319 | 318 | PCF_PreventScavengers | |||
| 320 | 319 | PCF_EnableAsVehicleTransitionDestination | |||
| 321 | 320 | ||||
| 322 | 321 | ||||
| 323 | 322 | ||||
| 324 | 323 | PCF_UseRacingLines | |||
| 325 | 324 | ||||
| 326 | 325 | ||||
| 327 | 326 | ||||
| 328 | 327 | ||||
| 329 | 328 | ||||
| 330 | 329 | ||||
| 331 | 330 | ||||
| 332 | 331 | ||||
| 333 | 332 | PCF_IsInStationaryScenario | true | ||
| 334 | 333 | ||||
| 335 | 334 | prevent quick holster and unholster (with tab button) | |||
| 336 | 335 | prevent holster weapon (with tab button). Dont effect to "twirl" holster (with double tab) | |||
| 337 | 336 | PCF_ForceInjuredMovement | |||
| 338 | 337 | PCF_DontExitVehicleIfNoDraftAnimals | |||
| 339 | 338 | PCF_BlockMoveInCover | |||
| 340 | 339 | ||||
| 341 | 340 | PCF_DisableAllMeleeTakedowns | |||
| 342 | 341 | PCF_ForceDismountLeft | |||
| 343 | 342 | PCF_ForceDismountRight | |||
| 344 | 343 | ||||
| 345 | 344 | ||||
| 346 | 345 | ||||
| 347 | 346 | ||||
| 348 | 347 | PCF_IsSanctionedShooter | |||
| 349 | 348 | ||||
| 350 | 349 | ||||
| 351 | 350 | ||||
| 352 | 351 | PCF_DisableIntimidationBackingAway | |||
| 353 | 352 | together with 533: after few steps of stairs (up or down), ped turns back (dont effect vertical ladders) | |||
| 354 | 353 | ||||
| 355 | 354 | ||||
| 356 | 355 | ||||
| 357 | 356 | PCF_BlockRobberyInteractionEscape | |||
| 358 | 357 | ||||
| 359 | 358 | ||||
| 360 | 359 | PCF_AllowInCombatInteractionLockonOnTargetPed | |||
| 361 | 360 | ||||
| 362 | 361 | PCF_IgnoreWeaponDegradation | |||
| 363 | 362 | ||||
| 364 | 363 | ||||
| 365 | 364 | setting block instant death volumes for zone ?? | |||
| 366 | 365 | ||||
| 367 | 366 | PCF_DisableVehicleTransitions | |||
| 368 | 367 | ||||
| 369 | 368 | ||||
| 370 | 369 | ||||
| 371 | 370 | PCF_DisableDeadEyeTagging | |||
| 372 | 371 | ||||
| 373 | 372 | ||||
| 374 | 373 | PCF_AllowSlipstream | |||
| 375 | 374 | ||||
| 376 | 375 | ||||
| 377 | 376 | ||||
| 378 | 377 | ||||
| 379 | 378 | true | |||
| 380 | 379 | ||||
| 381 | 380 | PCF_CanLosePropsOnDamage | true | ||
| 382 | 381 | ||||
| 383 | 382 | ||||
| 384 | 383 | ||||
| 385 | 384 | ||||
| 386 | 385 | ||||
| 387 | 386 | ||||
| 388 | 387 | ||||
| 389 | 388 | PCF_DisableFatallyWoundedBehaviour | |||
| 390 | 389 | ||||
| 391 | 390 | ||||
| 392 | 391 | ||||
| 393 | 392 | ||||
| 394 | 393 | ||||
| 395 | 394 | PCF_DisableInteractionWithAnimals | |||
| 396 | 395 | ||||
| 397 | 396 | ||||
| 398 | 397 | PCF_DisableStuckResponse | |||
| 399 | 398 | ||||
| 400 | 399 |