Skip to content

bs_chat

the chat, replacing the stock one.

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

NameSideWhereDescription
ApplyDisplaySettingsclientclient/cl_main.lua:275
GetDisplaySettingsclientclient/cl_main.lua:271Published for the U-menu Settings page.
GetVipStylesclientclient/cl_main.lua:94
IsOpenclientclient/cl_main.lua:299
SetVipStylesclientclient/cl_main.lua:95
Sendserverserver/sv_main.lua:99Server-side way for other resources to post a chat message without hand-writing the TriggerClientEvent payload.

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:chat:sayservernetserver/sv_main.lua:58
bs:hook:player:unloadedclientlocalclient/cl_main.lua:195
bs:ui:closedclientlocalclient/cl_main.lua:82
bs:ui:openedclientlocalclient/cl_main.lua:75
chat:addMessageclientnetclient/cl_main.lua:132RegisterNetEvent(name, handler) already registers the handler, so adding AddEventHandler(name, handler) runs it twice (duplicate messages).
chat:addSuggestionclientnetclient/cl_main.lua:164
chat:addTemplateclientnetclient/cl_main.lua:178Accepted and ignored (see addMessage).
chat:clearclientnetclient/cl_main.lua:135
chat:removeSuggestionclientnetclient/cl_main.lua:174
onResourceStopclientlocalclient/cl_main.lua:190Always release NUI focus on resource stop; a stuck focus leaves the player unable to move or look.
playerDroppedserverlocalserver/sv_main.lua:94
CommandSideWhereDescription
/bs_chat_openclientclient/cl_main.lua:57T via RegisterKeyMapping, rebindable in the pause menu.
/chatclientclient/cl_main.lua:243
/vipchatclientclient/cl_main.lua:100