Revision Difference
Player:Frags#548595
<function name="Frags" parent="Player" type="classfunc">
<description>Returns the amount of kills a player has.</description>⤶
<description>⤶
Returns the amount of frags a player has.⤶
⤶
<note>The value will change depending on the kill or death of the player: +1 for kill, -1 for death. </note>⤶
</description>⤶
⤶
⤶
<realm>Shared</realm>
<rets>
<ret name="" type="number">kills</ret>⤶
<ret name="" type="number">frags</ret>⤶
</rets>
</function>
<example>
<description>Prints the users frags in console.</description>
<code>print( Entity( 1 ):Frags() )</code>
⤶
<code>print( Entity( 1 ):Frags() )</code>
<output>`0`</output>
</example>