-
Notifications
You must be signed in to change notification settings - Fork 18
isProfileNameAvailable
Ben edited this page Aug 16, 2022
·
1 revision
Returns whether or not a selected profile name is available
TRP3_API.profile.isProfileNameAvailable(profileName)
-
profileName
: The profile name set by the user in TRP3
-
availability
: Will returntrue
if available, elsefalse
, along with the ID of the conflicting profile.
Checking if the profile name is used already
local profileName = "Ghost"
local isAvailable = TRP3_API.profile.isProfileNameAvailable(profileName)
print(isAvailable)