0R Fishing

0Resmon Fishing System Document Page

Step 1

RRun data.sql on your sql program.

Step 2

Do your configurations on config.lua

Step 3

Put script to your resources file and go to server.cfg type ensure 0r_fishing

NOTE

When you finish the minigame you need to press "E" key for continue

Installation

QBCore

Head to Shared folder items.lua and add this to it.

["bonito"] = {
    ["name"] = "bonito",
    ["label"] = "Bonito",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "bonito.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "bonito"
},
["turbot"] = {
    ["name"] = "turbot",
    ["label"] = "turbot",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "turbot.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "turbot"
},
["mackerel"] = {
    ["name"] = "mackerel",
    ["label"] = "mackerel",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "mackerel.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "mackerel"
},
["garfish"] = {
    ["name"] = "garfish",
    ["label"] = "garfish",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "garfish.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "garfish"
},
["sea_pear"] = {
    ["name"] = "sea_pear",
    ["label"] = "sea_pear",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "sea_pear.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "sea_pear"
},
["sea_bass"] = {
    ["name"] = "sea_bass",
    ["label"] = "sea_bass",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "sea_bass.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "sea_bass"
},
["gilt_head_bream"] = {
    ["name"] = "gilt_head_bream",
    ["label"] = "gilt_head_bream",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "gilt_head_bream.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "gilt_head_bream"
},
["salmon"] = {
    ["name"] = "salmon",
    ["label"] = "salmon",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "salmon.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "salmon"
},
["horse_mackerel"] = {
    ["name"] = "horse_mackerel",
    ["label"] = "horse_mackerel",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "horse_mackerel.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "horse_mackerel"
},
["blowfish"] = {
    ["name"] = "blowfish",
    ["label"] = "blowfish",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "blowfish.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "blowfish"
},
["turtle"] = {
    ["name"] = "turtle",
    ["label"] = "turtle",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "turtle.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "turtle"
},
["trout"] = {
    ["name"] = "trout",
    ["label"] = "trout",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "trout.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "trout"
},
["anchovy"] = {
    ["name"] = "anchovy",
    ["label"] = "anchovy",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "anchovy.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "anchovy"
},
["seashell"] = {
    ["name"] = "seashell",
    ["label"] = "seashell",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "seashell.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "seashell"
},
["bluefish"] = {
    ["name"] = "bluefish",
    ["label"] = "bluefish",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "bluefish.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "bluefish"
},
["fish"] = {
    ["name"] = "fish",
    ["label"] = "fish",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "fish.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "fish"
},
["fishingbait"] = {
    ["name"] = "fishingbait",
    ["label"] = "fishingbait",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "fishingbait.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "fishingbait"
},
["fishingnet"] = {
    ["name"] = "fishingnet",
    ["label"] = "fishingnet",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "fishingnet.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "fishingnet"
},
["fishingrod"] = {
    ["name"] = "fishingrod",
    ["label"] = "fishingrod",
    ["weight"] = 0,
    ["type"] = "item",
    ["image"] = "fishingrod.png",
    ["unique"] = false,
    ["useable"] = false,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "fishingrod"
},

Make sure to copy the images from the 0r-fishing/ui folder.

OX Inventory

Add these items in ox_inventory/data/items.

Minigame

If you find Pressing N doesn't work this is due to you rebinding your push to talk button in key binds fivem.

to fix this just use the provided minigame edit below

Copy full thing at the end of the config where you see keys. This will fix and remove keys that aren't used and fix the N button.

Last updated