Giter Club home page Giter Club logo

mh-parking's Introduction

mh-parking

  • An Advanced Parking System build by MaDHouSe79.

subscribe to my channel It helps the channel grow Youtube

๐Ÿ“ธ Screenshot ๐Ÿ‘Š๐Ÿ˜๐Ÿ‘

foto1 foto1 foto1 foto1 foto1 foto1 foto1 foto1 foto1 foto1 foto1

๐ŸŽฅ Video ๐Ÿ‘Š๐Ÿ˜๐Ÿ‘

Watch the video1 Watch the video1

๐Ÿ’ช Dependencies

๐Ÿ’ช Optional

๐Ÿ™ How to install and do not forget anything, or it will not work, or give many errors.

  • ๐Ÿ‘‰ Step 1: First stop your server. ๐Ÿ˜
  • ๐Ÿ‘‰ Step 2: Copy the directory mh-parking to resources/[qb]/
  • ๐Ÿ‘‰ Step 3: Add the player_parking.sql with 2 tables to your correct database.
  • ๐Ÿ‘‰ Step 4: Start your server.
  • ๐Ÿ‘‰ Step 5: Add your self or other as vip, you can use the command: /park-addvip [id]
  • ๐Ÿ‘‰ Step 6: Most important step -> Enjoy ๐Ÿ‘Š๐Ÿ˜Ž๐Ÿ‘

๐ŸŽฎ Commands

  • ๐Ÿ‘‰ Typ "/park" to park or drive your vehicle where you are at that moment. (Users and Admins)
  • ๐Ÿ‘‰ Typ "/park-names if you want to display the names ontop of the vehicle that is parked. (Users and Admins)
  • ๐Ÿ‘‰ Typ "/park-lotnames if you want to display the names of the parking lots. (Users and Admins)
  • ๐Ÿ‘‰ Typ "/park-cmenu" to create a new parking space (Admin only)
  • ๐Ÿ‘‰ Typ "/park-bmode" to go in to build mode (Admin only)
  • ๐Ÿ‘‰ Typ "/park-system" if you want to turn on or off the system. (Admin Only)
  • ๐Ÿ‘‰ Typ "/park-usevip" to turn on and of the vip system
  • ๐Ÿ‘‰ Typ "/park-addvip [id]" if you want to add a vip. (Admin Only)
  • ๐Ÿ‘‰ Typ "/park-removevip [id]" if you want to remove a vip. (Admin Only)
  • ๐Ÿ‘‰ If you want to use the F5 button, you must add it to your /binds and add on F5 the word "park"

Unpark trigger event (use this client side)

  • this only unpark the vehicle, it does not delete the entity from the gameworld.
TriggerServerEvent('mh-parking:server:unpark', plate)

๐Ÿ‘‡ To keep things nice and clean for the qb-core system and database.

  • โœ… Go to resources[qb]/qb-core/server/player.lua around line 506, and find, local playertables = {}.
  • โœ… This is, if we want to delete a character, we also want to delete the parked vehicles in the database,
  • โœ… Place the line below at the bottom in playertables (there are more insite), so place this one at the bottom.
{ table = 'player_parking' },
{ table = 'player_parking_vips' },

๐Ÿž Any bugs issues or suggestions, let my know. ๐Ÿ‘Š๐Ÿ˜Ž

๐Ÿ™ˆ Youtube & Discord

mh-parking's People

Contributors

madhouse79 avatar nemadev avatar mulgirtab avatar berkiebb avatar

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.