Lua LifeTimeKills

Description

Modifies the number of lifetime honorable kills for a player.

LifeTimeKills(int kills, string check) -- is a player-only method.
Value Description
“add” Adds the specified number of kills to the player’s current total.
“del” Removes the specified number of kills from the player’s current total.
“set” Sets the player’s total kills to the specified number, regardless of the previous total.

Usage/Example

To add 500 kills to a player’s honorable kill count:

player:LifeTimeKills(500, "add")

To remove 1337 kills from a player’s honorable kill count:

player:LifeTimeKills(1337, "del")

To set a player’s honorable kill count to 5318008:

player:LifeTimeKills(5318008, "set")