[Release][ESX] Properties

Hey guys! Awesome Release even though it’s been a few months. I am trying to add even more properties. What is the template for this? This is for one property, but which coord is for what? would be nice to have a template for it

(1,‘WhispymoundDrive’,‘2677 Whispymound Drive’,’{“y”:564.89,“z”:182.959,“x”:119.384}’,’{“x”:117.347,“y”:559.506,“z”:183.304}’,’{“y”:557.032,“z”:183.301,“x”:118.037}’,’{“y”:567.798,“z”:182.131,“x”:119.249}’,’[]’,NULL,1,1,0,’{“x”:118.748,“y”:566.573,“z”:175.697}’,1500000),

-Steigen :smiley:

how to change the rent charge to weekly instead of daily(24hrs)

Does anyone know how to make weapons deposit work on houses? It’s just removing my weapon when I deposit them.

I’ve just noticed that upon entering house in BC and going through main door outside again, it teleports me in LS downtown… Does anyone else experience this? Any solutions? I haven’t touch the resource yet.

Edit.: I know what was the problem now! Since I was testing esx_burglary, the exit from the house had TWO markers. Before exiting from the building via esx_property, it has teleported me instantly via esx_burglary. Careful with that!

This has also caused me disappearing of traffic.

Line 158

Change local rent = ESX.Math.Round(property.price / 200)

200 to whatever you want

I’ve released a devTOOL for exactly this.

1 Like

Hey! Anyone know of any interiors without windows? I have only found two. 1: Low end
2: Motel.
I would like to have a bigger and nicer interior, but without window as I am doing custom placements of houses. Anyone know either a default Gta interior without windows or an interior I can download from somewhere?

I set playermanagement to true, I thought this would change so that anyone not being REA couldn’t buy apartments. It’s not like that?

Hi, I’m having a problem when I add a new location to the database, a medium apart from the game itself but it does not accept the coords and will not let me enter the site, someone knows if there is any correct method to add another coords to the database.?

Clothing menu in Properties doesn’t seem to do anything. No “save” function or anything, the wardrobe menu is blank with no options.

Did anyone figure out how to make it so one person owns a property and no one else can buy it or visit?

2 Likes

I got error when I start the server do you know why?

Error running call reference function for resource esx_property: citizen:/scripting/lua/scheduler.lua:403: @esx_property/server/main.lua:329: attempt to index a nil value (local 'xPlayer') 
stack traceback: 
@esx_property/server/main.lua:329: in upvalue 'ref' 
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388> 
[C]: in function 'xpcall' 
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387> 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372> 
Error running system event handling function for resource es_extended: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow' 
citizen:/scripting/lua/MessagePack.lua:465: in field 'any' 
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack' 
citizen:/scripting/lua/scheduler.lua:626: in field '?' 
@es_extended/server/functions.lua:33: in field 'TriggerServerCallback' 
@es_extended/server/common.lua:88: in upvalue 'handler' 
citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218> 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow' 
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182> 
1 Like

Does anyone know why i’m unable to store items such as bread, water, drugs etc in houses?

You ever get this sorted? I been trying to add other items to my property as well.

not yet, others are saying it should just work… so not sure why it isnt i’ll have to check into the database stuff and server side of the script later.

its telling u you have a duplicate for last property

you have to save your outfit in the clotheshop.
and in your propertie you can change to one of these outfits

That doesn’t make sense. The clothing shop simply saves the outfit you choose to the database. The property menu should allow you to “save” or “store” that outfit so then if you go and change at the clothing store, the original outfit is available in
your property closet.

if you bought an outfit in the clotheshop you can save it there too. and then you can change it in your property menu

if you think this didnt make sense… okay not my problem.^^

This resource is bugged in multiple ways. It doesn’t give an option to store or retrieve outfits at the house. The marker does nothing. The clothing store simply allows you to change the options and save, unless there’s a specific
clothing store resource required that you’re referring to. Can’t store weapons and it will take rent even if you don’t have enough money, simply putting you in a negative balance.