FX-FISHING

Advanced fishing system for RedM with rod upgrade system, XP progression, minigame support, and full framework compatibility.

4 min readupdated 3 Jun 2026

FX-Fishing€50.00View in store
On this page 22
  1. INSTALLATION
  2. DEPENDENCIES
  3. SQL INSTALLATION (VORP)
  4. RSG ITEM INSTALL
  5. BASIC CONFIG
  6. MINIGAME SYSTEM
  7. FISH SYSTEM
  8. FISH ITEM MAPPING
  9. FISH LABEL SYSTEM
  10. FISHING SETTINGS
  11. UPGRADE NPC SYSTEM
  12. ROD LEVEL SYSTEM
  13. UPGRADE SUCCESS SYSTEM
  14. UPGRADE MATERIALS
  15. UPGRADE STONES
  16. PEARL SYSTEM
  17. NOTIFY SYSTEM
  18. SERVER CONFIG
  19. COMMAND SYSTEM
  20. IMPORTANT NOTES
  21. COMMON MISTAKES
  22. SUMMARY

#📦 INSTALLATION

bashensure fx-fishing
  • Place the script inside resources/fx-fishing
  • Add ensure fx-fishing to your server.cfg
  • Restart your server
  • Make sure oxmysql starts before this script

#⚙️ DEPENDENCIES

luadependencies {
    'oxmysql'
}
  • Required for database operations
  • Script will not work without it
  • You can use tools like HeidiSQL or phpMyAdmin to manage your database

#🗄️ SQL INSTALLATION (VORP)

sql-- fx-fishing-vorp.sql
  • Required for storing fishing data
  • Includes fish items, pearls, upgrade items
  • Must be executed before using the script

#📦 RSG ITEM INSTALL

lua['fishingrod'] = {
    name = 'fishingrod',
    label = 'Fishing Rod',
    weight = 100,
    type = 'item',
    image = 'fishingrod.png',
    unique = true,
    useable = true,
}
  • Required if using RSG framework
  • fishingrod must be unique = true
  • useable must be enabled

#⚙️ BASIC CONFIG

luaConfig.Language = "en"
Config.Mode = false
Config.FishingrodMovement = false
Config.RemoveBaitOnFailed = false
Config.ShowFishWhenUseFish = true
  • Language → system language
  • Mode → enables minigame system
  • FishingrodMovement → rod movement mechanic
  • RemoveBaitOnFailed → removes bait if failed
  • ShowFishWhenUseFish → shows fish when used

#🎮 MINIGAME SYSTEM

luaConfig.Mode = "minigame"
  • Enables fishing minigame
  • If false → direct catch system
  • Requires compatible minigame resource

#🐟 FISH SYSTEM

luaConfig.FishData = {
    {
        model = "A_C_FISHBLUEGIL_01_MS",
        bigFish = false,
        worthyFish = true,
        xpCount = 5,
        luck = 70,
    },
}
  • Defines all fish types
  • model → ped model of fish
  • bigFish → large fish flag
  • worthyFish → valuable fish
  • xpCount → XP reward
  • luck → catch probability

#🎯 FISH ITEM MAPPING

luaConfig.ItemNameByFishName = {
    ["A_C_FISHBLUEGIL_01_MS"] = "a_c_fishbluegil_01_ms",
}
  • Maps fish models to inventory items
  • Required for giving correct item
  • Must match database item names

#🏷️ FISH LABEL SYSTEM

luaConfig.FishLabels = {
    ["A_C_FISHBLUEGIL_01_MS"] = "Blue Gil (Medium)",
}
  • Defines display names of fish
  • Used in notifications and UI

#🎣 FISHING SETTINGS

luaConfig.Settings = {
    distance = 20,
    fishSpeed = 0.5,
    fishTimeout = 20,
}
  • distance → fishing detection range
  • fishSpeed → minigame difficulty
  • fishTimeout → max catch time

#🧱 UPGRADE NPC SYSTEM

luaConfig.UpgradeNPCS = {
    ["valentine"] = {
        model = "cs_charlessmith",
        coords = vector4(-364.5, 802.8, 116.80, 120.2352),
        showblip = true,
    },
}
  • NPC used for rod upgrades
  • Players interact to upgrade rods
  • Supports job restrictions

#📊 ROD LEVEL SYSTEM

luaConfig.FishingRodLevel = {
    [1] = 1000,
    [2] = 2000,
}
  • Defines XP required per rod level
  • Higher level → better fishing chance

#🎲 UPGRADE SUCCESS SYSTEM

luaConfig.FishingRodUpgradeLucky = {
    [1] = 100,
    [2] = 95,
}
  • Upgrade success chance per level
  • Lower value → harder upgrade

#💎 UPGRADE MATERIALS

luaConfig.FishingRodUpgradeItems = {
    [1] = {
        {name="whitepearl",count=1},
    },
}
  • Required items for upgrading rod
  • Each level has different requirements

#🧪 UPGRADE STONES

luaConfig.UpgradeStones = {
    ["rituel10"] = {
        lucky = 10,
        drop_level_if_failed = false,
    },
}
  • Adds bonus success chance
  • Some items reduce failure penalty

#🎁 PEARL SYSTEM

luaConfig.PearlLuckys = {
    ["whitepearl"] = 30,
}
  • Defines pearl drop chances
  • Used for upgrade system

#🔔 NOTIFY SYSTEM

luaNotify({
  text = "Fishing Started",
  type = "success"
})
  • Framework-based notification system
  • Supports VORP / RSG
  • Customizable

#⚙️ SERVER CONFIG

luaSV_Config.Webhook = {
    url = "",
    logo = "",
    banner = "",
}
  • Used for logs and webhook integrations
  • Optional but recommended

#🎯 COMMAND SYSTEM

bashfishEvent 2
  • Activates global fishing bonus
  • Multiplies fish and XP
  • Example → 2 = 2x reward

#⚠️ IMPORTANT NOTES

  • fishingrod must be unique item
  • ItemNameByFishName must match database
  • oxmysql must be running
  • Upgrade items must exist
  • SQL must be installed

#🚨 COMMON MISTAKES

  • Missing fishingrod item
  • Wrong item names
  • Missing SQL import
  • Not setting rod as unique
  • Missing bait item

#🏁 SUMMARY

FX-Fishing provides:

  • Advanced fishing system
  • Rod upgrade & XP system
  • Minigame support
  • NPC interaction system
  • Full framework compatibility

© Fixitfy Development