Skip to content

bs_esx_bridge

Compatibility shim - lets ESX-authored scripts run against BeyondSurvival.

Generated from the Lua sources in resources/[beyond]/bs_esx_bridge/. 8 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_esx_bridge:Name(...) from the same side.

NameSideWhereDescription
getSharedObjectserverserver/sv_main.lua:59

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.

“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:hook:player:loadedserverlocalserver/sv_main.lua:25bs_core’s own hook payload is a SERIALISED COPY once it crosses into another resource (see bs_inventory’s note on the exact same thing) - it carries fields, not methods, which…
bs:hook:player:moneyserverlocalserver/sv_main.lua:44
bs:hook:player:unloadedserverlocalserver/sv_main.lua:36
bsesx:useItem:sharedlocalshared/sh_esx.lua:253
esx:onPlayerLogoutclientnetclient/cl_main.lua:13
esx:playerLoadedclientnetclient/cl_main.lua:8
esx:setAccountMoneyclientnetclient/cl_main.lua:18

None.