-
Notifications
You must be signed in to change notification settings - Fork 18
profileRelation
Ben edited this page Aug 16, 2022
·
1 revision
This section holds information about your relationship with other characters
["profileID"] = "RELATIONSHIP_LEVEL
-
profileID
: ID of the profile you hold the relationship with, or a player name if the player is using an addon other than TotalRP3 -
relationship_level
: The level of the relationship, possible values are "UNFRIENDLY", "NONE", "NEUTRAL", "BUSINESS", "FRIEND, "LOVE", "FAMILY"
path
: "relation"
local relationData = TRP3_API.profile.getData("relation")
local relationshipOne = relationData["profileIDHere"]