Skip to content

MH-Trailers for (QB/ESX) Transport all your vehicles with trailers.

License

Notifications You must be signed in to change notification settings

MaDHouSe79/mh-trailers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi 👋, I'm MaDHouSe

A passionate allround developer

My Youtube Channel and Discord

MH-Trailers (QB/ESX)

  • Support QB/ESX Framework
  • Transport all your vehicles with trailers.
  • Trailer rent shop build in.

QB Dependencies

  • qb-target
  • qb-input

ESX Dependencies

  • ox_lib
  • ox_target

Support (QB/ESX)

  • ox_lib
  • ox_target

🎥 Video 👊😁👍

Watch the video

NOTE fxmanifest.lua

  • don't forget to edit fxmanifest.lua to your server needs.

ESX fxmanifest.lua

shared_scripts {
    '@es_extended/imports.lua', -- only if you use esx framework
    '@ox_lib/init.lua',         -- only if you use ex_lib
    'core/mconfig.lua',
    'core/locale.lua',
    'core/vehicles.lua',
    'locales/*.lua',
    'config.lua',
}

QBCore fxmanifest.lua

shared_scripts {
    --'@es_extended/imports.lua', -- only if you use esx framework
    --'@ox_lib/init.lua',         -- only if you use ex_lib
    'core/mconfig.lua',
    'core/locale.lua',
    'core/vehicles.lua',
    'locales/*.lua',
    'config.lua',
}

QBX fxmanifest.lua

shared_scripts {
    --'@es_extended/imports.lua', -- only if you use esx framework
    '@ox_lib/init.lua',         -- only if you use ex_lib
    'core/mconfig.lua',
    'core/locale.lua',
    'core/vehicles.lua',
    'locales/*.lua',
    'config.lua',
}

QB/QBX Server.cfg

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
ensure oxmysql

ensure ox_lib

# QBCore & Extra stuff
ensure qb-core
ensure [qb]

ensure ox_target
ensure mh-syncfuel

ensure [standalone]
ensure [voice]
ensure [defaultmaps]

ensure mh-trailers

ESX Server.cfg

ensure chat
ensure spawnmanager
ensure hardcap
ensure oxmysql
ensure bob74_ipl

ensure ox_lib
# ESX Legacy Core
# ----------
ensure [core]

# ESX Addons
# ----------
ensure PolyZone
ensure mh-trailers

ensure [standalone]
ensure [esx_addons]

# Additional Resource
# -------------------
ensure pma-voice

How it works

  • Everyting works with the target eye.
  • First you look with target to the trailer, then you get a few options,
  • fist use ramp down than use platform down, you can now put vehicles on the top of this platform,
  • then you lock the vehicles by looking to the trailer and use again the target, and then you can raise the platform.
  • With this the all top vehicles will be locked automaticly.
  • When you have raised the top platform, you can then use the lower platform.
  • which it in this order and it should work fine.

My trailers does not work

  • Make sure you add the right trailer hash key in the config file
  • same for the vehicles
  • make sure all settings in the config are correct.

NOTE for ignore vehicles.

  • What this does is, it ignore the vehicle you tow the trailer with,
  • if you don't add this vehicle hash in the ignore vehicle in the config file things does wrong and the truck will also be stuck on the trailer,
  • so don't forget this part cause i'm not going to help you fixing your issues if you don't read this file.

Adding new trailers

  • Make sure you add all settings in the config file correctly.
  • cause i'm not going to help adding more trailers, cause it's not that hard to do.

LICENSE

GPL LICENSE
© MaDHouSe79

About

MH-Trailers for (QB/ESX) Transport all your vehicles with trailers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages