The Lab
PLAYER native

_SET_PLAYER_IN_VEHICLE_TARGETING_MODE

returns void1 parambuild 1207

Sets the targeting mode used while the player is in a vehicle.

Signature

C
void _SET_PLAYER_IN_VEHICLE_TARGETING_MODE(int targetMode); // 0x19B4F71703902238 b1207

Parameters

#NameType
1targetModeint

Facts

Facts about _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
Name
_SET_PLAYER_IN_VEHICLE_TARGETING_MODE
Hash
0x19B4F71703902238
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(0x19B4F71703902238, -- _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
  0 -- int targetMode
)
JavaScript
Citizen.invokeNative("0x19B4F71703902238", // _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
  0 // int targetMode
);
C#
Function.Call((Hash)0x19B4F71703902238, // _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
  0 // int targetMode
);
All PLAYER natives

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