[ESX][FREE] Resmurf Properties System

Resmurf Properties System

This is a housing system in which the player is teleported to an interior and set to a different dimmension; allowing the posibilities of re-using interiors.

This was supposed to be a paid script but required alot of stuff before making a resource worth the money, will be updated accordingly and maybe sell addon resources for this; not sure.

Everyone is welcome to use this resource as they please, just not re-sell it.

Video link

List of built in commands:
/createProperty 1 3 10000
/setfee
/sellto
/sellproperty
/unbuginterior

The unbuginterior command will be removed later on, just incase someone gets bugged, it’ll unbug them. You might want to disable this before putting it into your server.

Features

  • Supports interiors within interiors. (Have apartment buildings inside an interior.)
  • Fee on interior entrance, removes the money from the person who enters if fee is set.
  • Resell your property to the the game and get 50% of the actual price.
  • Storage system, store your weapons and/or items by pressing F3.
  • Sell the property to another player by /sellto
  • Locking/Unlocking interiors by press L.
  • Add your own interiors!
  • More stuff i guess?

INSTALLATION

Import the properties.sql file into your ESX Database; after that just plaste the rest of the files in a folder called properties (If you use other name, the resource wont work.) and ensure it.

REQUIREMENTS

Resources: bob74_ipl and ‘base_events’ These are only required if you’re planning to use GTA V default interioers, they should be default FiveM resources if you’ve installed your server recently, anyways, make sure you have them on!

INSTALL YOUR OWN INTERIOR

You would have to go into properties.lua and add it in there. The coords that show up are for the enter coordinates (When a player joins an interior and where the leave marker will be).

{x = YOUR COORDS, y =YOUR COORDS, z = YOUR COORDS, name = 'YOUR INTERIOR NAME', StorageX = 1, StorageY = 1, StorageY = 1, wardrobeX = 1, wardrobeY = 1, wardrobeZ = 1}

Restart it and when creating a new one the number will be 89 (You might think it’ll be 88 but no …).

All you have to do is replace is X, Y, Z and Name (Whatever you want, the name has no use yet, although i recommend changing it for now to identify your interiors.). Everything else has no use yet.

Bugs?

Feel free to report bugs in this thread or in the github page.

Download

28 Likes

wow very awsome, have been searching for something like this for a long time

1 Like

Glad to help, enjoy it!

very interesting, was wondering though could you give a example of what it would look like to set up a new downloaded interior? if I had a resource called 2bedroomapartment and in the server.cfg I have start 2bedroomapartment loaded… where and how would we be able to just that instead of the default locations

1 Like

You would have to go into properties.lua and add it in there. The coords that show up are for the enter coordinates (When a player joins an interior and where the leave marker will be).

{x = YOUR COORDS, y =YOUR COORDS, z = YOUR COORDS, name = 'YOUR INTERIOR NAME', StorageX = 1, StorageY = 1, StorageY = 1, wardrobeX = 1, wardrobeY = 1, wardrobeZ = 1}

Restart it and when creating a new one the number will be 89 (You might think it’ll be 88 but no …).

All you have to replace is X, Y, Z and Name (Whatever you want). Everything else has no use yet.

ok so the ymap name or the the name of it’s resource?

Any name is fine, not necessarily the Ymap name. I’d use it tho to recognize it later on. What you need to add properly are the coords. X,Y,Z.

so i guess it it automatically makes exit coords, and how do you set it as a instanced property, or is it one property per owner, Thanks a ton for all the answers so far.

You’re correct, it makes the exit coords right where the entrance coords are.

It can be used as many properties as you create. They all will be independant from each other.

So you go ingame after you’ve created the coords and do /createProperty 1 89 (price) and it’ll have the interior, you can create as many as you want, they will be independant.

You’re welcome!

ah ok so 89 would be the new interior I put into the data base, /createProperty 1 89 5000 is used to make it sellable /createProperty 2 89 5000 would be to make a 2nd property that uses the same interior just in a different location. Im guess that you have to be standing at the “door”/location you want the the property. SO I get the database set up, go to a blank door on the map type /createProperty 3 89 5000 that would add yet another location, 3 = 3rd time using the same interior and 89 = the interior wanting to use and 5000= the price for the interior? Hope I’m help clear stuff ( for my self)

So basically when you create a new property, it creates where you’re standing. The coords you place in the file is the coordinates of the entrance inside the interior. I think i missed to explain that, my bad.

You can create an infinite amount of properties with the same interior.

You might want to take a look at how i create it in this video:

ok i think i understand now, two more question. first questions bob74_ipl is only going to be a requirement if im planning to use any of the base game stuff, If im planning to use nothing but brandnew custom interiors it should have nothing to do with bob74_ipl. question 2 wardrobe and storage is working?

That’s correct, only if you;re going to be using default GTA V interiors is required, if not you can take it off.

Storage is working by pressing F3. Wardrobe will be added soon.

ok thanks a ton for all your help looks like a amazing project ill get it in my server tonight and start messing with it, thanks for all the hard work.

1 Like

oops crap one more thing config has it esx ready, es_extended 1.1 good to go right?

and /createProperty 1 3 10000 that kind of command is just for admins/superadmin?

Yep, any version is fine.

and /createProperty 1 3 10000 that kind of command is just for admins/superadmin? IM sorry im so much trouble, i think thats the last one

any idea why i keep getting this error?

Actually is not, please go to your properties/client/main.lua (Line 39), change the end, false) to end, true) It’ll make it ACE admin lock.

oops i think you are trying to reply to rollincoal4lyfe i have not added it yet, looks like he might have a typo or something

1 Like