# Tools

This section configures the internal commands used for setting up the script (creating routes, placing NPCs, testing trailers).

* These are tools to help you set up new configuration of the job. You should turn them ON while configuring the script, and turn them OFF when you open your server to players.

### Master Toggle (`Config.EnableTool`)

Controls the availability of all developer commands listed below.

* `true`: Dev Mode. Commands are enabled. Use this when setting up locations.
* `false`: Live Mode. Commands are disabled.&#x20;

Default: `false`

```lua
Config.EnableTool = false
```

### Command Configuration

These options define the text string you type in the chat window to trigger specific tools.

* ⚠️Important: Do **NOT** include the slash (`/`) in the config file. The game adds this automatically.

| Config Option                   | Default Value (Chat Command) | Function / Purpose                                                                                                                                                                         |
| ------------------------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Config.ToolCommand`            | `'truckerDeliveryCoords'`    | On use this command will spawn a truck with a trailer attached, so it will be easier to create the final delivery point.                                                                   |
| `Config.TrailerToolCommand`     | `'testTrailerSpawn'`         | On use this command will spawn a trailer that you can fully manipulate. Use for trailer spawn position while setting up new bases.                                                         |
| `Config.CopyCoordsCommand`      | `'copyCoords'`               | On use this command will copy your  current coordinates with heading.                                                                                                                      |
| `Config.SpawnTestPedCommand`    | `'lobbyPed'`                 | On use this command will spawn an NPC that you can fully manipulate. Use for setting up peds position in lobby.                                                                            |
| `Config.PropPlacementTool`      | `'trailerPropsTool'`         | On use this command will spawn a trailer.                                                                                                                                                  |
| `Config.PhotoMode`              | `'truckerPhotoMode'`         | On use this command will open a special menu that will help you in creation of thumbnails for new jobs. For adding custom spots go to `Config.PhotoSpots` and add your server preset spot. |
| `Config.WheelOffsetToolCommand` | '`truckerWheelOffset'`       | The command used to generate wheel offset coordinates while sitting inside a truck. The output is automatically copied to your clipboard in the correct format for `Config.TruckOffsets`.  |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://s0u-scripts.gitbook.io/s0u-scripts-docs/truck-driver/configuration/tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
