# Exports

#### Check if player is down:

-> id is an optional parameter. If you want to get another player down status, you can pass the player server id.

```lua
exports['ak47_qb_ambulancejob']:IsPlayerDown(id)
```

#### Check if player is dead:

-> id is an optional parameter. If you want to get another player dead status, you can pass the player server id.

```lua
exports['ak47_qb_ambulancejob']:IsPlayerDead(id)
```

#### Check other player skelly damage:

-> id = target player server id

```lua
exports['ak47_qb_ambulancejob']:OpenSkellyOther(id)
```

#### Get Doctor Count:

```lua
exports['ak47_qb_ambulancejob']:GetDoctorCount()
or
exports['qb-ambulancejob']:GetDoctorCount()
```

Get skelly damages\
-> id = target player server id (optional)

```lua
exports['ak47_qb_ambulancejob']:GetSkellyDamages(id)
--[[
 {
     head  = 10,
     chest = 0,
     larm  = 5,
     rarm  = 0,
     lleg  = 25,
     rleg  = 5,
 }
]]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.menanak47.com/qbcore/ak47_qb_ambulancejob/exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
