getInsideTerritory

Returns the current territory ID (if any) that the client player is standing in.

-- ARGUMENTS
-- nil

-- RETURNS
-- id: number

RegisterCommand("getTerritory",function()
  print( exports.ti_territories:getInsideTerritory() )
end)

Last updated