Code Monkey home page Code Monkey logo

az_trailer-update's Introduction

Update

Simple quality of life update for az_trailer

  • Removed RageUI Menu and implemented QB-Target & QB-Menu

  • Moved location to Mosley's Auto Service in Southside, opposite Mega Mall

  • Added some more config options

  • Updated notifies

  • Updated locale

Dependencies

  • QB-Core

  • QB-Target

  • QB-Menu or ox_lib (for ox context menu)

  • Tested with lj-inventory / qb-inventory

Installation

  • Download ZIP

  • Drag and drop resource into your server files

  • Rename folder to "az_trailer"

  • Start resource through server.cfg

  • Add this to your qb-target\init.lua inside of the Config.TargetModels table:

["TrailerRental"] = {

models = {

`S_F_M_Autoshop_01`,

},

options = {

{

type = "client",

event = "az-trailer:openMenu",

icon = "fas fa-car",

label = "Rent Trailer",

},

},

distance = 4.0

},
  • (Optional) Add this to your ps-ui\html\style.css
.warning {

background-color: rgba(236, 176, 11, 0.85);

color: #333333;

}

Commands

The basic commands present are :

  • Attach/detach the vehicle to the trailer - ("/attach"), ("/detach")

  • Open and close the trunk to the Tr2 (one large tow truck for several vehicles) - ("/opentrunktr2"), ("/closetrunktr2"),

  • Slide the ramp to access the second floor of the Tr2 - ("/openramptr2"), ("/closeramptr2"),

  • Install and remove a ramp for easier access to the vehicle - ("/setramp"), ("/deleteramp"),

Preview

https://youtu.be/25m407oDAMg

Credits

Original README Below

Group 2 (1)

Love name name LUA Ko-Fi

Informations

The az_trail is a script that will allow you to use boat, motorcycle, car, helicopter and plane trailers. But what is the difference with other trailer script that we can already find then? All the positions that your vehicles will adopt on the trailer are dynamic, which means that you don't need to make a configuration of each position on each trailer.

This script offer you this for free and with a non-encrypted code. I use RageUI to make the trailer store menus but you can totally change to put your own menus since the code is totally open source.

Configuration

A vehicle configuration that can be used as a remoque is present, allowing you to choose which class of vehicle it can accommodate, I made it as simplistic as possible to avoid you spending too much time on it!

Trailer vendors are configurable very quickly in the configuration allowing you also to limit them to certain trades.

Translation in the configuration file for your convenience as well.

Ramp

Because it can be sometimes complicated to access a vehicle that will be used as a trailer, a command is available to install a small ramp that will allow you to access more quickly, it is created only in the customer of the one who installs it to avoid problems of trolleurs, a command can also remove this ramp.

Small novelty which also makes its appearance in this script, the accounting QBCore included. From now on you could totally use the scripts directly also in QBCore, you just have to go in the config to activate it.

Pictures of the script

Cars

alt text

Boat

alt text

Trailer for several cars

alt text

Moto

alt text

Rampe

alt text

Preview

https://youtu.be/3dT0VTdSASQ

Commands

The basic commands present are :

  • Attach the vehicle to the trailer

  • Detach the vehicle from the trailer

  • Open and close the access ramp to the Tr2 (one large tow truck for several vehicles)

  • Slide the ramp to access the second floor of the Tr2

  • Install and remove a ramp for easier access to the vehicle

az_trailer-update's People

Contributors

azerothwav avatar randolio avatar thatmadcap avatar vxrtigo 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.