bs_chat
la chat, che sostituisce quella standard.
Generato dai sorgenti Lua in resources/[beyond]/bs_chat/. 20 voci. La colonna della descrizione è il commento sopra la riga nel codice, quindi se è vuota nessuno l’ha ancora scritta.
Chiama con exports.bs_chat:Name(...) dallo stesso lato.
| Nome | Lato | Dove | Descrizione |
|---|---|---|---|
ApplyDisplaySettings | client | client/cl_main.lua:275 | |
GetDisplaySettings | client | client/cl_main.lua:271 | Pubblicato per la pagina Impostazioni del menu U. |
GetVipStyles | client | client/cl_main.lua:94 | |
IsOpen | client | client/cl_main.lua:299 | |
SetVipStyles | client | client/cl_main.lua:95 | |
Send | server | server/sv_main.lua:99 | UN MODO LATO SERVER PER DIRE QUALCOSA, per le risorse che altrimenti scriverebbero a mano il TriggerClientEvent. |
Callback
Sezione intitolata “Callback”I callback del server vengono chiamati da un client con BSB.Await(name, timeoutMs, ...). I callback del client vengono chiamati dal server con BSB.AwaitClient(src, name, timeoutMs, ...).
Nessuno.
“net” significa che il gestore è registrato con RegisterNetEvent, quindi l’altro lato può attivarlo. “local” è solo AddEventHandler (stesso lato o eventi di gioco).
| Nome | Lato | Tipo | Dove | Descrizione |
|---|---|---|---|---|
bs:chat:say | server | net | server/sv_main.lua:58 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:195 | |
bs:ui:closed | client | local | client/cl_main.lua:82 | |
bs:ui:opened | client | local | client/cl_main.lua:75 | |
chat:addMessage | client | net | client/cl_main.lua:132 | EVERY MESSAGE APPEARED TWICE. |
chat:addSuggestion | client | net | client/cl_main.lua:164 | |
chat:addTemplate | client | net | client/cl_main.lua:178 | Accettato e ignorato. |
chat:clear | client | net | client/cl_main.lua:135 | |
chat:removeSuggestion | client | net | client/cl_main.lua:174 | |
onResourceStop | client | local | client/cl_main.lua:190 | Il focus NUI viene rilasciato all’arresto della risorsa, incondizionatamente. |
playerDropped | server | local | server/sv_main.lua:94 |
Comandi
Sezione intitolata “Comandi”| Comando | Lato | Dove | Descrizione |
|---|---|---|---|
/bs_chat_open | client | client/cl_main.lua:57 | T, tramite RegisterKeyMapping, quindi è riassegnabile nel menu di pausa come qualsiasi altra azione. |
/chat | client | client/cl_main.lua:243 | |
/vipchat | client | client/cl_main.lua:100 |
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.