🕵️‍♂️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.

Last updated