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:44

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:10The hook payload is a serialised copy across resources (fields only, no methods).
bs:hook:player:moneyserverlocalserver/sv_main.lua:29
bs:hook:player:unloadedserverlocalserver/sv_main.lua:21
bsesx:useItem:sharedlocalshared/sh_esx.lua:188
esx:onPlayerLogoutclientnetclient/cl_main.lua:8
esx:playerLoadedclientnetclient/cl_main.lua:3
esx:setAccountMoneyclientnetclient/cl_main.lua:13

None.