The Lab
PLAYER native

SET_PLAYER_FORCED_AIM

returns void5 paramsbuild 1207

Forces player to aim when toggle is true.

Signature

C
void SET_PLAYER_FORCED_AIM(Player player, BOOL toggle, Ped ped, int p3, BOOL p4); // 0xD5FCC166AEB2FD0F b1207

Parameters

#NameType
1playerPlayer
2toggleBOOL
3pedPed
4p3int
5p4BOOL

Facts

Facts about SET_PLAYER_FORCED_AIM
Name
SET_PLAYER_FORCED_AIM
Hash
0xD5FCC166AEB2FD0F
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(0xD5FCC166AEB2FD0F, -- SET_PLAYER_FORCED_AIM
  PlayerId(), -- Player player
  false, -- BOOL toggle
  PlayerPedId(), -- Ped ped
  0, -- int p3
  false -- BOOL p4
)
JavaScript
Citizen.invokeNative("0xD5FCC166AEB2FD0F", // SET_PLAYER_FORCED_AIM
  PlayerId(), // Player player
  false, // BOOL toggle
  PlayerPedId(), // Ped ped
  0, // int p3
  false // BOOL p4
);
C#
Function.Call((Hash)0xD5FCC166AEB2FD0F, // SET_PLAYER_FORCED_AIM
  API.PlayerId(), // Player player
  false, // BOOL toggle
  API.PlayerPedId(), // Ped ped
  0, // int p3
  false // BOOL p4
);
All PLAYER natives

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