bs_gates
map gates you push open by hand, driven by the native door system.
Generated from the Lua sources in resources/[beyond]/bs_gates/. 9 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_gates:Name(...) from the same side.
None.
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_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 | hand the doors back: ours are removed, the map’s own are left shut and unlocked |
onResourceStop | server | local | server/sv_main.lua:136 | clear our statebag keys so a restart does not leave stale ratios behind |
playerDropped | server | local | server/sv_main.lua:131 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/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.