CONFIG.LUA

Details about configurations available

Variable

Default Value

Remarks

UsingOldQBCore

true

If you use any older versions of QBCore or QBUS, set this to FALSE

(This affects IMPORT)

Locations

Array

Contains an ARRAY of locations to setup multiple locations as Polling Stations

Candidate Info

Array

Currently stores 3 dummy entries as Candidates

Config.CandidateInfo

Config.CandidateInfo = {
	[1] = {
		id = '1',
		name = 'First Person',
		about = 'First Occupation',
		image = 'https://i.ytimg.com/vi/m8zHpXOfPsM/maxresdefault.jpg',
		place = 'LOS SANTOS COUNTY'
	},
	[2] = {
		id = '2',
		name = 'Second Person',
		about = 'Second Occupation',
		image = 'https://miro.medium.com/max/1200/1*mk1-6aYaf_Bes1E3Imhc0A.jpeg',
		place = 'SANDY SHORES'
	},

    [3] = {
		id = '3',
		name = 'Third Person',
		about = 'Third Occupation',
		image = 'https://promo.com/tools/image-resizer/static/Pattern_image-8c050053eab884e51b8599607865d112.jpg',
		place = 'LSPD'
	}
	-- IF YOU ADD MORE ENTRIES, PLEASE DECREASE ZOOM VALUE IN CSS [BODY]
}

-- IF YOU ADD MORE ENTRIES, PLEASE DECREASE ZOOM VALUE IN CSS (BODY)

Last updated

Was this helpful?