Client
useCityTourBoard (inventory fallback)
Used when inventory triggers the client export path (some setups). Starts placement mode for the local player.
-- Registered as:
exports('useCityTourBoard', function(data, slotInfo)
-- starts BoardHandler.StartPlacement(false)
end)Prefer the server export with ox_inventory (server.export = 'cdev_citytour.useCityTourBoard').
Api.IsNearCityTourTable(maxDist?)
Public client helper in public/client/api.lua.
Returns true if the nearest tracked City Tour table is within maxDist (default 5.0).
local near = Api.IsNearCityTourTable(3.5)
-- or from another resource if you expose it via export wrapperLast updated