LogoLogo
  • Codesign Documentation
  • Information
    • Discord Roles
    • FiveM Asset Escrow System
    • Authentication & Transfers
  • Coding Information
    • Register Key Mapping
    • Code Snippets
    • Self Debugging
  • Paid scripts
    • Arm Wrestling
      • Configs, Locales & SQL
    • Car HUD
      • Configs, Locales & SQL
    • CCTV Cameras
      • Configs, Locales & SQL
    • Darts
      • Configs, Locales & SQL
    • Dispatch
      • Configs, Locales & SQL
      • Resource Integration
    • Door Lock
      • Configs, Locales & SQL
    • Garage
      • Keys/Chat/Events/Exports
      • Optional Features
      • Configs, Locales & SQL
      • Resource Integration
    • Gun Range
      • Configs, Locales & SQL
    • Identity
      • Configs, Locales & SQL
    • Multicharacter
      • Configs, Locales & SQL
    • Player HUD
      • Configs, Locales & SQL
    • Props
      • Configs, Locales & SQL
    • Radar
      • Configs, Locales & SQL
    • Spawn Select
      • Configs, Locales & SQL
    • Terminal Hacker
      • Configs, Locales & SQL
    • Vehicle Control
      • Configs, Locales & SQL
    • VIP Shop
      • Configs, Locales & SQL
  • Free Scripts
    • Easytime
      • Keys/Chat/Events/Exports
      • Optional Features
      • Configs & Locales
    • Drawtext UI
    • Devtools
    • Keymaster - Minigame
    • Staff Support
    • Notifications
Powered by GitBook
LogoLogo

Codesign Software © All rights reserved

On this page
  • INSTALLATION GUIDE
  • Step 0 - First Steps
  • Step 1 - Configure Resource
  • HOW TO USE
  • INFORMATION
  • Default Key Binds
  • Chat Commands
  • Events
  • COMMON ISSUES
  • ERROR CODES
  • CHANGELOG

Was this helpful?

  1. Paid scripts

Darts

Step-by-step installation guide, common issues & solutions, code snippets, error codes, config previews, locales previews, SQL previews, and changelogs; all in 1 easily accessible place.

PreviousConfigs, Locales & SQLNextConfigs, Locales & SQL

Last updated 12 months ago

Was this helpful?

Buy Here

FiveM Forums Post

YouTube Walkthrough Video

Translate

INSTALLATION GUIDE

Step 0 - First Steps

1. Download your resource from .

2. Unzip the cd_darts.zip folder and place this folder in your server's resource folder.

3. Add the resource to your server start config (server.cfg): ensure cd_darts. If you are using a framework, it must be placed anywhere below your framework resource e.g., es_extended, not above.

ensure es_extended
ensure cd_darts

Step 1 - Configure Resource

Introducing our new 'auto_detect' feature! It automatically identifies your framework and applies the appropriate default settings.

HOW TO USE

This resource is very easy to install and configure. Once the steps above are complete the rest is simple:

  1. For configuring your game part, each option is explained on the UI. The game is made to function like a real-life game of darts.

INFORMATION

Default Key Binds

This resource does not use key mapping; these keys are hard coded.

Key
Description

LEFT MOUSE BUTTON

When in a game of darts, this is the key to throw a dart.

Chat Commands

The exact usage for each command will be displayed in the chat suggestions when using the commands in-game.

Command
Description

/darts_startgame

Open the UI to configure and start your game (when close enough to a dart board).

/darts_giveup

Stop playing the game your currently in.

/darts_createboard

Create a dart board (use keys displayed to move the prop to your desired location).

/darts_deleteboard

Delete the closest dart board (within a small radius).

Events

These events are completely optional; you can use them if needed.

Start a game of darts

Open the UI to configure and start your game (when close enough to a dart board).
TriggerEvent('cd_darts:client:startGame')

Stop playing your game of darts

Stop playing the game your currently in.
TriggerEvent('cd_darts:client:giveUp')

Create a dart board

Create a dart board (use keys displayed to move the prop to your desired location).
TriggerEvent('cd_darts:client:spawnBoard', 'default')

Delete the closest dart board

Deletes the closest dart board within a small radius.
TriggerEvent('cd_darts:client:deleteBoard')

Start a game of darts

Open the UI to configure and start your game (when close enough to a dart board).
TriggerClientEvent('cd_darts:client:startGame', source)

Stop playing your game of darts

Stop playing the game your currently in.
TriggerClientEvent('cd_darts:client:giveUp', source)

Create a dart board

Create a dart board (use keys displayed to move the prop to your desired location).
TriggerClientEvent('cd_darts:client:spawnBoard', source, 'default')

Delete the closest dart board

Deletes the closest dart board within a small radius.
TriggerClientEvent('cd_darts:client:deleteBoard', source)

COMMON ISSUES

đź”” Folder Name Make sure the name of the folder either cd_darts.

đź”” Encrypted Files Do not edit the encrypted files in any way.

ERROR CODES

N/A

N/A

CHANGELOG

Files Changed

Not every update requires you to replace the whole folder. We do this because we understand it's a pain to redo the configs for every update.

  • All Files - This means you should delete your old cd_darts folder, download and add in the latest version, reconfigure the configs folder and restart your server.

  • All Files Except config.lua - This means you should do all of the above (in the All Files section) but additionally make a backup of the config.lua file and replace the new config.lua file with the one you made a backup of.

  • Specific Files - This means you can copy and paste the SPECIFIC new files over the old ones and restart the server.

Update Type

On rare occasions, you are forced to update to the latest version. Mostly due to authentication updates where the old versions will no longer work.

  • Mandatory - This means you MUST update to this new version, or the old versions will no longer work.

  • Optional - This means it's completely your choice whether you wish to update to the latest version. But we do not offer support for old versions for obvious reasons; they are old.

Skipping Updates

If you are attempting to update to the latest version but have skipped previous updates, you should update all files just to be safe. For example., let's say you are currently on v4.0.1, you did not update when v4.0.2 was released, and now v4.0.3 is released, and you want to update; you should always use the “All Files” update method.

20/12/2022

Files Changed:

Update Type:

Changelog:

STATUS

  • Development Stage: COMPLETE

  • Alpha Test Stage: COMPLETE

  • Beta Test Stage: COMPLETE

12/02/2023

Files Changed:

Update Type:

Changelog:

Add

  • Auto Framework Detection - We have added a new feature we are calling 'auto_detect', which will automatically identify your framework and apply the appropriate default settings.

  • Added the option to display debug prints.

Fix

  • Fixed an issue with the esx item check.

You MUST read all configurable options inside the [cd_darts/configs/config.lua] file and configure them to suit your server's needs. Please read the at the end of each line so you can understand what each config option does.

The most important sections are the options under the and sections at the top of the config.lua. Everything else is optional.

Use the to open the UI to configure and start your game.

It's your decision in roleplay to choose how close you want to be when throwing the darts. The key to throw darts is .

If you are unsure how to play darts, here's a quick we found that may help you.

These chat commands can be renamed and/or disabled in the section of the [configs/config.lua].

Please check out our before contacting our support.

If you see an error code not listed below, please open a script support ticket in the .

Click here to translate this page.
How do I change language?
FiveM’s Keymaster
”commented out help text”
Framework
Important
NEW: Auto Framework Detect!
Online Guide
Keys and Commands
Troubleshooting Guide
Codesign Discord
#Chat Command
#Default Key Binds