GetStateId


-- @param data table The data to be ckecked. { source = int, framework_identifier= string }
-- @return string: the stateid of the player.
exports.drx_mdt:GetStateId()

Example using source

local function getStateIdBySource()
  local stateid = exports.drx_mdt:GetStateId({ source = 1 })
end

Example using framework identifier

local function getStateIdByFrameworkIdentifier()
  local stateid = exports.drx_mdt:GetStateId({ framework_identifier = 'char1:*******' })
end

Last updated

Was this helpful?