๐ทJomidar Moonshine
V4 Inspired Fishing Script For QBCore
Last updated
V4 Inspired Fishing Script For QBCore
Last updated
Jomidar Moonshine V4 Inspired Moonshine Script For QBCore
Preview
Buy The Script From Here
1st Step
Drag And Drop The Script To Your Server Files . Dont Change The Script Name
Copy
jomidar-moonshine
2nd Step
Copy And Paste The Items Icons To Your Inventory
Copy
qb-inventory\html\images
3d Step
qb-core/shared/items.lua
oldstill = { name = 'oldstill', label = 'Old Still', weight = 5000, type = 'item', image = 'still.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = "An old shoddily built still, it's a miracle it still work" },
bestcrate = { name = 'bestcrate', label = 'Crate of Bottles', weight = 500, type = 'item', image = 'cratebtls.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = "A crate with eight stoneware jugs inside filled with moonshine. Labeled with 'decent'" },
averagecrate = { name = 'averagecrate', label = 'Crate of Bottles', weight = 500, type = 'item', image = 'cratebtls.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = "A crate with eight stoneware jugs inside filled with moonshine. Labeled with 'below-average'" },
bestbottle = { name = 'bestbottle', label = 'Small Paper Wrapped Bottle', weight = 18, type = 'item', image = 'bestbottle.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = "A small bottle filled with moonshine, wrapped in a paper bag with an address and a note attached: 'Leave on doorstep, they'll slide payment under door'" },
avgbottle = { name = 'avgbottle', label = 'Small Paper Wrapped Bottle', weight = 18, type = 'item', image = 'avgbtle.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = "A small bottle filled with moonshine, wrapped in a paper bag with an address and a note attached: 'Leave on doorstep, they'll slide payment under door'" },
oldbread = { name = 'oldbread', label = 'Old Bread', weight = 18, type = 'item', image = 'oldbread.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = "Old bread, but still bread" },
oldfruit = { name = 'oldfruit', label = 'Old Fruit', weight = 18, type = 'item', image = 'oldfruit.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = "Old fruit, but still fruit" },
oldcorn = { name = 'oldcorn', label = 'Old Corn', weight = 18, type = 'item', image = 'oldcorn.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = "Old corn, but still corn" },
4th Step
Copy And Run The Sql
CREATE TABLE IF NOT EXISTS `jomidar_moonshine` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner` varchar(50) NOT NULL,
`model` varchar(255) NOT NULL,
`position` text NOT NULL,
`rotation` text NOT NULL,
`amount` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
5th Step
Download The Dependencies
Download And Put In The Server
Download The 0r-npcdialog & Paste this on Shared/config.lua
Copy
Config = {
MenuAlign = "left", -- left or right
Dialogs = {
{
Ped = {
Enable = true,
coords = vector4(1984.36, 5176.23, 47.64, 134.1),
hash = "a_m_m_farmer_01", -- Check here https://docs.fivem.net/docs/game-references/ped-models/
animDict = "amb@world_human_hang_out_street@female_arms_crossed@idle_a",
animName = "idle_a"
},
Blip = { -- https://docs.fivem.net/docs/game-references/blips/
Enable = true,
coords = vector3(1984.36, 5176.23, 47.64),
sprite = 88,
color = 2,
scale = 0.5,
text = "MoonShine"
},
Menu = {
Label = "MoonShine",
Description = "MENU",
Icon = "fas fa-briefcase", -- https://fontawesome.com/v5/search | You can use Pro Icons too
},
AutoMessage = { -- This is an automatic message system that sends automatic message when you open dialog menu.
Enable = true,
AutoMessages = {
{type = "question", text = "Welcome, choose what you want to do."},
--{type = "message", text = "This is an automatic message."}
}
},
Buttons = {
[1] = { -- Button 2 and answers
label = "Moonshine Shop",
systemAnswer = {enable = true, type = "message", text = "On Shop"},
playerAnswer = {enable = true, text ="Ok"},
maxClick = 1,
onClick = function()
-- Write your export or events here
-- exports[GetCurrentResourceName()]:closeMenu()
TriggerEvent('jomidar-moonshine:cl:openshop')
exports[GetCurrentResourceName()]:closeMenu()
end
},
[2] = { -- Button 3 and answers
label = "Start Delivery",
systemAnswer = {enable = true, type = "message", text = "Delivery"},
playerAnswer = {enable = true, text = "Checking"},
maxClick = 1,
onClick = function()
TriggerEvent('delivery:jomidar_moonshine')
exports[GetCurrentResourceName()]:closeMenu()
end
},
[3] = { -- Button 4 and answers
label = "Leave Conversation",
systemAnswer = {enable = false, type = "message", text = "The authorities are closing in. We need a clear path for extraction."},
playerAnswer = {enable = false, text = "Understood. Head to the rendezvous point, and be ready to move fast."},
maxClick = 1,
onClick = function()
-- Write your export or events here
exports[GetCurrentResourceName()]:closeMenu()
end
},
-- Don't write more than 5 buttons
},
Interaction = {
Target = {
Enable = true,
Distance = 2.0,
Label = "Contact",
Icon = "fa-solid fa-address-book"
},
Text = {
Enable = true,
Distance = 3.0,
Label = "[E] Contact"
},
DrawText = {
Enable = false,
Distance = 3.0,
Show = function()
exports["qb-core"]:DrawText("Contact", "left")
end,
Hide = function()
exports["qb-core"]:HideText()
end
}
}
},
}
}