native

ns_add_energy

Syntax

native Float:ns_add_energy(id, Float:amount);

Description

Adds to the player's energy percentage.

Parameters

id The player to add the energy to.
amount The amount of energy to add to the player.

Return

The new amount of energy the player has (0.0 through 100.0)