Kartik Scripts

Teammate Revive

Settings for the Teammate Revive feature.


General

SettingDefaultWhat it does
EnabledtrueTurn teammate revive on
OnlyWithoutEMStrueOnly allow it while no EMS is on duty
EMSJobs{ ambulance = true, ems = true }Jobs that count as EMS (only while on duty)
SameGangOnlytrueOnly revive members of your own gang. false lets any gang member revive any downed player
Cooldown120Seconds before the same player can revive again
MaxDistance2.5Range to the downed player

Item

SettingDefaultWhat it does
Item'firstaid'Item needed to revive. false = no item needed
RemoveItemtrueUse up one item per revive

The item must exist in your inventory's item list. If your server has no firstaid item, use any medical item you already have, for example 'bandage' or 'medikit'.


Revive

SettingDefaultWhat it does
Duration10000Length of the revive in milliseconds
SkillCheckeasy, easy, mediumox_lib skill check before the revive. false = none
Health25Health (in %) the teammate gets up with. false = keep what your ambulance script gives
AnimCPRAnimation played while reviving

Example

Settings.TeamRevive = {
    Enabled = true,
    OnlyWithoutEMS = true,
    EMSJobs = { ambulance = true, ems = true, fire = true },
    SameGangOnly = true,
    Item = 'medikit',
    RemoveItem = true,
    Duration = 15000,
    SkillCheck = false,
    Health = 40,
    Cooldown = 300,
    MaxDistance = 2.5,
    Anim = { dict = 'mini@cpr@char_a@cpr_str', clip = 'cpr_pumpchest' },
}

On this page