Garry's Mod Wiki

Revision Difference

Player:Frags#528485

<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 users frags in console.</description> <code>print( Entity( 1 ):Frags() )</code> <outputfixedwidth>Fixed width</outputfixedwidth>⤶ <output>0</output>⤶ <output>`0`</output>⤶ </example>