Skip to main content

HasEffect

Returns true or false indicating if the player has the provided effect.

Syntax

HasEffect @player effect

Returns

bool value

Arguments

NameRequiredTypeDescription
playerYesPlayer value e.g. @player, with EXACTLY 1 player.
effectYesOne of the following effects:
> AmnesiaItems
> AmnesiaVision
> AnomalousRegeneration
> AnomalousTarget
> Asphyxiated
> Bleeding
> Blindness
> Blurred
> BodyshotReduction
> Burned
> CardiacArrest
> AntiScp207
> Scp207
> Concussed
> Corroding
> DamageReduction
> Deafened
> Decontaminating
> Disabled
> Ensnared
> Exhausted
> Fade
> Flashed
> FocusedVision
> FogControl
> Ghostly
> HeavyFooted
> Hemorrhage
> InsufficientLighting
> Invigorated
> Invisible
> Lightweight
> MovementBoost
> NightVision
> PitDeath
> PocketCorroding
> Poisoned
> RainbowTaste
> Scanned
> Scp1344
> Scp1344Detected
> Scp1509Resurrected
> Scp1576
> Scp1853
> SeveredEyes
> SeveredHands
> SilentWalk
> Sinkhole
> Slowness
> SoundtrackMute
> SpawnProtected
> Stained
> Strangled
> Traumatized
> Vitality
> Hypothermia

On a running server

Use serhelp HasEffect to inspect the reference generated by your installed SER version.