[PAID] FiveM - Interaction menu

FiveM - Interaction menu

The script adds an interaction menu that we can add to objects, vehicles and peds. Just point the center of the screen at the entity and then press selected key to bring up the menu.

The script has already implemented one menu, thanks to which we can open or close the vehicle doors.

Adding more menus is simple. I attach to the script examples that will allow you to add a new menu, but if you don’t know the basics like using events or functions - i don’t recommend buying this resource.

Download

Tebex

Video:

Video

4 Likes

Seems nice, can you post how do you setup a new object with function ? (Screenshot of code)

local menu = {
    {
        label = '💶 Withdraw money',
        use = function()
            print('You clicked withdraw money button.')
        end
    },
}

exports['resource_name']:addNewMenu('atm', menu)
exports['resource_name']:addMenuToEntity(entity, 'atm')
2 Likes

Is there a max amount of options per entity? Or can each entity have as many options as needed?

This script is a copy of the vtarget with the modified functions.

Sooooo… It’s different? It can’t be a copy and modified at the same time.

I mean, I’m looking at an example of this code that he posted and comparing it to an example of vtarget code that is posted over there and unless I’m missing something, they aren’t even close to being the same.

Did you buy this just to compare the two or just assuming because they work in a same fashion? If you are going to be that picky, there are a TON of scripts, including paid script, that work the same as other scripts. Heck, there are even some that look similar.

Are there any other exports?

Only 4 options can be added.

At this time, no.

Is it possible to make the target a single entity at a specific location rather than all over the map?

Look at qtarget - It does the same but you can add what you want.
I’ve seen EMS/Police menu moved to that - And it takes in advantage of PolyZones.