[QB/QBX/ESX] Votes System

[QB/QBX/ESX] Votes System

This item is free.

Add to Basket

Preview: https://youtu.be/TiN0ZOWIIN8

Download Here: https://r6team.tebex.io/

Discord: https://discord.gg/r6t


Script Name: Voting System

Framework: QBCore, QBox, ESX

Dependencies: ox_lib, oxmysql, qb-target or ox_target


Description:

A simple and fully customizable voting script for FiveM that allows server owners to create in-game elections or polls. Players can vote for candidates directly from a menu, and the system tracks votes to ensure fairness. Voting can be restricted by SteamID or character ID, depending on your server’s needs. The number of candidates can be easily controlled from the configuration without modifying any code. Each vote is logged on the server, with optional Discord webhook notifications.


Features:

Supports QBCore, QBox, and ESX frameworks

Dynamic candidate management from the configuration

Voting tracked by SteamID or character ID

Prevents duplicate votes per character or allows multiple character votes

Real-time vote count display in the menu

Server-side logging of all votes

Optional Discord webhook for vote notifications

Easy integration with qb-target, ox_target, or interact


Voting Process:

Voting Menu

Players approach the voting target in-game. The menu opens, displaying all available candidates along with their current vote counts. Players select their preferred candidate and submit their vote. The server updates the vote totals instantly, ensuring transparency and fairness.