DH Anchor β QBCore Boat Anchor System
Secure boats in place with a simple, immersive anchor toggle and sound effects.
π Overview
DH Anchor is a lightweight, quality-of-life script that allows players to drop or lift an anchor on boats, preventing unwanted drifting while fishing, docking, or idling on open water.
The system is intentionally simple, reliable, and immersive β using GTA-safe audio cues and entity freezing to simulate a real anchor mechanism.
This is NOT a physics-heavy or glitch-prone anchor script. DH Anchor was built with:
β Simple anchor toggle command
β Boat-only safety checks
β Immersive sound effects
β Drift prevention via entity freezing
β Zero server load (client-only)
β Ultra-lightweight logic
Perfect for fishing servers, boating RP, maritime patrols, or casual ocean exploration.
β¨ Key Features
β Drop & Lift Anchor: Players can toggle the boat anchor on demand with a simple command.
β Boat-Only Protection: Only vehicles classified as boats can use the anchor β no abuse on cars or aircraft.
β Drift Prevention: Anchored boats are frozen in place and will not drift away due to waves or physics.
β Immersive Audio: Plays docking / undocking mechanical sounds with a guaranteed fallback sound.
β Busy-State Protection: Prevents anchor spamming or overlapping actions.
β Client-Side Only: No server logic, no database usage, no performance impact.
π For License Owners
You are allowed to:
β Edit, customize, and expand the script
β Modify client/server logic for your serverβs needs
You may NOT:
β Resell, redistribute, or repackage this script
β Share the script files with others
β Upload the script to GitHub or other repositories
β Sell modified versions
β Claim authorship of this script