bs_gates
bramy na mapie otwierane ręcznie, napędzane natywnym systemem drzwi.
Wygenerowano ze źródeł Lua w resources/[beyond]/bs_gates/. Wpisów: 9. 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_gates:Name(...) z tej samej strony.
Brak.
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_config:changed:bs_gates | server | local | server/sv_main.lua:127 | |
bs_gates:denied | client | net | client/cl_main.lua:244 | |
bs_gates:notify | client | net | client/cl_main.lua:250 | |
bs_gates:push | server | net | server/sv_main.lua:37 | |
bs_gates:resetAll | client | net | client/cl_main.lua:252 | |
onResourceStop | client | local | client/cl_main.lua:257 | oddaj drzwi: nasze są usuwane, drzwi mapy zostają zamknięte i odblokowane |
onResourceStop | server | local | server/sv_main.lua:136 | wyczyść nasze klucze statebag, żeby restart nie zostawił nieaktualnych współczynników |
playerDropped | server | local | server/sv_main.lua:131 |
Komendy
Dział zatytułowany „Komendy”| Komenda | Strona | Gdzie | Opis |
|---|---|---|---|
/gatesreset | server | server/sv_main.lua:115 |
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.