DIVERSITY

Documentation

Exports

Server Exports

This section lists all available exports, detailing each function's purpose, arguments, and return values to help you integrate with the resource effectively.

General

getClosestTape

Finds the closest tape to specified coords.

Arguments

PropTypeDefault
coords
vector3
-

Returned Data

PropTypeDefault
tapeId
number
-

Example Usage

local closestTape = exports.div_tape:getClosestTape(vector3(0, 0, 0))

deleteTape

Deletes a tape if valid tapeId is specified.

Arguments

PropTypeDefault
tapeId
number
-

Example Usage

exports.div_tape:deleteTape()