FreeScriptsDocsSupport

Browse

  • Documentation
    • FAQ
  • 📱 Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • 💿 Configure
      • 💄 Additional Features
      • 📸 Camera
      • 📹 Video Calls
      • 🍏 Apps
      • 🪵 Logs
      • 🔋 Battery System
      • 🖼️ Media Customization
      • 🗣️ Multi-Language Support
      • 🗃️ SIM Cards
      • 🚗 Valet System
      • 🖼️ Wallpapers App
      • ⛅ Weather Widget
    • ⏭️ Exports
      • Client side
        • 👁️‍🗨️ General
        • 📞 Calls
        • ☀️ Groups
        • 🏢 Companies
        • 🔧 Misc
        • 🗼 Signal Towers
      • Server side
        • 🆔 Identify Player
        • ☎️ Sim Cards
        • 📞 Calls
        • 💬 Messages
        • ☀️ Groups
        • 🌐 Cell Broadcast
        • 💸 YPay
        • 📧 Mail
        • 📪 Notifications
        • 📵 Screen Damage
        • 🗯️ Dark Chat
        • 🔧 Misc
    • 🪛 Commands
    • 📡 Events
      • Server side
        • 📨 Messages
        • 📱 Social Media
        • ☎️ Calls
    • 🍎 Custom apps
    • 🏦 Banking App
    • 📈 Markets App
    • 👜 State bags
  • ☎️ Boomer Phone
    • 🧠 Installation
    • 🦄 Unique phones
    • ⏯️ Exports
      • Client side
  • 🏠 Properties
    • 🧠 Installation
    • 💿 Configure
    • 🔗 Compatibility
      • Phones
        • YSeries
        • LB Phone
    • 📖 Guides
      • 🛏️ Starter Apartments
      • 🐚 Add More Shells
      • 🔑 Physical Keys
      • 🪑 Furniture As Items
      • 🛠️ Fix Interactable Points
      • 📋 Discord Logs Setup
    • ⏭️ Exports
      • Client side
        • GetCurrentPropertyId
        • GetCurrentProperty
        • IsPointInsideProperty
        • OpenPropertyMenu
        • AddKey
        • RemoveKey
        • SetWaypointToProperty
        • GetAllProperties
        • GetKeyHolders
        • PoliceRaidDoor
        • WrapIntoProperty
        • GetClosestDoor
        • GetEntryCoordinates
        • UseLockpick
        • PoliceRaidDoor
      • Server side
        • GetAllProperties
        • GetPropertyData
        • AddKey
        • RemoveKey
        • ToggleDoorlock
        • GetPlayersInProperty
        • GetKeyHolders
        • DeleteProperty
        • AddStarterApartment
        • SellProperty
        • TransferProperty
    • 🪝 Hooks System
      • buyProperty
      • rentProperty
      • sellProperty
      • deleteProperty
      • createDoor
      • saveSettings
      • setInteractablePoint
      • canEnter
      • canExit
    • 👜 State bags
  • 🏦 Banking
    • 🧠 Installation
    • 🪛 Commands
    • ⏯️ Exports
      • Client side
      • Server side
    • 🪵 Logs
    • 🪝 Hooks
    • 🏦 Banking App
  • 💸 Billing
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
      • Server side
  • 📊 Hud
    • 🧠 Installation
    • ⏭️ Exports
      • Client side
  • 📦 Storage Units
    • 🧠 Installation
  • 🎰 Slots
    • 🧠 Installation
    • 📱 Phone app
  • 🎃 Minigames
    • 🎯 Exports and Usage
    • 🔧 Commands

🪑 Furniture As Items

Requirements

  • ox_inventory - Furniture items are created and consumed through ox_inventory.

Configuration

Ensure the furniture command and permissions are enabled in your config.lua:

lua
Config = {
    -- Job permissions
    RealEstateJobs = {
        ["realestate"] = {
            ["give_furniture"] = 1, -- Can give furniture items
        },
    },

    -- Command name (default)
    GiveFurnitureCommand = "givefurniture",

    -- Default weight if the furniture has no weight defined
    DefaultFurnitureWeight = 1000,
}

Adding the Furniture Item to ox_inventory

Add the following item to your ox_inventory/data/items.lua:

lua
['furniture'] = {
    label = 'Furniture',
    weight = 0,
    stack = false,
    close = true,
    description = 'A piece of furniture from the property',
    consume = 0,
    client = {
        export = 'nolag_properties.UseFurniture',
    },
},

Give Furniture Command

Use the command to give a furniture item to a player:

/givefurniture [playerId|me] [furnitureName]

Example:

/givefurniture me apa_mp_h_stn_sofacorn_01

Only players with the give_furniture permission (configured in Config.RealEstateJobs) can use this command.

Furniture Names

The furnitureName argument must match a furniture object in furniture.lua under FurnitureConfig.Furniture.

Example entries:

lua
FurnitureConfig.Furniture = {
    sofas = {
        items = {
            { object = 'apa_mp_h_stn_sofacorn_01', label = 'STN Sofacorn', price = 1450 },
            { object = 'apa_mp_h_stn_sofa2seat_02', label = 'Sofa 2 Seat', price = 980 },
        }
    }
}

If a model does not exist in that list, the command will return "Furniture not found".

Using the Item

When the player uses the furniture item in ox_inventory, the nolag_properties.UseFurniture export is called:

  • If the player is inside a property, the furniture placement starts immediately.
  • If the player is in a yard zone shared by multiple properties, a context menu appears to choose the property.
  • If the player is not in a property or yard zone, they will receive an error notification.

Exports

Server exports for integrations:

lua
-- Give a furniture item to a player (adds to ox_inventory)
local success = exports.nolag_properties:GiveFurnitureToPlayer(playerId, furnitureName)

On this page

  • Requirements
  • Configuration
  • Adding the Furniture Item to ox\inventory
  • Give Furniture Command
  • Furniture Names
  • Using the Item
  • Exports

All Rights Reserved

TeamsGG © 2026

Pages

FreeScriptsDocsSupport

Legal

Terms of ServiceRefunds

Tebex

Tebex ImpressumTebex TermsTebex Privacy

Socials

DiscordYouTube