bs_economy
vendors, loot tables and gathering.
Generated from the Lua sources in resources/[beyond]/bs_economy/. 7 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_economy:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
GetLootTable | server | server/sv_main.lua:6 | Read-only access to a loot table, for bs_interactions’ container rolls. |
RollLoot | server | server/sv_main.lua:9 | Rolls a table server-side and returns the resulting item list. |
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, ...).
| Name | Direction | Where | Description |
|---|---|---|---|
atm:crack | client -> server | server/sv_atm.lua:78 |
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:atm:blast | client | net | client/cl_atm.lua:50 | |
bs:hook:core:ready | client | local | client/cl_main.lua:12 | |
explosionEvent | server | local | server/sv_atm.lua:50 | |
playerDropped | server | local | server/sv_atm.lua:65 |
Commands
Section titled “Commands”None.
bs19.org · Privacy · Terms · Cookie settings