AddHealth

From The KillerJim Mod Wiki

PlayerProxy::AddHealth

AddHealth.png

Server Only Function - This is an function executes only on the server.

Description

This function allows you to add to the player health. Players have both armor and health and during any impacts the armor is depleted first before health is taken - (see How damage is applied for information on how).

If you supply a negative value the health level will be reduced, if health goes below zero the player is automatically killed.

Arguments
1 Float Health
The value to add to the health, this can be negative.

Playing

Developers

Developer Reference