RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. FREE AFK Fishing Script

Usage

Explaining in-game actions for players.

  • Starting to Fish

    • If FishingAnywhere=false, players go to a defined zone. Otherwise, they can fish from anywhere.

    • A help text appears: “Press E to start fishing.”

    • The script checks if the player has a normal or premium rod. If they do, they begin fishing.

  • Catching Loot

    • Every Config.FishingTime seconds, the script calls a server event that randomly selects a reward from the zone’s fish table (or DefaultFishLootTable if no zone).

    • If using a premium rod, the chance is multiplied by PremiumLootMultiplier.

  • Stopping

    • Press E again to cancel.

    • If the player moves more than MaxFishingDistance from the start or stops the scenario, fishing ends with a “MovedTooFar” message.

  • Boat Anchor

    • If Config.AnchorItem is defined, players can anchor/unanchor their boat (class 14 vehicles) using that item, preventing drift.

  • Selling Fish

    • The Fish Shop marker is displayed at Config.FishShop.coords.

    • Approaching it and pressing E opens the fish shop UI.

    • The script tallies items from SellItems in their inventory, removing them and awarding money accordingly.

  • Discord Logging

    • If Config.DiscordWebhook is set, the script logs how long each player has been fishing every DiscordNotificationInterval minutes.

PreviousConfigurationNextFAQ / Troubleshooting

Last updated 2 months ago

🎣
🕵️‍♂️