Skip to content

createProfile

Ben edited this page Aug 16, 2022 · 1 revision

Creates a new TRP3 profile with the given name.

TRP3_API.profile.createProfile(profileName)

Arguments

  • profileName: The name to use for the new profile.

Returns

  • profile: The newly created TRP3 profile.

Example

Creating a new profile with the name "Ghost"

local myProfileName = "Ghost"
local myProfile = TRP3_API.profile.createProfile(myProfileName)

print(myProfile)
Clone this wiki locally