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:249
CurrentEmoteclientclient/cl_emotes.lua:267
EmoteListclientclient/cl_emotes.lua:270The menu asks for this: plain data, safe to send straight into a NUI.
FocusAmountclientclient/cl_focus.lua:159Raw 0..1 focus amount, for anything that fades with the lens.
Focusingclientclient/cl_focus.lua:154Is the player holding TAB to focus, and by how much?
FocusZoomclientclient/cl_focus.lua:162What the UI shows: 1.0 at no skill, rising as the lens tightens.
GetFavouritesclientclient/cl_emotemenu.lua:250
IsCrouchedclientclient/cl_crouch.lua:136
IsEmotingclientclient/cl_emotes.lua:266
IsFocusedclientclient/cl_focus.lua:172
IsHandsUpclientclient/cl_actions.lua:116
IsLeaningclientclient/cl_lean.lua:223
IsPointingclientclient/cl_point.lua:173
IsProneclientclient/cl_prone.lua:167
IsRecoveringclientclient/cl_movement.lua:85
IsSittingclientclient/cl_seats.lua:228
MakeNoiseclientclient/cl_noise.lua:34
OpenEmoteMenuclientclient/cl_emotemenu.lua:248
PlayEmoteclientclient/cl_emotes.lua:261Returns 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:137
Sitclientclient/cl_seats.lua:212
StopEmoteclientclient/cl_emotes.lua:265
VehicleNoiseKindclientclient/cl_vehiclenoise.lua:126For the diagnostics command.

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:149
bs:emotes:proneclientlocalclient/cl_crouch.lua:125Prone and crouch are the same axis, so each clears the other.
bs:hook:player:spawnedclientlocalclient/cl_crouch.lua:121
bs:hook:player:unloadedclientlocalclient/cl_actions.lua:112
bs:ui:openedclientlocalclient/cl_emotemenu.lua:238
bs:weapons:shotclientlocalclient/cl_noise.lua:105Catches firearm implementations where IsPedShooting does not stay true long enough for the generic watcher above.
bs:world:noiseservernetserver/sv_main.lua:9
bs:world:noiseRelayclientnetclient/cl_noise.lua:36
onResourceStopclientlocalclient/cl_crouch.lua:129
playerDroppedserverlocalserver/sv_main.lua:43
CommandSideWhereDescription
/bs_cancelemoteclientclient/cl_emotes.lua:244
/bs_handsupclientclient/cl_actions.lua:50
/bs_pointclientclient/cl_point.lua:66In a thread: Start waits for the anim dict and the move network, and a command handler cannot yield.
/bs_proneclientclient/cl_prone.lua:82
/bs_stance_crouchclientclient/cl_crouch.lua:85The command name matters: the key in RegisterKeyMapping is only a default, applied the first time FiveM sees that command name.
/bs_whistleclientclient/cl_actions.lua:92
/eclientclient/cl_emotes.lua:239
/emoteclientclient/cl_emotes.lua:240
/emotesclientclient/cl_emotes.lua:241
/emotestopclientclient/cl_emotes.lua:242
/leanclientclient/cl_lean.lua:206/lean - toggle the feature for this session.
/pointdebugclientclient/cl_point.lua:139Debug command: prints the ped heading, camera heading, the difference given to the move network (rel, signal) and whether the network is live.
/standupclientclient/cl_crouch.lua:97Escape hatch. cl_prone.lua also registers /standup, and RegisterCommand replaces an existing handler.
/standupclientclient/cl_prone.lua:92Redundant safety so the player can never be stuck down.
/standup2clientclient/cl_seats.lua:123
/unleanclientclient/cl_lean.lua:217Manual escape hatch, same idea as /unblur.