createProfile - Total-RP/Total-RP-3 GitHub Wiki

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)
⚠️ **GitHub.com Fallback** ⚠️