A QBCore boat anchoring solution with synchronized anchor state across clients.
- Server synced anchor status
- Radial menu integration
- Anchor drop/raise effects and sounds
- Progressbar feedback
- Notifications
- qb-core
- qb-radialmenu (optional)
- xsound (optional, for anchor sounds)
- Download the script
- Place
sg-boatanchor
into yourresources
orstandalone
folder (remove-main
from folder if necessary) - Place sound files from
sg-boatanchor\assets
into thexsound\html\sounds
folder - Add
ensure sg-boatanchor
to your server.cfg (after all qb scripts), unless instandalone
folder - Configure options in
config.lua
to your liking - Restart/start your server
All configuration options can be found in the config.lua
file.
Some key options:
Config.Progressbar
- Customize the progress bar labels and timingConfig.Command
- Set a slash command for anchoringConfig.RadialMenu
- Toggle and customize the radial menu optionsConfig.Notify
- Adjust the anchor notification messages
- Use the slash command
/anchor
to toggle the anchor - Use the boat anchor radial menu option
- Use the default keybind
Y
to toggle anchor
- Nicky
- Join the discord for support: SG Scripts Discord