diff --git a/Readme.md b/Readme.md index 199fd58..8965632 100644 --- a/Readme.md +++ b/Readme.md @@ -23,7 +23,7 @@ ox_target - https://github.com/overextended/ox_target ## Add the following to your server.cfg ``` -ensure qbx-burgershot +ensure qbx_burgershot ``` ## Insert into @qbx_smallresources --> server --> consumables.lua @@ -360,7 +360,7 @@ Add the pictures of the image folder to ox_inventory/web/images ``` Optionnal: -If you want to make the raw meat a eat-able thing i guess :) (thanks to PrinceAlbert (discord @noornahas)) +If you want to make the raw meat a eat-able thing i guess :) (thanks to PrinceAlbert) ``` ['rawmeat'] = { label = 'Steak Cru', diff --git a/fxmanifest.lua b/fxmanifest.lua index 9aed382..449d2c7 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -3,23 +3,22 @@ game 'gta5' author 'Tonybyn_Mp4' description 'Burgershot Job for the Qbox framework' -version '1.1.2' +repository 'https://github.com/TonybynMp4/qbx_burgershot' +version '1.2.0' shared_scripts { '@qbx_core/shared/locale.lua', - '@qbx_core/import.lua', '@ox_lib/init.lua', 'config.lua', 'locales/en.lua', 'locales/*.lua' } -modules { - 'qbx_core:client:playerdata' +client_scripts { + '@qbx_core/modules/playerdata.lua', + 'client/main.lua' } -client_script 'client/main.lua' - server_scripts { '@oxmysql/lib/MySQL.lua', 'server/main.lua' diff --git a/server/main.lua b/server/main.lua index 68e7e3e..93a5a8d 100644 --- a/server/main.lua +++ b/server/main.lua @@ -1,3 +1,5 @@ +lib.versionCheck('TonybynMp4/qbx_burgershot') + local function hasIngredients(source, recipe, recipeType) local Recipe = Config.Recipes[recipeType][recipe] if not Recipe then