# Photos Tool

To use the Photos Tool option, run the following option in config.lua

{% hint style="warning" %}
Remember that this command from photos tool has no restrictions on permissions, it is not recommended to use this on a public server, because then every player has access to this command and can use it.
{% endhint %}

```lua
Config.UsePhotosTool = true
```

***

If you enable this option, make sure you have configured the correct webhook in config.server.lua for `'PHOTOS_TOOL'`. After doing this, go to the server.

Once you're on the server, simply respawn the vehicle for which you want to take a photo. It's best to wash it beforehand to ensure the best presentation for the photo. Then, use the command provided in `Config.PhotosToolCommand`. Remember that you must be the driver of the vehicle to use this command.

After a moment, a photo will be taken and sent to the aforementioned webhook. Simply copy the photo from the channel and use a website to remove the green background, which relies on artificial intelligence. However, note that these methods may be less precise and may leave imperfections. Therefore, it is recommended to use Photoshop to correct any imperfections.

{% embed url="<https://www.youtube.com/watch?v=bcKCAjycbJk>" %}
<https://www.youtube.com/watch?v=bcKCAjycbJk>
{% endembed %}


---

# 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://docs.vames-store.com/assets/vms_vehicleshopv2/guides/photos-tool.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.
