The Lab
PED native

_SET_HORSE_SCRIPTED_FLAG

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to toggle a script-controlled flag on the horse ped.

Signature

C
void _SET_HORSE_SCRIPTED_FLAG(Ped ped, BOOL toggle); // 0xB8AB265426CFE6DD b1207

Parameters

#NameType
1pedPed
2toggleBOOL

Facts

Facts about _SET_HORSE_SCRIPTED_FLAG
Name
_SET_HORSE_SCRIPTED_FLAG
Hash
0xB8AB265426CFE6DD
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xB8AB265426CFE6DD, -- _SET_HORSE_SCRIPTED_FLAG
  PlayerPedId(), -- Ped ped
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xB8AB265426CFE6DD", // _SET_HORSE_SCRIPTED_FLAG
  PlayerPedId(), // Ped ped
  false // BOOL toggle
);
C#
Function.Call((Hash)0xB8AB265426CFE6DD, // _SET_HORSE_SCRIPTED_FLAG
  API.PlayerPedId(), // Ped ped
  false // BOOL toggle
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.