| .. | ||
| assets | ||
| client | ||
| server | ||
| config.lua | ||
| fxmanifest.lua | ||
| LICENSE | ||
| readme.md | ||
Boat Anchor Script
A QBCore boat anchoring solution with synchronized anchor state across clients.
Features
- Server synced anchor status
- Radial menu integration
- Anchor drop/raise effects and sounds
- Progressbar feedback
- Notifications
Requirements
- qb-core
- qb-radialmenu (optional)
- xsound (optional, for anchor sounds)
Installation
- Download the script
- Place
sg-boatanchorinto yourresourcesorstandalonefolder (remove-mainfrom folder if necessary) - Place sound files from
sg-boatanchor\assetsinto thexsound\html\soundsfolder - Add
ensure sg-boatanchorto your server.cfg (after all qb scripts), unless instandalonefolder - Configure options in
config.luato your liking - Restart/start your server
Configuration
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
Usage
- Use the slash command
/anchorto toggle the anchor - Use the boat anchor radial menu option
- Use the default keybind
Yto toggle anchor
Credits
- Nicky
- Join the discord for support: SG Scripts Discord