Qb City Hall Help

So I was just using Los Santos City Hall then decided to add a Paleto City Hall as well. The problem I’m having is when I added the Paleto City Hall the blip for Los Santos City Hall disappears. Both peds are there & both city halls locations function correctly however I would like blips for both locations any suggestions would be greatly appreciated. :thinking:

both content {} should be on Config.Cityhalls = {}, you are overwriting the info of Los Santos with the second one…

Config.Cityhalls = {
    { ... }, -- Los Santos
    { ... }, -- Paleto
}

I have played around with it a bit more and still getting errors. For whatever reason Qb City Hall has always been a sensitive script for me.

Screenshot 2024-02-19 081249

try this:

Config.Cityhalls = {
    { -- Los Santos
        coords = vec3(-545.35, -204.17, 38.22),
        showBlip = true,
        blipData = {
            sprite = 487,
            display = 4,
            scale = 0.65,
            colour = 0,
            title = 'Los Santos City Hall'
        },
        licenses = {
            ['id_card'] = {
                label = 'ID Card',
                cost = 50,
            },
            ['driver_license'] = {
                label = 'Driver License',
                cost = 50,
                metadata = 'driver'
            },
            ['weaponlicense'] = {
                label = 'Weapon License',
                cost = 50,
                metadata = 'weapon'
            },
        }
    },
    { -- Paleto
        coords = vec3(-152.99, 6299.58, 31.49),
        showBlip = true,
        blipData = {
            sprite = 487,
            display = 4,
            scale = 0.65,
            colour = 0,
            title = 'Paleto City Hall'
        },
        licenses = {
            ['id_card'] = {
                label = 'ID Card',
                cost = 50,
            },
            ['driver_license'] = {
                label = 'Driver License',
                cost = 50,
                metadata = 'driver'
            },
            ['weaponlicense'] = {
                label = 'Weapon License',
                cost = 50,
                metadata = 'weapon'
            },
        }
    },
}

Your code worked thanks much appreciated. :ok_hand:

1 Like