Garry's Mod Wiki

Player:AddDeaths

  Player:AddDeaths( number count )

Description

Adds the provided amount to the player's death count.

Arguments

1 number count
The amount to add to the death count.

Example

Adds 2 deaths to player

Entity( 1 ):AddDeaths( 2 )
Output: Player1 has 2 extra deaths on the scoreboard relative to their old score.