Exports
Server Exports
GiveLumberjackLicense
Gives a lumberjack license to a player.
exports['RxLumberjack']:GiveLumberjackLicense(playerId)
Source of the player that should receive the lumberjack license.
RemoveLumberjackLicense
Removes a lumberjack license from a player.
exports['RxLumberjack']:RemoveLumberjackLicense(playerId)
Source of the player where the lumberjack license should be removed.
AddLumberjackXP
Adds XP to a lumberjack.
exports['RxLumberjack']:AddLumberjackXP(playerId, xp)
Source of the player that should receive XP.
Amount of XP to add to the lumberjack.
GetLumberjackLevel
Gets the current level of a lumberjack.
exports['RxLumberjack']:GetLumberjackLevel(playerId)
Source of the player to get the level from.
GetLumberjackXP
Gets the current XP of a lumberjack.
exports['RxLumberjack']:GetLumberjackXP(playerId)
Source of the player to get the XP from.
GetLumberjackData
Gets the complete lumberjack data object for a player.
exports['RxLumberjack']:GetLumberjackData(playerId)
Source of the player to get the data from.
GetTrailerLogCount
Gets the number of logs on a trailer.
exports['RxLumberjack']:GetTrailerLogCount(trailerNetId)
Network ID of the trailer to check.
GetTrailerLogs
Gets detailed log data from a trailer.
exports['RxLumberjack']:GetTrailerLogs(trailerNetId)
Network ID of the trailer to get logs from.
Client Exports
IsPlayerWearingOutfit
Returns whether the player is currently wearing the lumberjack outfit.
exports['RxLumberjack']:IsPlayerWearingOutfit()
IsPlayerInLumberjackZone
Returns whether the player is in a lumberjack zone and the zone name.
exports['RxLumberjack']:IsPlayerInLumberjackZone()
IsPlayerUsingSawmill
Returns whether the player is currently using a sawmill.
exports['RxLumberjack']:IsPlayerUsingSawmill()
IsInDeliveryZone
Returns whether the player is in a delivery zone.
exports['RxLumberjack']:IsInDeliveryZone()
GetCurrentDeliveryZone
Returns the current delivery zone the player is in.
exports['RxLumberjack']:GetCurrentDeliveryZone()
