RedM Natives

_SET_HORSE_SCRIPTED_FLAG

Sets an internal horse-component flag (bit 0x04) used for scripted control of mounts (e.g., after placing/rider-seating).

Hash0xB8AB265426CFE6DD
Runtime nameSetHorseScriptedFlag
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_HORSE_SCRIPTED_FLAG(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

Sets an internal horse-component flag (bit 0x04) used for scripted control of mounts (e.g., after placing/rider-seating). Pass true to set, false to clear. No effect on non-horses.

VORPCORE RDR3natives

Sets some flag on a horse

Usage

Lua
SetHorseScriptedFlag(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0xB8AB265426CFE6DD, ped, toggle)
JavaScript and C#
JavaScript
SetHorseScriptedFlag(ped, toggle);

// by hash
Citizen.invokeNative('0xB8AB265426CFE6DD', ped, toggle);
C#
Function.Call((Hash)0xB8AB265426CFE6DD, ped, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.