---
description: >-
  You may refer to this documentation to understand how OSM - VOTING SCRIPT
  works and how you can customize it as per needs.
---

# 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](config-file)
{% endcontent-ref %}

