Using fvm
fvm install --save --folder=esx esx-framework/esx_license
cd resources
git clone https://github.com/esx-framework/esx_license [esx]/esx_license
- Download https://github.com/esx-framework/esx_license/archive/master.zip
- Put it in the
[esx]
directory
- Import
esx_license.sql
in your database - Add this to your
server.cfg
:
start esx_license
'esx_license:addLicense', function(target, type, cb)
'esx_license:removeLicense', function(target, type, cb)
'esx_license:getLicense', function(source, cb, type)
(callback)'esx_license:getLicenses', function(source, cb, target)
(callback)'esx_license:checkLicense', function(source, cb, target, type)
(callback)'esx_license:getLicensesList', function(source, cb)
(callback)