The Lab
PED native

_SET_MOUNT_SECURITY_ENABLED

returns void2 paramsbuild 1232

Enables or disables mount security on ped, which controls whether other players can ride it.

Signature

C
void _SET_MOUNT_SECURITY_ENABLED(Ped ped, BOOL toggle); // 0x11E6B9629C46D6EC b1232

Parameters

#NameType
1pedPed
2toggleBOOL

Facts

Facts about _SET_MOUNT_SECURITY_ENABLED
Name
_SET_MOUNT_SECURITY_ENABLED
Hash
0x11E6B9629C46D6EC
Namespace
Returns
void
Game build
1232

Examples

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

Lua
Citizen.InvokeNative(0x11E6B9629C46D6EC, -- _SET_MOUNT_SECURITY_ENABLED
  PlayerPedId(), -- Ped ped
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x11E6B9629C46D6EC", // _SET_MOUNT_SECURITY_ENABLED
  PlayerPedId(), // Ped ped
  false // BOOL toggle
);
C#
Function.Call((Hash)0x11E6B9629C46D6EC, // _SET_MOUNT_SECURITY_ENABLED
  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.