Skip to content

Commit

Permalink
qbx_core modules compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 committed Jan 6, 2024
1 parent 2fe7c24 commit 1a4ff99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down
11 changes: 5 additions & 6 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1a4ff99

Please sign in to comment.