Garry's Mod Wiki

Player:AddDeaths

  Player:AddDeaths( number count )

Description

Add a certain amount to the player's death count

Arguments

1 number count
number of deaths to add

Example

Adds 2 deaths to player

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