RedM Natives

_SET_INTERACTION_LOCKON_FLAG

Hash0xFECA2081F61ED2CD
Runtime nameSetInteractionLockonFlag
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_INTERACTION_LOCKON_FLAG(Ped ped, Player player, int flag, BOOL enable);

Parameters

NameTypeDescription
pedPed—
playerPlayer—
flagint—
enableBOOL—

Returns void

Usage

Lua
SetInteractionLockonFlag(ped, player, flag, enable)

-- always works, by hash
Citizen.InvokeNative(0xFECA2081F61ED2CD, ped, player, flag, enable)
JavaScript and C#
JavaScript
SetInteractionLockonFlag(ped, player, flag, enable);

// by hash
Citizen.invokeNative('0xFECA2081F61ED2CD', ped, player, flag, enable);
C#
Function.Call((Hash)0xFECA2081F61ED2CD, ped, player, flag, enable);
  • 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.