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
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
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
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
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.