RX Scripts Logo
Hunting

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

GiveHuntingLicense

Gives a hunting license to a player.

exports['RxHunting']:GiveHuntingLicense(playerId)
playerId
number required

Source of the player that should receive the hunting license.

RemoveHuntingLicense

Removes a hunting license from a player.

exports['RxHunting']:RemoveHuntingLicense(playerId)
playerId
number required

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

GetHunterLevel

Returns hunter level from a player.

exports['RxHunting']:GetHunterLevel(playerId)
playerId
number required

Source of the player to get the hunter level from.

GetHunterXp

Returns hunter xp from a player.

exports['RxHunting']:GetHunterXp(playerId)
playerId
number required

Source of the player to get the hunter xp from.

Client Exports

No client-sided exports available at this time.