RedM Natives

SET_PLAYER_FORCED_AIM

Hash0xD5FCC166AEB2FD0F
Runtime nameSetPlayerForcedAim
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x0FEE4F80AC44A726

Signature

void SET_PLAYER_FORCED_AIM(Player player, BOOL toggle, Ped ped, int p3, BOOL p4);

Parameters

NameTypeDescription
playerPlayer—
toggleBOOL—
pedPed—
p3int—
p4BOOL—

Returns void

Usage

Lua
SetPlayerForcedAim(player, toggle, ped, p3, p4)

-- always works, by hash
Citizen.InvokeNative(0xD5FCC166AEB2FD0F, player, toggle, ped, p3, p4)
JavaScript and C#
JavaScript
SetPlayerForcedAim(player, toggle, ped, p3, p4);

// by hash
Citizen.invokeNative('0xD5FCC166AEB2FD0F', player, toggle, ped, p3, p4);
C#
Function.Call((Hash)0xD5FCC166AEB2FD0F, player, toggle, ped, p3, p4);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.