Garry's Mod Wiki

Garry's Mod Wiki

  number team.TotalDeaths( number index )

Description

Returns the total number of deaths of all players in the team.

Arguments

1 number index
The team index.

Returns

1 number
Total deaths in team.

Example

Outputs the name and total deaths of all existing teams.

for k, v in ipairs( team.GetAllTeams() ) do print( v.Name, team.TotalDeaths( k ) ) end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...