Voting Script | Documentation

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

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.

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 -

  1. osm-votes - to manage which ID recieved how many VOTES.

  2. osm-casts - stores which Citizen has casted their VOTE.

Informationm

Last updated