myTrunk - Advanced vehicle trunk

A script by Luiiis

No reviews yet.
myTrunk - Advanced vehicle trunk  main image

Full Description


Hey guys,

with myTrunk I want to present an advanced trunk solution, which was requested multiple times by our community.

Features:

  • Simple configuration options for maximal trunk weight, item and weapon amount per vehicle category

    → You can store items and weapons in the trunk

  • Configurable item weights for every single item.

  • Support for the ESX Weight System and the old ESX Item Limits system (can be configured in the Config)

  • Optional event to open the vehicle trunk f.e. from a vehicle menu script:

    TriggerEvent('myTrunk:openTrunk', currentCar, vehiclePlate)
  • Beautiful trunk menu with NativeUI with refresh function

  • The trunk is saved based on the number plate in the database. So you can also access the trunk of police, ambulance or job vehicles in general. Be sure every number plate is unique on your server!

  • English and German Translations are included, as always :wink:

Update 19.09.2021:

  • You can now store money and black money in the trunk

image

Showcase:

Trunk menu:
image

Simple Configuration:
Set up different maximum weights, and optional item and weapon amounts for every vehicle category in the Config:

Config.VehicleLimit = {
    [0] = {item = 4, weapon = 1, maxWeight = 4000}, --Compact
    [1] = {item = 6, weapon = 1, maxWeight = 4000}, --Sedan
    [2] = {item = 7, weapon = 2, maxWeight = 4000}, --SUV
    [3] = {item = 5, weapon = 1, maxWeight = 4000}, --Coupes
    [4] = {item = 7, weapon = 1, maxWeight = 4000}, --Muscle
    [5] = {item = 6, weapon = 1, maxWeight = 4000}, --Sports Classics
    [6] = {item = 3, weapon = 1, maxWeight = 4000}, --Sports
    [7] = {item = 3, weapon = 1, maxWeight = 4000}, --Super
    [8] = {item = 1, weapon = 0, maxWeight = 4000}, --Motorcycles
    [9] = {item = 9, weapon = 1, maxWeight = 4000}, --Off-road
    [10] = {item = 11, weapon = 1, maxWeight = 4000}, --Industrial
    [11] = {item = 1, weapon = 1, maxWeight = 4000}, --Utility
    [12] = {item = 10, weapon = 2, maxWeight = 8000}, --Vans
    [13] = {item = 1, weapon = 0, maxWeight = 4000}, --Cycles
    [14] = {item = 4, weapon = 1, maxWeight = 4000}, --Boats
    [15] = {item = 6, weapon = 1, maxWeight = 4000}, --Helicopters
    [16] = {item = 10, weapon = 3, maxWeight = 4000}, --Planes
    [17] = {item = 6, weapon = 1, maxWeight = 4000}, --Service
    [18] = {item = 6, weapon = 3, maxWeight = 4000}, --Emergency
    [19] = {item = 0, weapon = 0, maxWeight = 4000}, --Military
    [20] = {item = 18, weapon = 5, maxWeight = 4000}, --Commercial
    [21] = {item = 0, weapon = 0, maxWeight = 4000}, --Trains
}

Included languages: english, german
As always, all strings can be set up simply in the Config.

Dependencies:

  • ESX
  • NativeUI

Price: 4.99€ + tax
Get it at https://luis-scripts.tebex.io/package/4683967

Feel free to check out my other scripts

myDJ
myMinijobs
myMailing
myJobsystem
myCrafting
myImpound
myDrugs
myClothesshop
myProperties
myMapbuilder
myShops
myMultichar
myBills
EnhancedBarbershop
myATMRobbery