The Lab
PLAYER native

_SET_PLAYER_MOUNT_STATE_ACTIVE

returns void2 paramsbuild 1207

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

Sets whether the mount state of player is active.

Signature

C
void _SET_PLAYER_MOUNT_STATE_ACTIVE(Player player, BOOL active); // 0xDF93973251FB2CA5 b1207

Parameters

#NameType
1playerPlayer
2activeBOOL

Facts

Facts about _SET_PLAYER_MOUNT_STATE_ACTIVE
Name
_SET_PLAYER_MOUNT_STATE_ACTIVE
Hash
0xDF93973251FB2CA5
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(0xDF93973251FB2CA5, -- _SET_PLAYER_MOUNT_STATE_ACTIVE
  PlayerId(), -- Player player
  false -- BOOL active
)
JavaScript
Citizen.invokeNative("0xDF93973251FB2CA5", // _SET_PLAYER_MOUNT_STATE_ACTIVE
  PlayerId(), // Player player
  false // BOOL active
);
C#
Function.Call((Hash)0xDF93973251FB2CA5, // _SET_PLAYER_MOUNT_STATE_ACTIVE
  API.PlayerId(), // Player player
  false // BOOL active
);
All PLAYER natives

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