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.
getClosestTape
Finds the closest tape to specified coords.
local closestTape = exports.div_tape:getClosestTape(coords)| Argument | Type | Description |
|---|---|---|
coords | vector3 | The radius in which to delete tapes and cones. |
| Returned Data | Type | Description |
|---|---|---|
tapeId | number | The tapeId of the closest tape if found. |
deleteTape
Deletes a tape if valid tapeId is specified.
exports.div_tape:deleteTape(tapeId)| Argument | Type | Description |
|---|---|---|
tapeId | number | A unique ID of each placed tape. |
Was this page helpful?
Client Exports
This section lists all available exports, detailing each function's purpose, arguments, and return values to help you integrate with the resource effectively.
Client Events
This section lists all available events, detailing each events's purpose, arguments, and return values to help you integrate with the resource effectively.