Registers the operator command /PlySetHealth (aliases /PlyHealth, /Health, /SetHealth), which sets the target player's health.

Summary

Methods

Sets the target player's health; arguments are the player name and the health value.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_plysethealth.lua:14

Sets the target player's health; arguments are the player name and the health value.

The health is rounded down and must be at least 1.

Parameters

  • player
  • arguments

Defined in