Documentation › Hunting System › Integrations › Exports
Server and client exports for other resources.
| Export | Returns |
|---|---|
HasHuntingLicense(src) |
true / false |
GetHuntingLicense(src) |
{ valid, expiresAt, provider } |
GiveHuntingLicense(src, days) |
expiresAt (0 = permanent) or nil |
RevokeHuntingLicense(src) |
true / false |
GetHunterLevel(src) |
level 1 – 25 |
IsLegendaryActive() |
true while a legend roams |
local lic = exports.smilescripts_hunting:GetHuntingLicense(source)
if lic.valid then
print(lic.expiresAt > 0 and os.date('%d.%m.%Y', lic.expiresAt) or 'permanent')
end| Export | Does |
|---|---|
OpenHuntingTablet(tab) |
Opens the remote tablet on a tab |
CloseHuntingTablet() |
Closes the tablet |