Revision Difference
team.GetScore#515924
<function name="GetScore" parent="team" type="libraryfunc">
<description>Returns the score of the team.</description>
<realm>Shared</realm>
<args>
<arg name="teamIndex" type="number">The team index.</arg>
</args>
<rets>
<ret name="" type="number">score</ret>
</rets>
</function>
⤶
<example>⤶
<description>Get's the teams score, can be a number 1 or 2 depending on how many teams you've set up.</description>⤶
<code>print(team.GetScore(ply:Team()),team.GetScore(1))</code>⤶
<output>1</output>⤶
⤶
</example>⤶
{{Example⤶
| Description = Get's the teams score, can be a number 1 or 2 depending on how many teams you've set up.⤶
| Code = print(team.GetScore(ply:Team()),team.GetScore(1))⤶
| Output = 1⤶
}}