No not needed. If youd like add me on discord. REDRUM#7173 I can help more through blowing up the forums.
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!
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 . 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
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.
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
Do the same with me. But it still works
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
Thats nothing I can help you with. If it says it is invalid, it is invalid.
Finding out why is your job.