MOONO
1
mVehicles NEW MONO_CARKEYS
You can simply use this code to manage the vehicle keys on your server, or for more things,
READ IS NOT LAVA
Features
-
Fully compatible with ESX , QBOX, standalone (requires database), OX Everything works, but the vehicles do not spawn when the server loads, pending.
-
Vehicle are persistent.
-
Ability to add metadata to vehicles.
-
Records total kilometers driven by vehicles.
-
Key system via item or database.
-
Engine ignition by Key item/db
-
Menu for sharing keys (Default in ox Radial menu).
-
FakePlate only works with vehicles spawned by the Vehicles.CreateVehicle() and ox_inventory item
-
Hotwire & Lockpick items
-
Commands
-
/givecar [source]
-
/setcarowner [source]
-
/saveAllcars true/false
: If true, deletes all vehicles; if false, only saves vehicles.
-
/spawnAllcars
: Forces spawning of vehicles outside of garages.
Image
Other Features
- Target for managing the trailer tr2.
Dependencies
Recommended latest
FiveM GameBuild
Shared file
shared_scripts { '@mVehicle/import.lua' }
Install
- update SQL
- Server.cfg
- set mVehicle:Persistent true/false (Default false)
- start the code after the dependencies of ox and your framework
DOWLOAD
mGarage
7 Likes
Very good script . I have a question, could you add grade option if vehicle have job? For example:
job = ‘police’
grade = ‘3’
MOONO
4
It’s already fixed, any questions about the garage pls here :)))
2 Likes
MOONO
6
You are doing something wrong.
Is it possible to use your own script for the keys?
MOONO
9
Yes you can use it only for the keys.
hey i think the scripts are nicee but i am having an issue with this
[ script:mVehicle] SCRIPT ERROR: @mVehicle/server/main.lua:557: attempt to call a nil value (global ‘Identifier’)
[ script:mVehicle] > ref (@mVehicle/server/main.lua:557)
[ script:mVehicle] > [global chunk] (@mGarage/server/main.lua:54)
[ script:mVehicle] > handler (@ox_lib/imports/callback/server.lua:96)
MOONO
12
This update is not the definitive of everything that will bring the new version, we will simply release content.
New
In progress
- Sound for engines by ITEM (mVehicle)
- New keys and personal vehicles menu (mGarage)
- New Documentation (mGarage & mVehicle & mVehicleshop )
FIX
- when spawning a vehicle sometimes it came out with a different license plate, now it will run a loop until the correct value is applied.
nice, unfortunately i decided to go back to QBCore since a lot of my paid scripts fail to work with qbx at the moment with no updated exports for qbx