Skip to content

bs_ui

HUD, notifications and shared NUI shell.

Generated from the Lua sources in resources/[beyond]/bs_ui/. 54 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.

Call with exports.bs_ui:Name(...) from the same side.

NameSideWhereDescription
ApplyFilterclientclient/cl_filter.lua:127
ApplyHudSettingsclientclient/cl_hud.lua:63
Closeclientclient/cl_nui.lua:84
CloseFieldMapclientclient/cl_fieldmap.lua:154
FilterPresetsclientclient/cl_filter.lua:119The list the pickers are built from (Settings and the cinematic camera).
GetHudSettingsclientclient/cl_hud.lua:64
GetPartyHudPrefclientclient/cl_partyhud.lua:51
GetUiScaleclientclient/cl_uiscale.lua:32
IsFieldMapOpenclientclient/cl_fieldmap.lua:155
IsFocusedclientclient/cl_nui.lua:86
IsSoundLiveclientclient/cl_sound.lua:290Is anything still playing under this id?
LevelUpSequenceclientclient/cl_levelup.lua:50
MoveSoundAtclientclient/cl_sound.lua:280Move a playing sound.
Notifyclientclient/cl_notify.lua:25
Openclientclient/cl_nui.lua:83
OpenFieldMapclientclient/cl_fieldmap.lua:153
PlaySound2Dclientclient/cl_sound.lua:295Non-positional sound (menus, notifications, hitmarkers, level-up sting).
PlaySoundAtclientclient/cl_sound.lua:275
ResetMinimapRectclientclient/cl_hud.lua:171
RestoreFilterclientclient/cl_filter.lua:130Restore the saved gameplay look after a menu camera releases its own grade.
Sendclientclient/cl_nui.lua:85
SetBigmapclientclient/cl_hud.lua:113
SetMinimapclientclient/cl_hud.lua:172
SetMinimapRectclientclient/cl_hud.lua:170
SetPartyHudPrefclientclient/cl_partyhud.lua:52
SetUiScaleclientclient/cl_uiscale.lua:33
SkillLevelSequenceclientclient/cl_levelup.lua:51
StopSoundTagclientclient/cl_sound.lua:287Stop with a fade. fadeMs is optional; nil uses the short default.
SuspendFilterclientclient/cl_filter.lua:153Suspend, for anything that owns the screen briefly (death fade, cutscene, character select).
Notifyserverserver/sv_main.lua:16
NotifyAllserverserver/sv_main.lua:17

Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).

None.

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs:factions:syncclientnetclient/cl_partyhud.lua:66
bs:hook:player:levelUpclientlocalclient/cl_hud.lua:348
bs:hook:player:loadedclientlocalclient/cl_hud.lua:309
bs:hook:player:moneyclientlocalclient/cl_notify.lua:36
bs:hook:player:spawnedclientlocalclient/cl_notify.lua:49
bs:hook:player:unloadedclientlocalclient/cl_fieldmap.lua:136
bs:hook:player:xpclientlocalclient/cl_hud.lua:324XP popup: the moment the player sees the reward land.
bs:squad:syncclientnetclient/cl_partyhud.lua:65
bs:ui:announceclientnetclient/cl_announce.lua:3
bs:ui:closedclientlocalclient/cl_hud.lua:180Another panel closing must not switch the radar off while the field map owns it.
bs:ui:levelCardclientlocalclient/cl_hud.lua:330The card is drawn here; the sequence (card, sound, music) is owned by cl_levelup.lua via bs:ui:levelCard.
bs:ui:openedclientlocalclient/cl_fieldmap.lua:132Panels
bs:ui:panicclientlocalclient/cl_hud.lua:216
bs:ui:settingsChangedclientlocalclient/cl_sound.lua:36Player preferences arrive after the HUD state is restored.
onClientResourceStopclientlocalclient/cl_blurguard.lua:34Case the watchdog misses: a resource that faded the blur in and then stopped, so its close handler never runs.
onResourceStopclientlocalclient/cl_fieldmap.lua:138The timecycle is engine state, not resource state, so a restart leaves the grade applied.
CommandSideWhereDescription
/hudclientclient/cl_hud.lua:364
/leveltestclientclient/cl_levelup.lua:54Test commands: /leveltest 12 plays the character sequence at level 12, /leveltest 4 skill plays the skill one.
/refreshuiclientclient/cl_nui.lua:72/refreshui - panic button for every player.
/soundstatclientclient/cl_sound.lua:352/soundstat - shows what the mixer is doing.
/soundtestclientclient/cl_sound.lua:313/soundtest <file> [distance] - plays a file to check it is present and audible.
/uiscaleclientclient/cl_uiscale.lua:35
/unblurclientclient/cl_blurguard.lua:54/unblur - manual escape hatch if the watchdog misses something.