Garry's Mod Wiki

Revision Difference

Player:Nick#528166

<function name="Nick" parent="Player" type="classfunc"> <description>Returns the player's nickname.</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>⤶ </rets> </function> <example> <description>Prints the player's nickname</description> <code>print( Entity( 1 ):Nick() )</code> <output>Player1</output> </example>