createLicense
TriggerServerEvent('LicenseManager:server:CreateLicense', manager, target, license, price, creator)Parameters
| Params | Data Type | Description |
|---|---|---|
| manager | string | The player server id or identifier |
| 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 Add License, it has additional parameters. This event will create a license for a specific target made by the player who triggered the event.
Last updated on