SET_PED_CONFIG_FLAG
Sets the config flag flagId on ped to value.
Config flags persist until changed, unlike reset flags.
Signature
void SET_PED_CONFIG_FLAG(Ped ped, int flagId, BOOL value); // 0x1913FE4CBF41C463 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | flagId | int |
| 3 | value | BOOL |
Facts
| Name | SET_PED_CONFIG_FLAG |
|---|---|
| Hash | 0x1913FE4CBF41C463 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x1913FE4CBF41C463, -- SET_PED_CONFIG_FLAG
PlayerPedId(), -- Ped ped
0, -- int flagId
false -- BOOL value
)Citizen.invokeNative("0x1913FE4CBF41C463", // SET_PED_CONFIG_FLAG
PlayerPedId(), // Ped ped
0, // int flagId
false // BOOL value
);Function.Call((Hash)0x1913FE4CBF41C463, // SET_PED_CONFIG_FLAG
API.PlayerPedId(), // Ped ped
0, // int flagId
false // BOOL value
);Related PED natives
- SET_PED_LASSO_HOGTIE_FLAG
- SET_PED_RESET_FLAG
- SET_PED_COMBAT_ABILITY
- SET_PED_COMBAT_ATTRIBUTES
- SET_PED_COMBAT_MOVEMENT
- SET_PED_COMBAT_RANGE
- SET_PED_CAN_ARM_IK
- SET_PED_CAN_BE_INCAPACITATED
- SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE
- SET_PED_CAN_BE_TARGETTED
- SET_PED_CAN_BE_TARGETTED_BY_PLAYER
- SET_PED_CAN_BE_TARGETTED_BY_TEAM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.