Code Monkey home page Code Monkey logo

just_apartments's Introduction

Just Apartments



Dependencies

Optional Dependencies

Description

Adds apartments that can be rented by players the cost and rent length can be changed by apartment in the SQL along with a starter apartment on Alta Street includes an option to view an apartment before purchasing the ability to give keys to other players along with a stash using OX_Inventory and a wardrobe using BRP Fivem Appearance. I plan to add offices and a shared garage system for those that have keys to the same apartment along with any other suggestions I might receive.

Setup

  1. Ensure any dependencies before the script
  2. Run the SQL file
  3. Add TriggerServerEvent('just_apartments:getLastApartment') after your player spawns in if you use a spawn selector add it for last location option and TriggerServerEvent('just_apartments:updateLastApartment', nil) for any other option to prevent instancing outside of apartments

Support Me







just_apartments's People

Contributors

ziggyjojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

just_apartments's Issues

Problem when deleting a user's key

The key can be successfully given with the command and added to the database in the apartment_keys table. But when you go to delete it, the console gives an error and doesn't delete the key from the database.

errors

image

the last one is when i try to get into my owned apratment

the other ones where after a went out of previewing apartment

Alta Street Appart stash

alta street apartment stash is not private other player can take my or other players stast items only at alta street
please fix it and mak it private .
thank you.

The context is bugging

It is kinda buggy

For example: when you go into a polyzone of for example wardrobe and then go out of it, the context thing on the right disappears and then reappears and you can open the wardrobe even when you are not in the zone. Only way you can fix that is by going into the polyzone again and out again and it wont appear

in the image you can see that I am not in the polyzone and it shows the context

image

Open inventory

It always opens the inventory, even when one moves away many meters
There is a solution? Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.