RX Scripts Logo
Recyclers

Exports

All client- & serversided exports included within this script. Exports provide callable functions that allow other resources to interact with this script's functionality.
If additional exports are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Exports

No server-sided exports available at this time.

Client Exports

OpenRecycler

Opens a recycler.

exports['RxZ_Recyclers']:OpenRecycler(name, key, coords)
name
string required

Name of the recycler to open. This should match the name defined in the Config.Recyclers table.

key
string | number required

Key of the recycler: can be any string or number value as long as it is unique.

coords
vector3

Coords for saving it server-sided, so coords will be given within certain events triggered.