Giter Site home page Giter Site logo

vehicle-system's Introduction

Vehicle System 0.26d

(Required Resource(s): cpicker)

alt text

A freeroam-rpg based vehicle system with a variety of features. This version is much more expandable, also open-source so you can freely edit, adjust and configure to your own needs.

Features

  • Ability to purchase a car.
  • Automatically fetch shops from table, and assign vehicles with prices.
  • A panel located on F2 which shows your vehicles and lets you spawn them to you.
  • Use the following features of /engine, /handbrake, /park and /lights. These are also binded on J - Engine, L - Lights.
  • Players can enter your vehicles if they are not locked.
  • Carshop Structure improved, more RPG feeling with icons next to them and generated GUI's.
  • Shops expanded, now includes a Bike Shop and 2 more Carshop Locations in Los Santos; this can be configured in g_carshops.lua.

Commands

  • /lock or Press K: This locks your vehicle, if you are near your vehicle it will also lock it.
  • /lights or Press L: This allows you to turn on/off your vehicle lights.
  • /engine or Press J: This will allow you toggle your engine.
  • /park: This allows you to park your vehicle, which saves it's current position in-case of server/script restarts.
  • /handbrake: This allows you to put a handbrake on your vehicle, it'll disable player vehicle pushing.
  • F2: Toggles menu which shows your owned vehicles and allows you to spawn them with you in it.

Configuration

  1. To install the script simply drag and drop it in your resources folder and press start, make sure you also download the required resource - cpicker - In your mtaserver.conf add the following resource: <resource src="vehicle-system" startup="1" protected="0" />
  2. If you'd like to add more shops, there's an example left in g_shops.lua simply copy and paste that to add more shops.

Bugs

If you find any bugs, please contact me, Discord: FlyingSpoon#6633

Screenshots

alt text alt text

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.