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:429
GetDisplaySettingsclientclient/cl_main.lua:425Published for the U-menu Settings page.
GetVipStylesclientclient/cl_main.lua:174
IsOpenclientclient/cl_main.lua:447
SetVipStylesclientclient/cl_main.lua:175
Sendserverserver/sv_main.lua:138A SERVER-SIDE WAY TO SAY SOMETHING, for resources that would otherwise write the TriggerClientEvent by hand.

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:83
bs:hook:player:unloadedclientlocalclient/cl_main.lua:314
bs:ui:closedclientlocalclient/cl_main.lua:149
bs:ui:openedclientlocalclient/cl_main.lua:142
chat:addMessageclientnetclient/cl_main.lua:226EVERY MESSAGE APPEARED TWICE.
chat:addSuggestionclientnetclient/cl_main.lua:264
chat:addTemplateclientnetclient/cl_main.lua:279Accepted and ignored.
chat:clearclientnetclient/cl_main.lua:229
chat:removeSuggestionclientnetclient/cl_main.lua:274
onResourceStopclientlocalclient/cl_main.lua:309NUI focus is released on resource stop, unconditionally.
playerDroppedserverlocalserver/sv_main.lua:128
CommandSideWhereDescription
/bs_chat_openclientclient/cl_main.lua:123T, through RegisterKeyMapping, so it is rebindable in the pause menu like any other action.
/chatclientclient/cl_main.lua:386
/vipchatclientclient/cl_main.lua:180