Garry's Mod Wiki

team.TotalDeaths

team.TotalDeaths

  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

Special Pages


Wikis

?

Render Time: 56ms

DB GetPage 32
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 9