Revision Difference
Player:AddFrags#515791
<function name="AddFrags" parent="Player" type="classfunc">
<description>Add a certain amount to the player's frag count (or kills count)</description>
<realm>Server</realm>
<args>
<arg name="count" type="number">number of frags to add</arg>
</args>
</function>
<example>
<description>Adds 2 frags to player⤶
```⤶
</description>⤶
<description>Adds 2 frags to player</description>⤶
<code>Entity( 1 ):AddFrags( 2 )</code>
<output>Player1 has 2 extra frags on the scoreboard relative to his old score.⤶
```⤶
</output>⤶
<output>Player1 has 2 extra frags on the scoreboard relative to his old score.</output>⤶
</example>