bs_drugs
narkotyki, papierosy, uzależnienie i odstawienie.
Wygenerowano ze źródeł Lua w resources/[beyond]/bs_drugs/. Wpisów: 11. 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_drugs:Name(...) z tej samej strony.
| Nazwa | Strona | Gdzie | Opis |
|---|---|---|---|
BleedoutBonus | server | server/sv_main.lua:78 | |
GetAddiction | server | server/sv_main.lua:84 |
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:drugs:anim | client | net | client/cl_main.lua:112 | |
bs:drugs:apply | client | net | client/cl_main.lua:100 | |
bs:drugs:request | server | net | server/sv_main.lua:152 | |
bs:drugs:state | client | net | client/cl_main.lua:114 | |
bs:drugs:stopSmoking | server | net | server/sv_main.lua:144 | Papieros przerwany wcześniej (sprint/celowanie/obrażenia) - zakończ go też po stronie serwera. |
bs:drugs:use | server | local | server/sv_main.lua:95 | Wywoływane przez callback użycia bs_inventory (tylko serwer, nie zdarzenie net). |
bs:player:loaded | client | net | client/cl_main.lua:135 | |
onResourceStop | client | local | client/cl_fx.lua:120 | |
playerDropped | server | local | server/sv_main.lua:182 |
Komendy
Dział zatytułowany „Komendy”Brak.
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.