Garry's Mod Wiki

Revision Difference

Player:SetFrags#512444

<function name="SetFrags" parent="Player" type="classfunc">⤶ <description>Sets a player's frags (kills)</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="fragcount" type="number">Number of frags (positive or negative)</arg>⤶ </args>⤶ </function>⤶ ⤶ <example>⤶ <description>Sets the frags of player 1 to 9001</description>⤶ <code>player.GetByID( 1 ):SetFrags( 9001 )</code>⤶ ⤶ </example>