πJomidar Fishing
V4 Inspired Fishing Script For QBCore
Jomidar Fishing V4 Inspired Fishing Script For QBCore
Preview

Installation
Last updated
V4 Inspired Fishing Script For QBCore
Jomidar Fishing V4 Inspired Fishing Script For QBCore

Last updated
jomidar-fishingqb-inventory\html\images -- Jomidar Fishing
sturgeon = { name = 'sturgeon', label = 'Sturgeon', weight = 2500, type = 'item', image = 'sturgeon.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Sturgeon' },
whitefish = { name = 'whitefish', label = 'Whitefish', weight = 2500, type = 'item', image = 'whitefish.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Whitefish' },
codfish = { name = 'codfish', label = 'Codfish', weight = 2500, type = 'item', image = 'codfish.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Cod' },
mackerel = { name = 'mackerel', label = 'Mackerel', weight = 2500, type = 'item', image = 'mackerel.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Mackerel' },
alewife = { name = 'alewife', label = 'Alewife', weight = 2500, type = 'item', image = 'alewife.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
carp = { name = 'carp', label = 'Carp', weight = 2500, type = 'item', image = 'carp.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
catfish = { name = 'catfish', label = 'Catfish', weight = 2500, type = 'item', image = 'catfish.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
whitesucker = { name = 'whitesucker', label = 'Whitesucker', weight = 2500, type = 'item', image = 'whitesucker.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
redhorse = { name = 'redhorse', label = 'Redhorse', weight = 2500, type = 'item', image = 'redhorse.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
salmon = { name = 'salmon', label = 'Salmon', weight = 2500, type = 'item', image = 'salmon.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
herring = { name = 'herring', label = 'Herring', weight = 2500, type = 'item', image = 'herring.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
bass = { name = 'bass', label = 'Bass', weight = 2500, type = 'item', image = 'bass.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A normal fish Tatses pretty good!' },
-- Bait + Gear
fishbait = {name = 'fishbait', label = 'Bait Container', weight = 400, type = 'item', image = 'fishbait.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Fishing bait'},
fishingrod = {name = 'fishingrod', label = 'Weak Rod', weight = 750, type = 'item', image = 'fishingrod.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A fishing rod for adventures with friends!!'},
fishcontainer = {name = 'fishcontainer', label = 'Container', weight = 400, type = 'item', image = 'fishbait.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Fishing bait'},
CREATE TABLE leaderboard (
id INT AUTO_INCREMENT PRIMARY KEY,
player_name VARCHAR(50) NOT NULL,
length FLOAT NOT NULL,
caught_time DATETIME NOT NULL
);
Config = {
MenuAlign = "left", -- left or right
Dialogs = {
{
Ped = {
Enable = true,
coords = vector4(1304.48, 4229.45, 33.91, 100.29),
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(1304.48, 4229.45, 33.91),
sprite = 88,
color = 2,
scale = 0.5,
text = "Fishing"
},
Menu = {
Label = "Fishing",
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 = "Fishing 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('qb-uwucafe:client:openShop')
exports[GetCurrentResourceName()]:closeMenu()
end
},
[2] = { -- Button 3 and answers
label = "See Leaderboard",
systemAnswer = {enable = true, type = "message", text = "Check Leaderboard"},
playerAnswer = {enable = true, text = "Checking"},
maxClick = 1,
onClick = function()
TriggerServerEvent('leaderboard:open')
exports[GetCurrentResourceName()]:closeMenu()
end
},
[3] = { -- Button 4 and answers
label = "Start Delivery",
systemAnswer = {enable = true, type = "message", text = "Delivery Started"},
playerAnswer = {enable = false, text = "Understood. Head to the rendezvous point, and be ready to move fast."},
maxClick = 1,
onClick = function()
TriggerEvent('delivery:start')
-- Write your export or events here
exports[GetCurrentResourceName()]:closeMenu()
end
},
[4] = { -- 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
}
}
},
}
}