NVM Housing System [esx]

Hey, this is my “first” official script.

It’s a player based house system, each player may have a separate house, they can add/remove keys for other players
idle resmon is 0.00 - nearby is 0.05- 0.10

Depencies:
ESX
mysql async
Ox Inventory
ESX Menu Default (mine is different cause I use a reworked version)

Showcase:

Download:

Disclaimer…
I’m new to this, so if anyone can help to reduce the usage or improve it, I will gladly accept it.
otherwise please enjoy it.

If having a trouble with the script or with the installation. Or just have some idea or question:
Join the discord server!
CLICK ME TO JOIN

7 Likes

looking nice is ther a way to make it for QB?

2 Likes

nice work :100:
you need add Webhook Discord
For those who buy a house and build a house
If it were possible to have a job, officially or without, it would be realistically better

1 Like

Whow thats a great script! you did a wonderfull work man also free? You amazing bro.

1 Like

hey, thanks for the feedback, yes, I will make it possible soon, and update the script

Thanks man, appreciate ya :heart:

Hey, thanks for the feedback, I don’t find Discord Webhook too useful because it can only be used by admins, but
I will make it possible to have jobs, and I will update the script.

1 Like

Update 1.1

  • Added Preview for the interiors
  • Added WebHook if the config is by Jobs
  • Added multiple Config variations, By ESX group or Job , use item or command
  • Added the options for admin that can add a buyable house, or add instant for the player ID, and by that added a buyable houses
  • By jobs players can only be added a buyable house NOT for player ID

Update 1.2.0

  • Added Admin command, if they’re close to the house, it will automatically detect that house, and will show all information about it
  • Added in this menu, interior change, delete house, open/close house
  • Fix some bugs, and hopefully it’s gona work finally now
  • Reduced the updateions of the houses only when something is happening

Will do:

  • Selling options
  • Compatible with QB
  • More admin command…
3 Likes

Thank you Waiting for qbcore

1 Like

i need help what does this mean?

[ script:oxmysql] Table ‘s196_new.nvm_houses’ doesn’t exist
[ script:oxmysql] Error: nvm_house-main was unable to execute a query!
[ script:oxmysql] Query: SELECT * FROM nvm_houses

hello, maybe you forgot to upload the sql

1 Like

im not sure what that is ? is it in cfg file?

better to read about it/ look after it, but basically you have a database, if you in localhost and using xampp or smth it’s the mysql part, use phpmyadmin or heidisql, both are good, but yeah, if you don’t know these parts just read after it, there’s a lot of videos about it, cause i think I can’t explain more in writing detail sadly. Hope this can help you

i have hosting where do i input my sql

There are a bunch of selectable interiors, none of which actually work. The one that always spawns I think is called midcity_aprtment (or similar). Does this resource come with those interiors or do we have to get them somewhere else?

I think these interiors are included in the bob74_ipl, try to update if it’s not uo to date, or reinstall.

Ok thanks. Another couple of questions if that’s ok. The first house I built had a garage, the others I built (although I created the garage location) don’t have a garage blip. Any ideas?

I notice also the interiors are on the map and existing (which is fine). If two players have the same interior at their houses, and they are in their houses at the same time, they won’t be ‘in’ the same place at the same time will they?

Really excellent resource. Just would love to get the garages working (was working, now not)

Ok, figured out the garage issue.

The garage XYZ is fine, but the height they are spawning at is wrong. If I copy the last set of numbers from a vector4, and then add them into the database next to “h” it then works and sets the correct height.

the garages don’t have any blips thats why it’s not showing, only marker, but if you want I can added this option.
Each player get different dimensions based on the house ID if they entered the house. And if exit the house, get in the 0 dimension which is the default
So the garage is working now?
for the garage part, x,y,z for the coordtination z is for height, and the h is stand for heading

That’s odd, I put the vec4 for the height in “h” and it corrects the height. I’ll try putting it into Z and see what happens. but yes the garages are working perfectly!

1 Like