YehonataNNDev / EthicalPixel-Admin

EthicalPixel Admin menu
51 stars 30 forks source link

With default QBCore #2

Open ghost opened 1 year ago

ghost commented 1 year ago

image

Soldierofthelam commented 1 year ago

Same issues and no commands to open menu

KlovnDEV commented 1 year ago

the project is 5 months old? and not updated since 5 months ago? what do you expect?

Soldierofthelam commented 1 year ago

the project is 5 months old? and not updated since 5 months ago? what do you expect?

the script is based off the new qbcore and is setup to read old and new sql files with a wrapper , Should run as is. but sadly not

Config = {}

Config['General'] = { ["Core"] = "QBCORE", -- This can be ESX , QBCORE , NPBASE ["SQLWrapper"] = "oxmysql", -- This can be `| oxmysql or ghmattimysql or mysql-async }

Config['CoreSettings'] = { ["QBCORE"] = { ["Version"] = "new", -- new = using export | old = using events --["Export"] = exports['qb-core']:GetCoreObject(), -- uncomment this if using new qbcore version ["Trigger"] = "QBCore:GetObject", ["HasItem"] = "QBCore:HasItem", -- Imporant [ Your trigger for checking has item, default is CORENAME:HasItem ] ["ServerNotificationEvent"] = "QBCore:Notify",

}, 

}

to get it to properly work in new qbore uncomment this line

change "old" to "new"

uncomment in visual studio --["Export"] = exports['qb-core']:GetCoreObject(), -- uncomment this if using new qbcore version

KlovnDEV commented 1 year ago

Have you tried one of the 3 last commits . mby one of the 2 others comit after the new qb implemention was added?

Soldierofthelam commented 1 year ago

Also they never added all the exports for full functionality so it will never fully work unless you write the tables yourself or wait for them to update the sql exports