Revision Difference
Player:Name#528167
<function name="Name" parent="Player" type="classfunc">
<description>Returns the players name. Identical to <page>Player:Nick</page> and <page>Player:GetName</page>.</description>
<realm>Shared</realm>
<rets>
<ret name="" type="string">Player's Steam name.⤶
⤶
<bug issue="3178">This is limited to 31 characters even though Steam names can have 32.</bug></ret>⤶
<ret name="" type="string">Player's Steam name.</ret>⤶
</rets>
</function>
<example>
<description>Prints the players name in console.</description>
<code>print( Entity( 1 ):Name() )</code>
<output>Player1</output>
</example>