SET_PED_CONFIG_FLAG
Hash
0x1913FE4CBF41C463Runtime name
SetPedConfigFlagNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1913FE4CBF41C463Signature
void SET_PED_CONFIG_FLAG(Ped ped, int flagId, BOOL value);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
flagId | int | — |
value | BOOL | — |
Returns void
Description
flagId: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedScriptConfigFlags
https://alloc8or.re/rdr3/doc/enums/ePedScriptConfigFlags.txt
https://github.com/femga/rdr3_discoveries/tree/master/AI/CPED_CONFIG_FLAGS
Usage
SetPedConfigFlag(ped, flagId, value)
-- always works, by hash
Citizen.InvokeNative(0x1913FE4CBF41C463, ped, flagId, value)JavaScript and C#
SetPedConfigFlag(ped, flagId, value);
// by hash
Citizen.invokeNative('0x1913FE4CBF41C463', ped, flagId, value);Function.Call((Hash)0x1913FE4CBF41C463, ped, flagId, value);Enums and flags
- ePedScriptConfigFlags 603 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.