Skip to content

editProfile

Ben edited this page Aug 16, 2022 · 1 revision

Changes the profile name.

TRP3_API.profile.editProfile(profileID, newName)

Arguments

  • profileID: The ID given to your profile by TRP3.
  • newName: The new name to give your profile.

Example

Changes the name of your current profile to "Ghost"

local currentProfile = TRP3_API.profile.getPlayerCurrentProfileID()
local newName = "Ghost"
TRP3_API.profile.editProfile(currentProfile, newName)
Clone this wiki locally