The Lab
PLAYER native

SET_PLAYER_TARGETING_MODE

returns void1 parambuild 1207

Sets the targeting mode for the player.

Signature

C
void SET_PLAYER_TARGETING_MODE(int targetMode); // 0xD66A941F401E7302 b1207

Parameters

#NameType
1targetModeint

Facts

Facts about SET_PLAYER_TARGETING_MODE
Name
SET_PLAYER_TARGETING_MODE
Hash
0xD66A941F401E7302
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(0xD66A941F401E7302, -- SET_PLAYER_TARGETING_MODE
  0 -- int targetMode
)
JavaScript
Citizen.invokeNative("0xD66A941F401E7302", // SET_PLAYER_TARGETING_MODE
  0 // int targetMode
);
C#
Function.Call((Hash)0xD66A941F401E7302, // SET_PLAYER_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.