Skip to content

Inventory Exports

This page lists the custom Lumix interfaces added around settings and profile behavior.

Client exports

ExportReturns / effect
getPlayerInfoReturns cached profile data used by the inventory UI
refreshPlayerInfoRefreshes profile data and sends it to NUI
captureMugshotCaptures and saves a mugshot for the current player

Server exports

ExportReturns / effect
GetStaticProfileReturns the profile payload for a player
GetPlayerAvatarReturns the resolved profile avatar URL/data URI
ClearProfileCacheClears cached profile data
SaveMugshotSaves a base64 mugshot for a player
GetMugshotReads a saved mugshot

Settings callbacks

CallbackPurpose
lumix_inventory:getSettingsReturns sanitized settings values and visibility flags
lumix_inventory:saveSettingsSanitizes and persists settings, then returns the saved payload

Profile callbacks and events

NameTypePurpose
lumix_inventory:server:getProfileStaticCallbackReturns profile data for the current player
lumix_inventory:server:getMugshotStatusCallbackReturns saved mugshot status
lumix_inventory:server:saveMugshotServer eventSaves a captured mugshot
lumix_inventory:client:captureMugshotClient eventStarts mugshot capture
lumix_inventory:client:refreshMugshotClient eventRefreshes profile/mugshot data
lumix_inventory:client:mugshotSavedClient eventReceives save result and refreshed profile data

NUI callbacks

CallbackPurpose
getInventorySettingsLoads settings into the settings panel
saveInventorySettingsSaves the current draft settings
lumixInventoryScreenBlurSettingsPreviews screen blur state
lumixInventoryCaptureMugshotCaptures profile mugshot from the settings panel
lumixInventoryRefreshProfileRefreshes profile data from the settings panel

WARNING

LumixSettings.Get, LumixSettings.Save, and LumixSettings.ClearCache are internal Lua helpers, not external FiveM exports.

DMCA.com Protection Status

Lumix Scripts operates independently and is not authorized, sponsored, or endorsed by Cfx.re, Rockstar Games, or Take-Two Interactive.