Downtown Chronicles
CoreCharactersServer

getCharacter

exports['dc_characters']:getCharacter — one character if owned by user.

local char = exports['dc_characters']:getCharacter(source, dataId)
Parameterssourcenumber; dataIdnumber (must exist for user via doesDataIdExistForUser)
Returnstable? — character or nil
local char = exports['dc_characters']:getCharacter(source, tonumber(slotId))