Revision Difference
Player:Nick#565585
<function name="Nick" parent="Player" type="classfunc">
<description>Returns the player's name. Identical to <page>Player:Name</page> and <page>Player:GetName</page>.</description>
<description>Returns the player's nick name also known as display name, as it appears in Steam.</description>
<realm>Shared</realm>
<rets>
<ret name="" type="string">Player's name</ret>
<ret name="" type="string">Player's nick name</ret>
</rets>
</function>
<example>
<description>Prints the players name in console.</description>
<code>print( Entity( 1 ):Name() )</code>
<output>Player1</output>
</example>
Garry's Mod
Rust
Steamworks
Wiki Help