RedM Natives

_SET_PLAYER_MOUNT_STATE_ACTIVE

Name could potentially be inaccurate.

Hash0xDF93973251FB2CA5
Runtime nameSetPlayerMountStateActive
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_MOUNT_STATE_ACTIVE(Player player, BOOL active);

Parameters

NameTypeDescription
playerPlayer—
activeBOOL—

Returns void

Description

Name could potentially be inaccurate.
Used in Script Function HORSE_SETUP_PLAYER_HORSE_ATTRIBUTES (p1 = true)
_SET_PLAYER_L* - _SET_PLAYER_M*

Usage

Lua
SetPlayerMountStateActive(player, active)

-- always works, by hash
Citizen.InvokeNative(0xDF93973251FB2CA5, player, active)
JavaScript and C#
JavaScript
SetPlayerMountStateActive(player, active);

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

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