Revision Difference
team.TotalDeaths#515922
<function name="TotalDeaths" parent="team" type="libraryfunc">
	<description>Returns the sum of deaths of all players of the team.</description>
	<realm>Shared</realm>
	<args>
		<arg name="teamIndex" type="number">The team index.</arg>
	</args>
	<rets>
		<ret name="" type="number">deathCount</ret>
	</rets>
</function>
⤶
<example>⤶
	<description>Get's the total deaths in a team.</description>⤶
	<code>print(team.TotalDeaths(ply:Team()),team.TotalDeaths(1))</code>⤶
	<output>2</output>⤶
⤶
</example>⤶
{{Example⤶
| Description = Get's the total deaths in a team.⤶
| Code = print(team.TotalDeaths(ply:Team()),team.TotalDeaths(1))⤶
| Output = 2⤶
}}
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help