Opto Interaction [STANDALONE]

Our brand new interaction system is available at our Tebex store!

Preview/Showcase

Purchase

Experience FiveM like never before with our innovative script that brings together functionality, design, and proximity-based mechanics. Elevate your gameplay to new heights and immerse yourself in a virtual world that feels truly alive. Get ready to embark on a gaming adventure that pushes the boundaries of what you thought was possible.

Config file

-- Every function on this config is an example and won't work unless you add a real event

Config = {}

Config.OpenKey = 243 -- You can change the key to open the interaction menu  https://docs.fivem.net/docs/game-references/controls/
Config.DistancePed = 2.0 -- Maximum distance to open the interaction menu on a ped
Config.DistanceObject = 2.0 -- Maximum distance to open the interaction menu on a object
Config.DistanceVehicle = 4.0 -- Maximum distance to open the interaction menu on a vehicle

Config.Object = { -- Here you add the object hash to add an interaction
    [-1364697528] = {
        hash = -1364697528, -- Hash of the object who can be opened through the menu https://gtahash.ru/
        offset = { -- Offset of the interaction on the object
            x = 0,
            y = 0,
            z = 1.3
        },
        menu = {
            function(hit)
                return {
                    header = "ATM",
                    texto = "Interactions",
                    menu = {
                        {
                            texto = "Example Function",
                            type = "c",
                            event = "event:Name",
                            args = {},
                            icon = "fa-solid fa-money-bills"
                        }
                    }
                }
            end
        }
    }
}

Config.Menus = {
    ["veh"] = { -- Menu of the vehicle you're selecting
        function(hit)
            return {
                header = "VEHICLE",
                texto = "Interactions",
                menu = {
                    {
                        texto = "Example Function",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fa-solid fa-car"
                    }
                }
            }
        end
    },
    ["ped"] = { -- Menu of the ped you're selecting
        function(hit)
            return {
                header = "NPC",
                texto = "Interactions",
                menu = {
                    {
                        texto = "Sell Drugs [Example]",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fas fa-cannabis"
                    }
                }
            }
        end
    },
    ["ply"] = { -- Menu of the player you're selecting
        function(hit)
            return {
                header = "PLAYER",
                texto = "Interactions",
                menu = {
                    {
                        texto = "Phone number [Example]",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fa-solid fa-phone"
                    },
                    {
                        texto = "Cuff [Example]",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fa-solid fa-handcuffs"
                    },
                    {
                        texto = "Carry [Example]",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fa-solid fa-person"
                    }
                }
            }
        end
    },
    ["user"] = { -- Menu of self user you're selecting
        function(hit)
            return {
                header = "USER",
                texto = "Interactions",
                menu = {
                    {
                        texto = "Parkour mode [Example]",
                        type = "c",
                        event = "event:Name",
                        args = {},
                        icon = "fa-solid fa-shoe-prints"
                    }
                }
            }
        end
    }
}

Code is accessible | Partially
Subscription-based | No
Lines (approximately) | 1400
Requirements | Standalone [None]
Support | Yes

1 Like

Tebex price lowered!

It looks nice but 25€ are still a bit to much

25€ compared to the other interactions on the market is a gift, we spent so much work on this script and made it from scratch.

Well add polyzone support and im thinking about buying it

Op-Interaction v1.1 live with minor fixes about hash detection!