# Exports



## Client

```lua
-- Will reset the player's bleed level to 0.
exports.randol_medical:ClearBleeding()

-- Will clear all player's injuries viewable with /checkinj
exports.randol_medical:ClearInjuries()

-- Will kill the player.
exports.randol_medical:KillPlayer()

-- Pass through a number between 0-100 and it will set the player's bleed level.
exports.randol_medical:SetBleeding(number)

-- Return true or false on whether the player is in a hospital bed.
exports.randol_medical:InHospitalBed()

-- Self explanatory
exports.randol_medical:RevivePlayer()

-- An export if you wish to call the local medic from another script.
exports.randol_medical:CallLocalMedic()


-- Used to set a jail state when entering/exiting prison. YOU MUST ADAPT THIS YOURSELF.
exports.randol_medical:SetJailState(bool) -- set true when entering prison, set false when exiting.
```

### Server

These handle compatability for the qbx\_medical exports.

```lua
-- Self explanatory. Must pass player object or server id number through.
exports.randol_medical:Revive(player)

-- Self explanatory. Must pass player object or server id number through.
exports.randol_medical:Heal(player)

-- Will reset the player's bleed level to 0. Must pass player object or server id number through.
exports.randol_medical:ClearBleeding(player)

-- Will clear all player's injuries viewable with /checkinj. Must pass player object or server id number through.
exports.randol_medical:ClearInjuries(player)

-- Pass through a number between 0-100 and it will set the player's bleed level. Must pass player object or server id number through.
exports.randol_medical:SetBleeding(player, number)

-- Will kill the player. Must pass player object or serverid number through.
exports.randol_medical:KillPlayer(player)

-- Used to set a jail state when entering/exiting prison. YOU MUST ADAPT THIS YOURSELF.
exports.randol_medical:SetJailState(src, bool) -- set true when entering prison, set false when exiting.
```
