getData - Total-RP/Total-RP-3 GitHub Wiki
Returns specific data about the currently active TRP profile.
TRP3_API.profile.getData(fieldPath, profileRef)-
fieldPath: Path to the desired data within the TRP profile, see Profile Structure. -
profileRef: [Optional] profileID or profileName | Uses getPlayerCurrentProfile if no profileRef is defined.
-
data: A reference to the requested data.
You can use this method to get the "currently" section of your profile. To better understand the path variable, see Profile Structure.
local path = "player/character"
local currently = TRP3_API.profile.getData(path).CU
print(currently)