Garry's Mod Wiki

Revision Difference

Player:SetDeaths#527153

<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</description> <code>player.GetByID( 1 ):SetDeaths( 5 )</code> <code>Entity( 1 ):SetDeaths( 5 )</code> <output>None</output> </example>