RedM Natives

_SET_PHOTO_MODE_AO_ENHANCED

Toggles an enhanced/high-quality ambient occlusion mode used in Photo Mode.

Hash0xF5793BB386E1FF9C
Runtime nameSetPhotoModeAoEnhanced
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PHOTO_MODE_AO_ENHANCED(BOOL bEnabled);

Parameters

NameTypeDescription
bEnabledBOOL—

Returns void

Description

Toggles an enhanced/high-quality ambient occlusion mode used in Photo Mode.
Called with 1 when photo mode's manual exposure/contrast adjustments become active (after the PauseMenuIn post-fx transition finishes), and called with 0 when photo mode is closed/torn down.
Stores the value into a global bool that appears to gate a higher quality AO pass while composing photos.

Parameters:
- bEnabled: true to enable the enhanced AO pass, false to disable it.

Usage

Lua
SetPhotoModeAoEnhanced(bEnabled)

-- always works, by hash
Citizen.InvokeNative(0xF5793BB386E1FF9C, bEnabled)
JavaScript and C#
JavaScript
SetPhotoModeAoEnhanced(bEnabled);

// by hash
Citizen.invokeNative('0xF5793BB386E1FF9C', bEnabled);
C#
Function.Call((Hash)0xF5793BB386E1FF9C, bEnabled);
  • 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

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