im trying to get it call my vehicle extra menu and liveries menu but it wont register it…no errors codes any ideas?
Do you have an event to open up those menus?
I’m trying to figure out if there is an event to open up the radar menu for RS9000, I’ll keep you updated here.
yes im using the vehicle extra and liveries menu on fivem
This is UD_Menu
extraItem.Activated = function(sender, item)
_menuPool:CloseAllMenus()
TriggerEvent( 'VLM:AdminStatusChecked' )
exports['mythic_notify']:SendAlert('success', 'Extra Menu Opened', 5000)
end
and this is what its registering
RegisterNetEvent(‘VLM:AdminStatusChecked’)
AddEventHandler(‘VLM:AdminStatusChecked’, function(State) --Just Don’t Edit!
IsAdmin = State
end)
Might be because you’re not passing the parameter “State”. Do you mind linking the extra menu that you’re referring to?
From the looks of it, you would need to create an event since there isn’t one to open it.
how would i code that im kinda new to the coding im trying to learn
would it be like this
RegisterNetEvent( ‘VEM:extramenu’ )
AddEventHandler( ‘VEM:extramenu’, function()
end
That’s a start, I would suggest learning Lua, and how to implement it in FiveM before trying to edit scripts. There are some very useful tutorials on YouTube that would teach you these types of things.
Sorry, I don’t know what you mean?
Hey, having a few issues here.
I switched my open menu key to F5, not sure if that would cause any issues. It opens the menu and everything seems to work, however the menu doesn’t open inside vehicles. Also, whenever I unrack my Carbine I cannot switch to any other weapon until I rack it back.
How would one go about fixing these?
What control ID did you use?
Also it’s meant that you cannot switch weapons till you rack your AR.
Is there a way to disable that? So I can switch weapons whilst having a weapon unracked.
Well question, I also have it so that you can only have the AR if you unrack it, do you want that removed as well?
Does the menu allow you to unrack the AR or Shotgun, & then switch to another weapon (such as the Taser or baton) or do you need to rack it back before being able to switch to another weapon?
(Few menus I’ve tested wont let you switch weapons when you’ve equipped the AR or Shotgun & force you to unequip/ rack them back before being able to switch weapons)
Yeah you need to rack the weapon before you’re able to switch weapons, in the next update I’ll add it so you can toggle if you want that option or not.
Good to know.
Can’t wait for the next update.
I’ll be using that with the weapons on back script, so if that’s disabled it would hopefully let me switch weapons & place the AR or Shotgun on my back?
Yeah since you’ll be allowed to switch weapons.
166 is the keybind that I used for F5.