Garry's Mod Wiki

Revision Difference

Player:SetDeaths#512471

<function name="SetDeaths" parent="Player" type="classfunc">⤶ <description>Sets a player's death count</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="deathcount" type="number">Number of deaths (positive or negative)</arg>⤶ </args>⤶ </function>⤶ ⤶ <example>⤶ <description>⤶ Sets the deaths of player 1 to 5⤶ ```⤶ ⤶ | Code = player.GetByID( 1 ):SetDeaths( 5 )⤶ | Output = None⤶ ```⤶ ⤶ </description>⤶ ⤶ </example>