Skip to main content

RevokeLicense

This exports is used to revoke a player/target license

exports.bcs_licensemanager:RevokeLicense(target, license, src, data)

Parameters​

ParamsData TypeDescription
ownerstringThe player identifier
licensestringThe license name
srcnumberThe player id of the revoker
data (optional)objectThe license data object

Example​

exports.bcs_licensemanager:RevokeLicense(target, 'weapon', source)