RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET

_ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET

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`

PLAYERBuild 1207

Signature

lua
AddAmbientPlayerInteractiveFocusPreset(PlayerId(), PlayerPedId(), preset, 0.0, 0.0, 0.0, targetEntity, name)
-- returns void

Parameters

NameTypeDescription
Player—
Ped—
char*—
float—
float—
float—
Entity—
char*—

Usage

lua
AddAmbientPlayerInteractiveFocusPreset(PlayerId(), PlayerPedId(), preset, 0.0, 0.0, 0.0, targetEntity, name)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details