RX Scripts Logo
Mining

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

GiveMiningLicense

Gives a mining license to a player.

exports['RxMining']:GiveMiningLicense(playerId)
playerId
number required

Source of the player that should receive the mining license.

RemoveMiningLicense

Removes a mining license from a player.

exports['RxMining']:RemoveMiningLicense(playerId)
playerId
number required

Source of the player where the mining license should be removed.

Client Exports

No client-sided exports available at this time.