Medical

A system for medical/health dynamic systems.

Functions

Player:Bleeding()

View source »

Returns if the player is currently bleeding.

Returns

  • bool

    Is the player bleeding.

Player:BreakLegs()

View source »

Breaks the players legs.

Player:FixLegs()

View source »

Fixes the players legs.

Player:GetInfection()

Deprecated

This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..

View source »

Alias of Player:GetSyncVar(SYNC_INFECTION). This is deprecated because I am upset with how I wrote the system. I can do way better.

Returns

  • int

    SYNC_INFECTION.

Player:GetInfectionStage()

Deprecated

This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..

View source »

Returns the sync stage of the infection. Deprecated cuz bad code.

Returns

  • int

    SYNCINFECTIONSTAGE

Player:GiveInfection(id, stage)

View source »

Gives the player an infection.

Parameters

  • id int

    Infection ID.

  • stage int optional

    Infection Stage.

Player:HasBrokenLegs()

View source »

Does the player have broken legs?

Returns

  • bool

    Has broken legs

Player:StopBleeding()

View source »

Stops bleeding.