Skip to content

bs_emotes

survivor actions, emotes and clothing.

Generated from the Lua sources in resources/[beyond]/bs_emotes/. 49 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_emotes:Name(...) from the same side.

NameSideWhereDescription
CloseEmoteMenuclientclient/cl_emotemenu.lua:267
CurrentEmoteclientclient/cl_emotes.lua:244
EmoteListclientclient/cl_emotes.lua:247The menu asks for this: plain data, safe to send straight into a NUI.
FocusAmountclientclient/cl_focus.lua:187The raw 0..1 focus amount, for anything that wants to fade with the lens.
Focusingclientclient/cl_focus.lua:182Is the player holding TAB to focus, and by how much?
FocusZoomclientclient/cl_focus.lua:190What the UI would show: 1.0 at no skill, rising as the lens tightens.
GetFavouritesclientclient/cl_emotemenu.lua:268
IsCrouchedclientclient/cl_crouch.lua:222
IsEmotingclientclient/cl_emotes.lua:243
IsFocusedclientclient/cl_focus.lua:200
IsHandsUpclientclient/cl_actions.lua:123
IsLeaningclientclient/cl_lean.lua:373
IsPointingclientclient/cl_point.lua:277
IsProneclientclient/cl_prone.lua:193
IsRecoveringclientclient/cl_movement.lua:111
IsSittingclientclient/cl_seats.lua:271
MakeNoiseclientclient/cl_noise.lua:39
OpenEmoteMenuclientclient/cl_emotemenu.lua:266
PlayEmoteclientclient/cl_emotes.lua:238Returns ONE table, never two values: multiple return values do not survive an export call reliably, and a silently dropped error message is worse than a slightly wordier signature.
SetCrouchedclientclient/cl_crouch.lua:223
Sitclientclient/cl_seats.lua:255
StopEmoteclientclient/cl_emotes.lua:242
VehicleNoiseKindclientclient/cl_vehiclenoise.lua:215For the diagnostics command, and for anything that wants to explain to a player why the street just woke up.

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:emotes:dot:sitclientlocalclient/cl_seats.lua:192
bs:emotes:proneclientlocalclient/cl_crouch.lua:211Prone and crouch are the same axis, so each clears the other.
bs:hook:player:spawnedclientlocalclient/cl_crouch.lua:205
bs:hook:player:unloadedclientlocalclient/cl_actions.lua:119
bs:ui:openedclientlocalclient/cl_emotemenu.lua:256
bs:weapons:shotclientlocalclient/cl_noise.lua:153The weapon inventory knows an actual round left the weapon.
bs:world:noiseservernetserver/sv_main.lua:16
bs:world:noiseRelayclientnetclient/cl_noise.lua:41
onResourceStopclientlocalclient/cl_crouch.lua:215
playerDroppedserverlocalserver/sv_main.lua:50
CommandSideWhereDescription
/bs_cancelemoteclientclient/cl_emotes.lua:221
/bs_handsupclientclient/cl_actions.lua:56
/bs_pointclientclient/cl_point.lua:79In a thread: Start waits for the anim dictionary and for the move network to come up, and a command handler is not allowed to yield.
/bs_proneclientclient/cl_prone.lua:106
/bs_stance_crouchclientclient/cl_crouch.lua:155THE COMMAND NAME CHANGED, AND THAT IS THE ENTIRE FIX.
/bs_whistleclientclient/cl_actions.lua:99
/eclientclient/cl_emotes.lua:216
/emoteclientclient/cl_emotes.lua:217
/emotesclientclient/cl_emotes.lua:218
/emotestopclientclient/cl_emotes.lua:219
/leanclientclient/cl_lean.lua:356/lean - turn the parked feature on or off for this session.
/pointdebugclientclient/cl_point.lua:243EXTENDED FOR “POINTING AT THE CAMERA INSTEAD OF THE SIGN.” The old print only showed the heading side of the signal.
/standupclientclient/cl_crouch.lua:174THE ESCAPE HATCH, AND A TRAP WORTH NAMING.
/standupclientclient/cl_prone.lua:116Belt and braces for the one bug nobody should ever have to report twice.
/standup2clientclient/cl_seats.lua:157
/unleanclientclient/cl_lean.lua:367Manual escape hatch, for the same reason /unblur exists.