Skip to content

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.

Call with exports.bs_economy:Name(...) from the same side.

NameSideWhereDescription
GetLootTableserverserver/sv_main.lua:6Read-only access to a loot table, for bs_interactions’ container rolls.
RollLootserverserver/sv_main.lua:9Rolls a table server-side and returns the resulting item list.

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, ...).

NameDirectionWhereDescription
atm:crackclient -> serverserver/sv_atm.lua:78

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs:atm:blastclientnetclient/cl_atm.lua:50
bs:hook:core:readyclientlocalclient/cl_main.lua:12
explosionEventserverlocalserver/sv_atm.lua:50
playerDroppedserverlocalserver/sv_atm.lua:65

None.