getTerritory

Returns the defined territory and corresponding database data given a territory index.

-- ARGUMENTS
-- id: number

-- RETURNS
-- territory:   table
-- dbData:      table


local targetIndex = 1
local territory,dbData = exports.ti_territories:getTerritory(targetIndex)

print(
  territory.label,
  dbData.reputation
)

Last updated