RedM Natives

_PED_APPLY_FOLLOW_ROAD_SPEED_OVERRIDE

Sets the AI travel speed for a mount (horse).

Hash0xBAAB791AA72C2821
Runtime namePedApplyFollowRoadSpeedOverride
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _PED_APPLY_FOLLOW_ROAD_SPEED_OVERRIDE(Any p0, Any p1);

Parameters

NameTypeDescription
p0Any—
p1Any—

Returns void

Description

VORPCORE RDR3natives

Sets the AI travel speed for a mount (horse). Affects how fast the horse's AI will move when being controlled by AI logic (not player input), e.g. during escorts, flee, wander, or scripted tasks
https://youtu.be/aupII2O9vT8

Usage

Lua
PedApplyFollowRoadSpeedOverride(p0, p1)

-- always works, by hash
Citizen.InvokeNative(0xBAAB791AA72C2821, p0, p1)
JavaScript and C#
JavaScript
PedApplyFollowRoadSpeedOverride(p0, p1);

// by hash
Citizen.invokeNative('0xBAAB791AA72C2821', p0, p1);
C#
Function.Call((Hash)0xBAAB791AA72C2821, p0, p1);
  • 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.