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.
Exports
Section titled “Exports”Call with exports.bs_chat:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
ApplyDisplaySettings | client | client/cl_main.lua:429 | |
GetDisplaySettings | client | client/cl_main.lua:425 | Published for the U-menu Settings page. |
GetVipStyles | client | client/cl_main.lua:174 | |
IsOpen | client | client/cl_main.lua:447 | |
SetVipStyles | client | client/cl_main.lua:175 | |
Send | server | server/sv_main.lua:138 | A SERVER-SIDE WAY TO SAY SOMETHING, for resources that would otherwise write the TriggerClientEvent by hand. |
Callbacks
Section titled “Callbacks”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.
Events
Section titled “Events”“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).
| Name | Side | Type | Where | Description |
|---|---|---|---|---|
bs:chat:say | server | net | server/sv_main.lua:83 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:314 | |
bs:ui:closed | client | local | client/cl_main.lua:149 | |
bs:ui:opened | client | local | client/cl_main.lua:142 | |
chat:addMessage | client | net | client/cl_main.lua:226 | EVERY MESSAGE APPEARED TWICE. |
chat:addSuggestion | client | net | client/cl_main.lua:264 | |
chat:addTemplate | client | net | client/cl_main.lua:279 | Accepted and ignored. |
chat:clear | client | net | client/cl_main.lua:229 | |
chat:removeSuggestion | client | net | client/cl_main.lua:274 | |
onResourceStop | client | local | client/cl_main.lua:309 | NUI focus is released on resource stop, unconditionally. |
playerDropped | server | local | server/sv_main.lua:128 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/bs_chat_open | client | client/cl_main.lua:123 | T, through RegisterKeyMapping, so it is rebindable in the pause menu like any other action. |
/chat | client | client/cl_main.lua:386 | |
/vipchat | client | client/cl_main.lua:180 |
bs19.org · Privacy · Terms · Cookie settings