createLicense
TriggerServerEvent('LicenseManager:createLicense', target, license, price, creator)
Parameters​
Params | Data Type | Description |
---|---|---|
target | number or string | The player server id or identifier |
license | string | The license name |
price | number | The license name |
creator (optional) | string | Creator to be recorded in the license_history table |
This event is similar to addLicense, it has additional parameters. This event will create a license for a specific target made by the player who triggered the event.