Skip to main content

revokeLicense

Client

TriggerServerEvent('LicenseManager:revokeLicense', owner, license, data)

Parameters​

ParamsData TypeDescription
ownerstringThe player identifier
licensestringThe license name
data (optional)objectThe license data object

Alternatively we can still use default esx_license:removeLicense.

TriggerServerEvent('esx_license:removeLicense', target, license, src)

Parameters​

ParamsData TypeDescription
ownerstringThe player identifier
licensestringThe license name
src (optional)numberThe player server id

The target needs to be the target player's server id. The license is the license type, must exist in config/licenses.lua.