> For the complete documentation index, see [llms.txt](https://adminpluss-development.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adminpluss-development.gitbook.io/docs/free-scripts/med-system.md).

# Med System

(fork of phpadmin1)

{% hint style="info" %}
This script allows you to do /med (playerID) with the required job that will display the users blood, pulse, hurt area & also if their bleeding.

<img src="https://i.gyazo.com/3c8340489ceab447d05b8b9fae42594a.png" alt="" data-size="original">
{% endhint %}

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FCy3y3Gv3t8FZT4Pa6RRc%2Ffeatures.png?alt=media&amp;token=0477a285-417f-4ada-8bee-4413fec70123" alt=""><figcaption></figcaption></figure>

* <mark style="color:orange;">Configurable timer to display the hud.</mark>
* <mark style="color:orange;">Configurable text to display to the entire server if x Player is dead.</mark>
* <mark style="color:orange;">Configurable jobs to allow access to use the command.</mark>

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FKolaTzag0myC87a8DXZz%2Finstall.png?alt=media&amp;token=3165a02a-6af8-42f2-b619-3388fb5bc51d" alt=""><figcaption></figcaption></figure>

* This resource is drag/drop. You will just need to add the following inside of your server.cfg after you've dropped the file into your resources.

> <mark style="color:orange;">ensure adminplus-med</mark>

{% hint style="warning" %}
Feel free to check the config.lua & customize what jobs have access.
{% endhint %}

```
Config = {}


Config.Declared = 'Declared Dead. Please Respawn!' -- This Msg appeared when the player died using /med [id] to display blood = 0 - 5% and Hurt area is Head

Config.Timer = 8   -- Timer to Remove Med Display after using MedSystem

Config.job = {

		names = {
		ambulance = true, 
		police =  true, 
		mechanic = false
			--ambulance = true,             
			--police = false,  --SET This to false so Police job cant use /med commands
			--mechanic = true,  --SET This to false so mech job cant use /med commands
			--unemployed = false, --Default to False so unemployed Player cant use /med
		}
	
}
```

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2FzUBw2K8iJtQN1PmrvtyY%2Fchangelog.png?alt=media&amp;token=a35ca929-89e9-4d76-a7e1-5967797b7a25" alt=""><figcaption></figcaption></figure>

```markup
V 1.0.0
```

* Original Release

```
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
```

<figure><img src="https://4274191150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcaPZpEbITNtKQaqEE6V%2Fuploads%2Fx3KlZIcVpHh8ahoDrSBp%2Fgithub.png?alt=media&amp;token=7aa02695-07aa-497e-abf1-7ef8657215e5" alt=""><figcaption></figcaption></figure>

{% @github-files/github-code-block url="<https://github.com/itsAdminPlus/adminplus-anticollision>" %}
