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: 59ms

DB GetPage 38
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6