_SET_INTERACTION_LOCKON_FLAG
Hash
0xFECA2081F61ED2CDRuntime name
SetInteractionLockonFlagNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_INTERACTION_LOCKON_FLAG(Ped ped, Player player, int flag, BOOL enable);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
player | Player | — |
flag | int | — |
enable | BOOL | — |
Returns void
Usage
SetInteractionLockonFlag(ped, player, flag, enable)
-- always works, by hash
Citizen.InvokeNative(0xFECA2081F61ED2CD, ped, player, flag, enable)JavaScript and C#
SetInteractionLockonFlag(ped, player, flag, enable);
// by hash
Citizen.invokeNative('0xFECA2081F61ED2CD', ped, player, flag, enable);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.