Перейти к содержанию

SetPlayerName

Материал из RAGE MP Wiki Archive

Sets player name.


void NAPI.Player.SetPlayerName(Player player, string text);

Parameters

  • player: parameter input should be in Player type
  • text: parameter input should be in string type

Example

<syntaxhighlight lang="csharp"> NAPI.Player.SetPlayerName(player, "BeastPlayerXYZ"); </syntaxhighlight>