[FREE] Interaction Menu

vs_interactions

Bring life to your FiveM server with dynamic in-game interactions using vs_interactions

Transform how players engage with NPCs, objects, and the environment on your FiveM server with vs_interactions. This flexible script library empowers you to build immersive interaction systems through customizable action menus, event-based triggers, and proximity-based prompts. Whether you’re crafting detailed missions, casual player interactions, or unique roleplay moments, vs_interactions is a powerful tool for enriching your server’s interactivity.

Key Features

  • Dynamic Action Menus: Customizable interaction options for players, complete with FontAwesome icons for a sleek UI.
  • Distance-Based Interactions: Set proximity triggers for interaction, allowing for more immersive gameplay.
  • Event-Driven Triggers: Supports a range of interaction types, including functions, commands, and server events.
  • Optimized Performance: Designed for minimal impact on your server’s resources, ensuring a smooth gameplay experience.
  • Seamless Integration: Easily integrates with existing server scripts, allowing for flexible use across your game world.
  • Highly Customizable: Use exports to modify interaction conditions, options, and more for your specific needs.
  • Modern UI Design: Clean and responsive user interface, enhanced with FontAwesome icons for easy recognition.

Installation

Setting up vs_interactions is simple and quick:

  1. Download the vs_interactions script from the GitHub repository.
  2. Extract the folder into your server’s resources directory.
  3. Add ensure vs_interactions to your server.cfg file.
  4. Restart your server to enable the new interaction system.

Usage Example

Adding an interactive entity is easy. Use the export function to create a local entity with options for custom interaction.

exports.vs_interactions:addLocalEntity({
    entity = spawnedPed, -- The entity (NPC or object)
    icon = "fa-solid fa-user-ninja", -- Optional FontAwesome icon (customize as needed)
    distance = 2.0, -- Set the interaction distance
    options = {
        {
            label = 'Test', -- Menu label
            type = 'function', -- Interaction type (can be event / serverEvent / function / command)
            event = 'vs_interactions:BuyCoffee', -- Example event
            onSelect = function()  
                -- Code executed when selected
            end,
            canInteract = function()
                -- Conditions to check if interaction is available
                return true
            end
        },
    }
})

Download Here:

Our Other Releases

9 Likes

Innit just redesign of?

1 Like

The code is clearly different, and we didn’t even know that Demi-Automatic created his own world interactions. That’s interesting!

1 Like

really cool, I will use it in my project!

1 Like

VS_INTERACTIONS 0.0.2

  • Added addModel
  • Added removeInteract
1 Like

Could you add the Interactions To Other Players?

1 Like

I found it very, very interesting, much more beautiful than the “Target” I currently use.

1 Like

Thanks for using our script! Hope you will like it :slight_smile:

1 Like

Cool idea! Will try to add it :slight_smile: <3

2 Likes

You guys ask we bring B)

Here is official docs with all exports to use in vs_interactions <3

1 Like

Hey, I’m considering adding this to my fivem project. Im quite new to programming. This project is basically my only experience. If i run into issues, will you be avalible to answer a few questions? Also i’m mostly looking for an interaction menu like gta online but seeing the personal interactions i think that will fit in quite well with what im doing. Would it work for a normal gta online interaction experience?
Thanks
My git has the whole project on it. Cheers