# Voting Script | Documentation

### NOT FOR ESX / VRP

This is a simple VOTING Script with a Pleasing UI for QBCORE FRAMEWORK / QBUS (both compatible). It is designed to be managed by either Server Owner or a Developer, as it requires editing of associated files for best functionality.&#x20;

### Data Storage and Tables

Information related to Participating Candidates is stored in the CONFIG.LUA file against a **Unique ID** written in the **ID Field of \`Config.CandidateInfo\`.** \
\
**There are two tables that are to be inserted into the Database -**&#x20;

1. `osm-votes - to manage which ID recieved how many VOTES.`
2. `osm-casts -  stores which Citizen has casted their VOTE.`

{% content-ref url="config-file" %}
[config-file](https://osmiumop.gitbook.io/voting-script/config-file)
{% endcontent-ref %}


---

# 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://osmiumop.gitbook.io/voting-script/master.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.
