RedM Natives

_SET_PLAYER_IN_VEHICLE_TARGETING_MODE

Sets your targeting mode for when you're in a vehicle (perhaps a mount/horse).

Hash0x19B4F71703902238
Runtime nameSetPlayerInVehicleTargetingMode
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_IN_VEHICLE_TARGETING_MODE(int targetMode);

Parameters

NameTypeDescription
targetModeint—

Returns void

Description

Sets your targeting mode for when you're in a vehicle (perhaps a mount/horse).
see SET_PLAYER_TARGETING_MODE for eTargetingMode

Usage

Lua
SetPlayerInVehicleTargetingMode(targetMode)

-- always works, by hash
Citizen.InvokeNative(0x19B4F71703902238, targetMode)
JavaScript and C#
JavaScript
SetPlayerInVehicleTargetingMode(targetMode);

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