UZStore
StoreYoutubeDiscord
  • 👋Welcome to UZStore
  • 📞INFORMATION
    • ⭐Discord Customer Role
    • ❔How can I download the files?
    • 🖥️Supported Resolutions
    • 🛠️Tebex Integration
    • 📝Updates
      • 🧙‍♂️UZCore
      • 🚧Trygon Garage
      • 🏆〡Trygon Hud V2.5
      • 🎁 Daily reward
      • 🌎〡Spawn Selector
      • 🤖〡Register
      • 🔧〡Trygon Mechanic
      • 🚗〡Trygon VehicleShop V2
    • 🧙‍♂️UZCore
  • 💯Taintless
    • ⏸️〡Pause Menu
      • How is it Customize ?
        • Player Details
        • Social/Online/Time
        • Custom Page
        • Announces
      • Changelog
        • v0.9.3
        • v0.9.4
        • v0.9.5
    • 💎〡Multicharacter
      • SQL Installation
      • Notification
      • Changelog
    • 🌎〡Spawn Selector
      • Customize
      • Changelog
        • v1.4.0
        • v1.5.0
    • 🌴〡Pure Hud
      • Customize
  • 👀Typhon
    • 🧙🏼〡Player List
      • Customize
    • 🤝〡Second Hand
      • Customize
      • Common errors and their solutions
    • 🎁〡Daily Reward
      • Customize
    • 📷〡Job Selector
      • Customize
  • 💚Trygon
    • 🏆〡Trygon Hud V2.5
      • SQL Installation
      • Common errors and their solutions
    • 🚧〡Trygon Garage
      • Customize
      • SQL Installation
    • 🎦〡Loadig Screen
      • Customize
    • 🎇〡Trygon Inventory
      • Customize
      • Exports
      • How is it installed ?
    • 🚗〡Trygon VehicleShop V2
      • Customize
      • Common errors and their solutions
    • 🤖〡Register
      • Customize
    • 🔧〡Trygon Mechanic
      • Customize
      • Common errors and their solutions
    • 🚛〡Jobs shipping
      • SQL Installation
Powered by GitBook
On this page

Was this helpful?

  1. Taintless
  2. 🌎〡Spawn Selector

Customize

export/Event
exports["uz_SpawnSelector"]:OpenSpawnSelector(islastCoords)
TriggerClientEvent('uz_SpawnSelector:OpenSpawnSelector', islastCoords)
Customize/Customize.lua
Customize = {  
  UIColor = '#FBCA79',  -- The main color of the interface (in HEX format). You can change it to use different colors
  FontAwesomeIcon = false,  -- `true` for FontAwesome icons, `false` for custom images. - You can select FontAwesome icons from: https://fontawesome.com/search?ic=free
  ApartmentIcon = 'Apartments.png',  -- The image file/FontAwesome name used as the apartment icon.

  CustomUIFunction = function()
    -- hud display
  end,

  Locations = {
    ["legion"] = {
      icon = 'tree.png',
      subtext = 'Legion Square Subtext',
      coords = vector4(187.36, -849.91, 31.17, 21.17),
      label = "Legion Square",
    },
  
    ["policedp"] = {
      coords = vector4(407.93, -1115.05, 29.44, 81.82),
      subtext = "policedp",
      icon = "Satellite.png",
      label = "Police Department",
    },
  
  
    ["motel"] = {
      coords = vector4(327.56, -205.08, 53.08, 163.5),
      subtext = "Motels",
      icon = 'Apartments.png',
      label = "Motels",
    },


    ["fuel"] = {
      coords = vector4(173.12, 6632.54, 31.72, 185.54),
      subtext = "Paleto Bay Fuel Station",
      icon = 'FuelStation.png',
      label = "Fuel Station",
    },

    ["shop"] = {
      coords = vector4(-1501.33, 1519.84, 115.29, 167.96),
      subtext = "24/7 Shop",
      icon = 'Shops.png',
      label = "Leisure Shop",
    },

    ["hardware"] = {
      coords = vector4(54.22, -1738.72, 29.56, 57.36),
      subtext = "Hardware Store",
      icon = 'SuperMarket.png',
      label = "Super Market",
    },
  }
}


ApartmentsFunction = function(appaYeet)
  local configData = LoadResourceFile('qb-apartments', 'config.lua')
  local configFunc = load(configData)
  configFunc()    
  TriggerServerEvent("apartments:server:CreateApartment", appaYeet, Apartments.Locations[appaYeet].label, true)
end

Previous🌎〡Spawn SelectorNextChangelog

Last updated 3 months ago

Was this helpful?

💯
Page cover image