_DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET
Disables the previously set "interactive focus mode preset" for a given player.
0xC67A4910425F11F1DisablePlayerInteractiveFocusPresetSignature
void _DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET(Player player, const char* name);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
name | const char* | — |
Returns void
Description
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
Disables the previously set interactive focus mode preset for a given player. see _SET_PLAYER_INTERACTIVE_FOCUS_PRESET - 0x3C1B1807C7A415D6
Usage
DisablePlayerInteractiveFocusPreset(player, name)
-- always works, by hash
Citizen.InvokeNative(0xC67A4910425F11F1, player, name)JavaScript and C#
DisablePlayerInteractiveFocusPreset(player, name);
// by hash
Citizen.invokeNative('0xC67A4910425F11F1', player, name);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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.