SET_PED_FLEE_ATTRIBUTES
Hash
0x70A2D1137C8ED7C9Runtime name
SetPedFleeAttributesNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x70A2D1137C8ED7C9Signature
void SET_PED_FLEE_ATTRIBUTES(Ped ped, int attributeFlags, BOOL enable);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attributeFlags | int | — |
enable | BOOL | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/tree/master/AI/FLEE_ATTRIBUTES
attributeFlags:
enum eFleeAttribute
{
FA_FORCE_EXIT_VEHICLE = (1 << 16),
FA_DISABLE_MOUNT_USAGE = (1 << 20),
FA_DISABLE_ENTER_VEHICLES = (1 << 22),
};Usage
SetPedFleeAttributes(ped, attributeFlags, enable)
-- always works, by hash
Citizen.InvokeNative(0x70A2D1137C8ED7C9, ped, attributeFlags, enable)JavaScript and C#
SetPedFleeAttributes(ped, attributeFlags, enable);
// by hash
Citizen.invokeNative('0x70A2D1137C8ED7C9', ped, attributeFlags, enable);Function.Call((Hash)0x70A2D1137C8ED7C9, ped, attributeFlags, enable);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.