darkosiel / md-crafting

A Free QB-Core Crafting script that utilizes either qb-menu or ox_lib menus. Allows A bunch of customization for each item

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

md-drugs

Credits

  • Big Credit to Bostra. if you have been around you may have seen him post some free scripts and help people, There was definetly times I dm'd him saying what the fuck am I doing and he helped keep me sane.

  • shout out to my beta testers who had to deal with me a lot!

  • Our partner 1of1 Servers and their discord for their amazing server hosting! absolutely top notch.

  • Big ShoutOut to LDPNZ for this install guide here

Dependencies

**ox_menu**

qb-menu

How to install like a fuckin boss

  • STEP 1 Drag Resource into your script folder

  • STEP 2 fill out your config

  • STEP 3 add this to qb-core config

QBConfig.Skills = {
	'craftingxp',
	'crafting',
}

then head to player.lua in the server folder of qb-core search for

PlayerData.metadata['dealerrep'] = PlayerData.metadata['dealerrep'] or 0

and underneath that add this

for k, v in pairs (QBConfig.Skills) do 
    PlayerData.metadata[v] = PlayerData.metadata[v] or 0
   end

so it should look like this

PlayerData.metadata['dealerrep'] = PlayerData.metadata['dealerrep'] or 0
 for k, v in pairs (QBConfig.Skills) do 
    PlayerData.metadata[v] = PlayerData.metadata[v] or 0
 end
  • STEP 4 look at the commented out part of the config. it has what options are avaible to add to crafting and which are REQUIRED and which are not required.

  • STEP 5 pet a cat

About

A Free QB-Core Crafting script that utilizes either qb-menu or ox_lib menus. Allows A bunch of customization for each item


Languages

Language:Lua 100.0%