🎉 Driving School is released. Read more →
Paid Scripts
License Manager
Events
Server
Create License

createLicense

TriggerServerEvent('LicenseManager:createLicense', target, license, price, creator)

Parameters

ParamsData TypeDescription
targetnumber or stringThe player server id or identifier
licensestringThe license name
pricenumberThe license name
creator (optional)stringCreator 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.