DarkRP.Player.SetRPName
From GMod Wiki
This page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here. Reason for deletion: Not what Garry wants the wiki to be used for Last Edit was made on 11/16/2011 |
Gamemode Function: DarkRP.Player.SetRPName | |
---|---|
DarkRP.Player.SetRPName is a function that is defined in the DarkRP Gamemode and its derivatives. |
Function | |
Syntax |
Player:SetRPName( String name, Boolean firstRun ) Where is this used? |
Description: | |
Set's the players role-playing name. | |
Returns: | nil |
Part of Library: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DarkRP.Player.SetRPName]DarkRP.Player.SetRPName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Set's the player's RP name. |
---|---|
Used on | |
Code | function CallMingebag( ply ) ply:SetRPName( "Mingebag", false ) end |
Output | N/A |
Additional Notes
- Changing firstRun to true will make sure that when the name is duplicate, it will put a "1" after it instead of saying you can't change your RP name.
- The role-playing name is saved when set using this command.