RevokeLicense
This exports is used to revoke a player/target license
exports.bcs_licensemanager:RevokeLicense(target, license, src, data)
Parameters
Params | Data Type | Description |
---|---|---|
owner | string | The player identifier |
license | string | The license name |
src | number | The player id of the revoker |
data (optional) | object | The license data object |
Example
exports.bcs_licensemanager:RevokeLicense(target, 'weapon', source)