[Release] Add-On Vehicle Spawn Menu

No not needed. If youd like add me on discord. REDRUM#7173 I can help more through blowing up the forums.

1 Like

added, my discord is Mist#9684

Since I got a few request about this, I am posting it here!

If you want to add custom categories DO NOT edit 0 - 22!!! These are the default categories.

To add custom categories look what I did with 23 - 27 (Custom Class 1-5) and do the same by adding new lines!

1 Like

Ik heb gezien aan de foto’s dat je nederlands bent. Leuk om dan tog nog mede-kaaskoppen tegen te komen aangezien we zoon klein kikkerlandje zijn :smile:. Ik wilde even mijn complimenten geven over de spawnmenu. Maar heb wel een kleine vraag, hoe kan ik een categorie in een categorie maken? bvb dat ik emergency kies en dan nog een categorie krijg met politie, brandweer, ambulance etc…?

How do I know which vehicle class is which, because I can’t tell what VEH_CLASS_1 is.
Is there a list for these?

EDIT: Think I might have found something
https://wiki.■■■■■■■■■■■/index.php?title=Vehicle_Classes

[0] = GetLabelText('VEH_CLASS_0'),	--Compacts
[1] = GetLabelText('VEH_CLASS_1'),	--Sedans
[2] = GetLabelText('VEH_CLASS_2'),	--SUVs
[3] = GetLabelText('VEH_CLASS_3'),	--Coupes
[4] = GetLabelText('VEH_CLASS_4'),	--Muscle
[5] = GetLabelText('VEH_CLASS_5'),	--Sports Classics
[6] = GetLabelText('VEH_CLASS_6'),	--Sports
[7] = GetLabelText('VEH_CLASS_7'),	--Super
[8] = GetLabelText('VEH_CLASS_8'),	--Motorcycles
[9] = GetLabelText('VEH_CLASS_9'),	--Off-road
[10] = GetLabelText('VEH_CLASS_10'),	--Industrial
[11] = GetLabelText('VEH_CLASS_11'),	--Utility
[12] = GetLabelText('VEH_CLASS_12'),	--Vans
[13] = GetLabelText('VEH_CLASS_13'),	--Cycles
[14] = GetLabelText('VEH_CLASS_14'),	--Boats
[15] = GetLabelText('VEH_CLASS_15'),	--Helicopters
[16] = GetLabelText('VEH_CLASS_16'),	--Planes
[17] = GetLabelText('VEH_CLASS_17'),	--Service
[18] = GetLabelText('VEH_CLASS_18'),	--Emergency
[19] = GetLabelText('VEH_CLASS_19'),	--Military
[20] = GetLabelText('VEH_CLASS_20'),	--Commercial
[21] = GetLabelText('VEH_CLASS_21'),	--Trains
[22] = 'Trailer', 			--Trailers

Updated to v3.0.3



  • Minor Fixes


Download in the First Post!

1 Like

Many thanks for making this cool menu. So onces again… THANKS!!!

I install the resource. Add to my server.cfg. then in game the home button opens the es admin menu. I’ve tried changing the keybind but it doesn’t change.

1 Like

This works great on our server. People love it. Especially because we have over 120 addons. Question: I read the entire post from top to bottom and I didn’t see anything relating to moving the menu from one side of the screen to the other or perhaps making it centered? I checked the client lua and didn’t see anything that stood out as far as pos is concerned. Anyone?

For the life of me I can’t figure out how to move the menu to the other side of the screen, It shows up under out chat, which given it isn’t bad but its still kinda annoying. ( https://gyazo.com/d88e2cc5d572e3e04a1d5f9a828c70b3 ) I know that it just requires changing a few numbers but I can’t tell where they are. Is it an option somewhere that I’m missing or is it just not anywhere in the code at all.

Does this menu have a preview of the vehicle?

Could not find dependency NativeUI for resource AddOnVehicleSpawnMenu.

downloaded the latested version an when i start up my server this comes up

##############

AddOnVehicleSpawnMenu

Current Version: 3.0.3

Newest Version: 3.0.2

Outdated

Check the Topic (type DownloadAOVSM and press enter)

For the newest Version!

##############
CHANGES:

  • Added Add-On Vehicles.txt auto-converting code
  • Minor bugfixes

i’m not sure why this is coming up if i got the 3.0.3 version from the beginning

1 Like

Do the same with me. But it still works :slight_smile:

1 Like

so i made a work around on getting it fixed…
server/server.lua
i just changed the 3.0.3 to 3.0.2
then – the hole check update version to hide it from showing on the server startup

local LatestVersion = ‘’; CurrentVersion = ‘3.0.2’
local GithubResourceName = ‘AddOnVehicleSpawnMenu’

–PerformHttpRequest(‘https://raw.githubusercontent.com/Flatracer/FiveM_Resources/master/’ … GithubResourceName … ‘/VERSION’, function(Error, NewestVersion, Header)
–PerformHttpRequest(‘https://raw.githubusercontent.com/Flatracer/FiveM_Resources/master/’ … GithubResourceName … ‘/CHANGES’, function(Error, Changes, Header)
–LatestVersion = NewestVersion
–print(’\n’)
–print(’##############’)
–print(’## ’ … GetCurrentResourceName())
–print(’##’)
–print(’## Current Version: ’ … CurrentVersion)
–print(’## Newest Version: ’ … NewestVersion)
–print(’##’)
–if CurrentVersion ~= NewestVersion then
–print(’## Outdated’)
–print(’## Check the Topic (type DownloadAOVSM and press enter)’)
–print(’## For the newest Version!’)
–print(’##############’)
–print(‘CHANGES:\n’ … Changes)
–else
–print(’## Up to date!’)
–print(’##############’)
–end
–print(’\n’)
–end)
–end)

hi is getting the menu and all but when i try to spawn the car it says invalid model

Fixed!

You know… it is invalid then

well the thing is that i don’t know what model it’s refering to. it’s named de same as the car i have added

:man_shrugging:t2: Thats nothing I can help you with. If it says it is invalid, it is invalid.

Finding out why is your job.