bs_chat
czat zastępujący standardowy.
Wygenerowano ze źródeł Lua w resources/[beyond]/bs_chat/. Wpisów: 20. Kolumna opisu to komentarz nad linią w kodzie, więc jeśli jest pusta, nikt jeszcze go nie napisał.
Eksporty
Dział zatytułowany „Eksporty”Wywołuj przez exports.bs_chat:Name(...) z tej samej strony.
| Nazwa | Strona | Gdzie | Opis |
|---|---|---|---|
ApplyDisplaySettings | client | client/cl_main.lua:275 | |
GetDisplaySettings | client | client/cl_main.lua:271 | Publikowane dla strony ustawień 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 | SERWEROWY SPOSÓB, ŻEBY COŚ POWIEDZIEĆ, dla zasobów, które inaczej pisałyby TriggerClientEvent ręcznie. |
Callbacki
Dział zatytułowany „Callbacki”Callbacki serwera są wywoływane z klienta przez BSB.Await(name, timeoutMs, ...). Callbacki klienta są wywoływane z serwera przez BSB.AwaitClient(src, name, timeoutMs, ...).
Brak.
Zdarzenia
Dział zatytułowany „Zdarzenia”„net” oznacza, że handler jest zarejestrowany przez RegisterNetEvent, więc druga strona może go wywołać. „local” to tylko AddEventHandler (ta sama strona lub zdarzenia gry).
| Nazwa | Strona | Typ | Gdzie | Opis |
|---|---|---|---|---|
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 | Przyjmowane i ignorowane. |
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 | Fokus NUI jest bezwarunkowo zwalniany przy zatrzymaniu zasobu. |
playerDropped | server | local | server/sv_main.lua:94 |
Komendy
Dział zatytułowany „Komendy”| Komenda | Strona | Gdzie | Opis |
|---|---|---|---|
/bs_chat_open | client | client/cl_main.lua:57 | T, przez RegisterKeyMapping, więc można go przypisać w menu pauzy jak każdą inną akcję. |
/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.