Page cover image

Server Voting

The Server Voting Script for FiveM is the one-stop solution for managing votes via in game, this script works seamlessly with OxLib menus and uses Ace Permissions!


  1. Chat

  2. GTA


In Game Preview.
If the user does not have permission to start a vote.
Chat Message for the vote announcement.
Notification letting people now the command.
"/vote" menu with all options from the vote.
letting the user know their vote has been recorded.
when the vote ends.
If there is no vote active and a user runs "/vote"
If a user attempts to start 2 votes at once.

Config = {}

-- Notification Settings
Config.NotifyType = 'Ox_lib'
Config.notifyTime = 5000 -- Notification display time in milliseconds

-- Permission Settings
Config.ACEPermission = 'ad.servervoting' -- ACE permission for starting a vote

return Config

Last updated