bs_medical
going down, bleeding out, injuries, infection and treatment.
Generated from the Lua sources in resources/[beyond]/bs_medical/. 75 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_medical:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
IsCarrying | client | client/cl_carry.lua:263 | |
IsDowned | client | client/cl_downed.lua:837 | |
TimeLeft | client | client/cl_downed.lua:838 | |
ClearConditions | server | server/sv_conditions.lua:717 | |
Corpses | server | server/sv_corpse.lua:191 | |
Down | server | server/sv_main.lua:768 | |
GetConditions | server | server/sv_conditions.lua:719 | |
Inflict | server | server/sv_conditions.lua:718 | |
InterceptUse | server | server/sv_conditions.lua:671 | Using a medical item from the bag: bs_inventory asks first. |
IsDowned | server | server/sv_main.lua:767 | |
IsSystemOn | server | server/sv_conditions.lua:720 | |
Log | server | server/sv_conditions.lua:721 | |
Revive | server | server/sv_main.lua:779 | The one revive, offered to bs_admin so the staff menu does not need ExecuteCommand. |
SelfRevive | server | server/sv_main.lua:539 | For bs_inventory: the medkit was already consumed by inventory:use. |
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 |
|---|---|---|---|
medical:callHelp | client -> server | server/sv_main.lua:626 | |
medical:carryStart | client -> server | server/sv_main.lua:586 | |
medical:carryStop | client -> server | server/sv_main.lua:615 | |
medical:corpseSearch | client -> server | server/sv_corpse.lua:132 | |
medical:dead | client -> server | server/sv_main.lua:448 | Asked before the twelve second animation, so nobody kneels for nothing. |
medical:doctor | client -> server | server/sv_conditions.lua:698 | |
medical:down | client -> server | server/sv_main.lua:351 | |
medical:examine | client -> server | server/sv_conditions.lua:657 | What the diagram needs. |
medical:executed | client -> server | server/sv_main.lua:558 | Shot/hit by another player while down. |
medical:giveUp | client -> server | server/sv_main.lua:405 | Giving up uses the same death as any other: finish(src, false), the same function the bleedout timer calls (corpse hook, wipe once per numbered death, respawn point, needs,… |
medical:hardDeath | client -> server | server/sv_main.lua:338 | |
medical:options | client -> server | server/sv_main.lua:542 | What the downed HUD may offer: items in the bag and who can pick you up. |
medical:revive | client -> server | server/sv_main.lua:474 | Checked again on completion: distance, item, still down. |
medical:reviveCheck | client -> server | server/sv_main.lua:456 | |
medical:selfRevive | client -> server | server/sv_main.lua:533 | |
medical:stabilise | client -> server | server/sv_main.lua:384 | Bandaging yourself. Once per downing, and it costs the bandage. |
medical:stabiliseOther | client -> server | server/sv_main.lua:423 | Someone else’s bandage. |
medical:treat | client -> server | server/sv_conditions.lua:630 | |
medical:treatCancel | client -> server | server/sv_conditions.lua:599 | |
medical:treatStart | client -> server | server/sv_conditions.lua:591 |
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_medical | server | local | server/sv_conditions.lua:231 | |
bs:hook:player:spawned | server | local | server/sv_conditions.lua:195 | The owner gets their blip back after a relog. |
bs:hook:player:unloaded | client | local | client/cl_carry.lua:229 | The flag is per body, not per session: death, unload or resource restart end an attempt without its code finishing. |
bs:hook:player:unloaded | server | local | server/sv_conditions.lua:206 | |
bs:medical:carry:stop | client | net | client/cl_carry.lua:224 | |
bs:medical:carry:victim | client | net | client/cl_carry.lua:173 | |
bs:medical:corpse:bite | server | net | server/sv_corpse.lua:149 | A walker host reports feeding on a body; the rot is server-held so every client draws the same state. |
bs:medical:corpse:blip | client | net | client/cl_corpse.lua:139 | |
bs:medical:corpse:dress | client | net | client/cl_corpse.lua:27 | |
bs:medical:corpse:gone | client | net | client/cl_corpse.lua:152 | |
bs:medical:corpse:search | client | local | client/cl_corpse.lua:120 | |
bs:medical:corpse:snapshot | client | net | client/cl_corpse.lua:17 | Captured at death before the wipe strips clothes: plain data, no clone ped. |
bs:medical:died | client | net | client/cl_downed.lua:765 | The clock ran out. The server has already moved us and reset our needs. |
bs:medical:dot:carry | client | local | client/cl_carry.lua:259 | |
bs:medical:dot:doctor | client | local | client/cl_conditions.lua:573 | |
bs:medical:dot:drag | client | local | client/cl_carry.lua:256 | |
bs:medical:dot:examine | client | local | client/cl_conditions.lua:166 | |
bs:medical:dot:revive | client | local | client/cl_treat.lua:187 | |
bs:medical:dot:stabilise | client | local | client/cl_treat.lua:194 | |
bs:medical:env | server | net | server/sv_conditions.lua:393 | |
bs:medical:extend | client | net | client/cl_downed.lua:805 | Extra time from someone else’s bandage. |
bs:medical:flatline | client | net | client/cl_downed.lua:795 | Bleedout ran out with the medical system on: the heart stops, the body stays. |
bs:medical:heal | client | net | client/cl_conditions.lua:256 | |
bs:medical:helpPing | client | net | client/cl_downed.lua:820 | Someone downed is asking for help: a flashing blip for a while. |
bs:medical:hurt | client | net | client/cl_conditions.lua:249 | |
bs:medical:injury | server | net | server/sv_conditions.lua:314 | |
bs:medical:nui | client | local | client/cl_conditions.lua:227 | From the Medical tab (relayed by bs_inventory). |
bs:medical:openTab | client | net | client/cl_conditions.lua:162 | |
bs:medical:revived | client | net | client/cl_downed.lua:749 | The one revive, received from any state. |
bs:medical:sicken | server | local | server/sv_conditions.lua:382 | Raw meat, dirty water and the like (fired by bs_crafting and others). |
bs:medical:state | client | net | client/cl_conditions.lua:241 | |
bs:medical:symptom | client | net | client/cl_conditions.lua:263 | |
bs:ui:closed | client | local | client/cl_downed.lua:39 | |
bs:ui:opened | client | local | client/cl_conditions.lua:125 | |
bs:ui:panic | client | local | client/cl_downed.lua:43 | |
bs:zombies:bitten | server | net | server/sv_conditions.lua:357 | |
gameEventTriggered | client | local | client/cl_conditions.lua:436 | Finishing off a downed player (only when Medical.PvP.allowExecution). |
onResourceStop | client | local | client/cl_carry.lua:230 | |
onResourceStop | server | local | server/sv_conditions.lua:210 | |
playerDropped | server | local | server/sv_conditions.lua:209 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/revive | server | server/sv_main.lua:756 |
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.