| Property | Value |
|---|---|
| Native Name | _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET |
| Hash | 0x3946FC742AC305CD |
| Return Type | void |
| Build | 1207 |
| API Set | client |
| Parameters | player (Player), ped (Ped), preset (char*), x (float), y (float), z (float), targetEntity (Entity), name (char*) |
Description: Associates a specific interactive focus mode preset between a player and a ped, with a specified location and target entity.
To access all available presets, refer to the file located at: /update_1.rpf/common/data/interactive_focus_mode_presets.meta
Usage
Lua (Direct):
AddAmbientPlayerInteractiveFocusPreset(player, ped, preset, x, y, z, targetEntity, name)
Lua (Hash):
Citizen.InvokeNative(0x3946FC742AC305CD, player, ped, preset, x, y, z, targetEntity, name)