[Release] ActionMenu [1.0.1] (Updated April 2018)

Please read or search in this post before asking something next time.

Add this to your submenu for a back button:

<button onclick="ResetMenu()">Home</button>

And for the menu to stay when clicking a button remove this code at the bottom of your button actions (lua file)

ToggleActionMenu()

If you still require assistance, don’t hesitate to ask someone or PM me.

1 Like

Is it possible to add emotes like smoking to this menu?

i wil try as alot of other people complain about it not working when it works for me :wink:

Alright, tell me how it goes

Alright so i have placed a few commands in, the buttons show up but do nothing, any help is appreciated. i have attached pictures, not sure what i did wrong… https://gyazo.com/db577544bd6f6bd502bb7fc8c04e4d5e
https://gyazo.com/6d3d7dd5cd736bcf57f4bd4e2eb95917
https://gyazo.com/1cd8fc5e487c6f104aa994406db458bb
https://gyazo.com/c3fd9b8b91b7f19a4a58fdb54e5a5960
https://gyazo.com/715c6f84ca8ae9b5d8d50242f31a0c23

How can I change it from a keyboard button (Default Z) to a /info command in text chat. For some reason I can get it working in my own personal test server but as soon as it was put into the main server I couldn’t open the UI.

I do want to change the key command to a /info command.

If anyone has any ideas why the main server would not open the UI using the key let me know.

The main server does have Dispatch V2.0. Could this UI be causing an issue? If so how do I resolve this.

could someone help me set this up this is my first time and i really like this and want this big time

I need a bit of help with a project i’m working on. I’m new to JS, and HTML, but not lua. I am confused no how would I go about blocking the visibility of certain submenus, for example if the player were under the user.cop > 0, for my database that those buttons and submenu would pop up when they open the screen. And as well whats the easiest way to go about looping through a couch.db table inventory items, and create a button per inventory item the person has. Very complex, but if I can figure it out, the entire system would be great to use with my framework. Any advice or tips will help. Thanks!

is there someone who has this working? if so can you make it to where people can download it becuz ive been trying soo hard to get this working for the past week and cant…

Im currently working on it too - the only thing I cant figure out is how to add Emotes/Scenarios to the buttons

do you have the windows/drag/cuff and stuff like that?
and is it working

As of yet nope, just got hands up knees to work

ya see thats the only ones i could get too

if someone had a complete one for download they would get sooo many downloads

Anyone know how to remove the input block and allow movement while menu is open?

+1 on this… I’d also like to be able to still keep the keyboard control input… I’m guessing it might have something to do with the input groups as seen at the top here: https://wiki.fivem.net/wiki/Controls

How did you manage to get Emotes on the buttons, may I ask??

I just made a main menu called ‘emotes’ and assigned it to a submenu, with all the different emote button choices

I wanna add the roll windows script in but for some reason i don’t see where I could impliment that

You need to add it in yourself. By using functions or events.