[QB/ESX] [FREE] Housing Records for Loaf Housing

Housing Records for Loaf Housing by Brown Development

I HAVE NO AFFILIATION WITH LOAF SCRIPTS

How does it work?

You can setup different locations that can be third eye targeted by players who have the
specified job name to see a list of player owned houses. When you click on one of the
lists in the menu it will set a waypoint to their house location

Why did I make this?

Because I noticed that there is no way to get the locations of player owned houses (in game)
when using Loaf Housing. I also thought it would be good for police roleplay so police
can actually have access to player owned house records in a server that uses Loaf Housing, etc.
Download: GitHub OR Tebex [FREE]
Preview Video: Youtube

Requirements:

Loaf Housing by Loaf Scripts: https://store.loaf-scripts.com/package/4310850

Installation:

  1. completely set up the Loaf Housing Script (if not already set up)
  2. run the ‘housingrecords’ SQL file
  3. Configure to your liking/compatibilities in ‘config.lua’

Compatibility:

Frameworks: ESX & QBCore
Target: qb-target (for QBCore) & ox_target (for ESX)
Menu: qb-menu & ox_lib (For QBCore) OR ox_lib (for ESX)
Notifications: default qbcore notifications , ox_lib notifications, or okok notify

Quasar Housing Version:

I made a version for Quasar Housing due to a request in the replies:
[QB] [FREE] Housing Records for Quasar Housing - FiveM Resource Development & Modding / Releases - Cfx.re Community

4 Likes

pls also qs-housing

1 Like

:fire::fire: as usual

1 Like

If you downloaded this script before this message and your having trouble with qb-target not using multiple locations please re download it from github as I have made the changes for the fix

1 Like

heck yeah

1 Like

Check out the version I made for Quasar Housing:

[QB] [FREE] Housing Records for Quasar Housing - FiveM Resource Development & Modding / Releases - Cfx.re Community

1 Like

done.

1 Like

Bcs_housing

1 Like

This was just free the other day. shame.
hopefully its fixed.

Some of you guys have 0 brain power

The solution was to manage the nil values for unoccupied houses.

still aint worth $1 tho

        elseif Config.Menu == 'ox_lib' then 
            local contextOptions = {}
            for i = 1, #data do
                local row = data[i]
                local name = tostring(row.playername) -- Convert potential nil to an empty string
                local id = row.propertyid
                local xcoords = row.x
                local ycoords = row.y
                
                local contextItem = {
                    title = 'Owner: ' .. name .. '\n' .. ' House ID: ' .. id,
                    description = 'Set Waypoint to House',
                    icon = 'fa-solid fa-house',
                    event = 'SetWaypointToCoord',
                    arrow = true,
                    args = {
                        x = xcoords,
                        y = ycoords,
                    }
                }
                table.insert(contextOptions, contextItem)
            end
            lib.registerContext({
                id = 'housingrecords',
                title = 'Housing Records',
                options = contextOptions,
            })
            lib.showContext('housingrecords')
        end```

I made it that because I don’t want my source code out there regardless. But I still want it to be so cheap to a point where it’s basically free so I made it $1

You are not allowed to post free stuff here unless there is a direct link to a download open source. So I made it $1

but you did post a direct download before…
ITS ALREADY OUT THERE lol , how else would i have it

This as well as the quasar versions should remain FREE with direct downloads.

Seeing a dev swap free assets to paid and encrypted versions appears to be a dirty tactic to suck the community dry.,

I understand your perspective brother but thats just how I feel, but im totally not trying to suck the community dry, the script is $1 also if you havent noticed if you go to the “The Dollar Shop” Category of my tebex there is literally a free promo code for all of the $1 scripts to get 100% (basically making it free) people just dont pay attention…

I dont care about the $1, its just FiveM rules that I cant post free stuff without a direct download link so i have to make it paid somehow.

I even posted it on my discord after I received a PM warning telling me that it was against the rules and to make adjustments.

1 Like

i decided to re upload on GitHub and make it completely free again along with my other originally free stuff

1 Like

did u ever update it for the nil unowned houses.
the string i added makes it blank if its nil.

wym, explain more?

The original version needed this

local name = tostring(row.playername) – Convert potential nil to an empty string

because the nil / unowned houses were breaking script.

Ohh I see, I must of looked past that by accident