RedM Natives

_DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET

Disables the previously set "interactive focus mode preset" for a given player.

Hash0xC67A4910425F11F1
Runtime nameDisablePlayerInteractiveFocusPreset
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET(Player player, const char* name);

Parameters

NameTypeDescription
playerPlayer—
nameconst char*—

Returns void

Description

alloc8or RDR3 NativeDB

Disables the previously set "interactive focus mode preset" for a given player.
Example usage:
PLAYER::_DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET(Player::PLAYER_ID(), "qadr_");

This example disables the preset named "qadr_" for the current player, effectively removing the previously established interactive focus mode.
Refer to `_ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET(0x3946FC742AC305CD)` to understand how presets are added.
Video: https://imgur.com/gallery/0x3946fc742ac305cd-1uJIRNr

VORPCORE RDR3natives

Disables the previously set interactive focus mode preset for a given player. see _SET_PLAYER_INTERACTIVE_FOCUS_PRESET - 0x3C1B1807C7A415D6

Usage

Lua
DisablePlayerInteractiveFocusPreset(player, name)

-- always works, by hash
Citizen.InvokeNative(0xC67A4910425F11F1, player, name)
JavaScript and C#
JavaScript
DisablePlayerInteractiveFocusPreset(player, name);

// by hash
Citizen.invokeNative('0xC67A4910425F11F1', player, name);
C#
Function.Call((Hash)0xC67A4910425F11F1, player, name);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.