Garry's Mod Wiki

Revision Difference

Player:Frags#512600

<function name="Frags" parent="Player" type="classfunc">⤶ <description>Returns the amount of kills a player has.</description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="number">kills</ret>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <description>Prints the players frags in console.</description>⤶ <code>print(Entity( 1 ):Frags())</code>⤶ <outputfixedwidth>Fixed width</outputfixedwidth>⤶ <output>0</output>⤶ ⤶ </example>