Player/AddDeaths

From Garry's Mod
Jump to: navigation, search
 Player:AddDeaths( )

Contents

Description

Add a certain amount to the player's death count

Arguments

number count

number of deaths to add

Examples

Example

Adds 2 deaths to player

Entity( 1 ):AddDeaths( 2 )

Output:

Player1 has 2 extra deaths on the scoreboard relative to his old score.
Personal tools
Navigation