Progetto H — API Reference API & Scripting Documentation
Function Server Fast

Damageable:SetHealth

Sets the Health of this Entity. You can only call it on alive Entities (call Respawn first)

Syntax

Lua
my_damageable:SetHealth(new_health)

Parameters

Name Type Default Description
new_health integer