_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 voidParameters
| Name | Type | Description |
|---|---|---|
| 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
