AussieDropBear MayorSystem
AussieDropBear’s MayorSystem for FiveM QBCore Inspiried by Garrys Mod DarkRP
Purchase here from tebex
Installation
- Drag and drop
MayorSystem_QBCore
, addensure MayorSystem_QBCore
to your server.cfg or resources.cfg-- This must stay this name. - Add the jobs to your jobs.lua in qb-core/shared/jobs.lua
- Add the item below to your qb-core/shared/items.lua
- Execute the mayorsystem.sql to your database as a query
- config the config file to suit your needs.
- Bobs ya uncle.
PS
Commands: /checkvotes
– lets you check the votes otherwise use the ped.
‘Consume’ the laptop to open the mayor dedicated menu
Notes
This system only works with QBCore!!!
QB-CORE Add
qb-core/shared/jobs.lua
['mayor'] = {
label = 'Mayors Workers',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Mayor Secruity',
payment = 100
},
['1'] = {
name = 'Mayor Bodyguard',
payment = 150
},
['2'] = {
name = 'Mayors Assistant',
payment = 200
},
['3'] = {
name = 'Mayor',
isboss = true,
payment = 350
},
},
},
qb-core/shared/items.lua
["mayorsystem"] = {["name"] = "mayorsystem", ["label"] = "Mayor Laptop", ["weight"] = 100, ["type"] = "item", ["image"] = "laptop.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "This Laptop does unspeakable things :/ :3"},
Code is accessible | No Only config |
Subscription-based | No |
Lines (approximately) | overall more then like 2k havent counted |
Requirements | QBCore |
Support | Yes if you used common sense and read the docs |