_SET_INTERACTION_LOCKON_FLAG
Enables or disables the interaction lock-on flag flag between ped and player.
Signature
void _SET_INTERACTION_LOCKON_FLAG(Ped ped, Player player, int flag, BOOL enable); // 0xFECA2081F61ED2CD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | player | Player |
| 3 | flag | int |
| 4 | enable | BOOL |
Facts
| Name | _SET_INTERACTION_LOCKON_FLAG |
|---|---|
| Hash | 0xFECA2081F61ED2CD |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xFECA2081F61ED2CD, -- _SET_INTERACTION_LOCKON_FLAG
PlayerPedId(), -- Ped ped
PlayerId(), -- Player player
0, -- int flag
false -- BOOL enable
)Citizen.invokeNative("0xFECA2081F61ED2CD", // _SET_INTERACTION_LOCKON_FLAG
PlayerPedId(), // Ped ped
PlayerId(), // Player player
0, // int flag
false // BOOL enable
);Function.Call((Hash)0xFECA2081F61ED2CD, // _SET_INTERACTION_LOCKON_FLAG
API.PlayerPedId(), // Ped ped
API.PlayerId(), // Player player
0, // int flag
false // BOOL enable
);Related PED natives
- _SET_HORSE_SCRIPTED_FLAG
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_GRAPPLE_FLAG
- _SET_PED_IMMERSION_FLAG
- _SET_PED_INTERACTION_NEGATIVE_RESPONSE
- _SET_PED_INTERACTION_PERSONALITY
- _SET_PED_INTERACTION_POSITIVE_RESPONSE
- _SET_PED_TARGET_ACTION_DISABLE_FLAG
- _SET_STAGED_PED_FLAG
- SET_LOOTING_FLAG
- SET_PED_CONFIG_FLAG
- SET_PED_LASSO_HOGTIE_FLAG
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.