âšī¸Exports
HasLicense
Export:
HasLicense(identifier, licenseName)
Description: Check if a player have a specific license.
Usage:
local hasLicense = exports["m-AirplaneJob"]:HasLicense(identifier, licenseName)
if hasLicense then
print("The player only has the license: " .. licenseName)
else
print("The player does NOT have this license or any other license besides it.")
end
GiveLicense
Export:
GiveLicense(identifier, licenseName)
Description: Give license to a player.
Usage:
exports["m-AirplaneJob"]:GiveLicense(identifier, licenseName)
RemoveLicense
Export:
RemoveLicense(identifier, licenseName)
Description: Remove a license from player.
Usage:
exports["m-AirplaneJob"]:RemoveLicense(identifier, licenseName)
Last updated