team.TotalDeaths

From Garry's Mod
Jump to: navigation, search
 team.TotalDeaths( )

Contents

Description

Returns the sum of deaths of all players of the team.

Arguments

number teamIndex

The team index.

Returns

number

deathCount

Examples

Example

Get's the total deaths in a team.

print(team.TotalDeaths(ply:Team()),team.TotalDeaths(1))

Output:

2
Personal tools
Navigation