Var FiveM
ScriptPacchettiAbbonamentiDocs
VAR
Var FiveM
ScriptPacchettiAbbonamentiDocs
Personalizza temaChi siamoContatti
Acquista ora

-- 28 sections

  • ›paintball
    • configuration
    • features
    • anti-cheat-integration
    • game-modes
    • api
    • arenas
    • command
    • config
  • ›chess
    • configuration
    • events
    • integration-example
    • exports
    • controls
    • config
  • ›supermarket simulator
    • configuration
    • catalog-manager
    • commands-and-permissions
    • props-editors
    • owning-and-running-a-store
    • config
  • ›coins shop
    • configuration
    • identifier
    • export
    • server-event
    • languages
    • products
    • delivery
    • owner-panel
    • webhooks-discord
  • ›clothes shop
    • installation
    • configuration
    • blips-marker
    • translate
    • change-cam-and-pos
  • ›casino
    • installation
    • configuration
    • main-config
    • horse
    • lucky-whell
    • translate
  • ›drugs
    • installation
    • configuration
    • labs-and-interiors
    • maintenance-and-modules
    • missions
    • street-selling
    • administration
  • ›clothes shop v2
    • installation
    • configuration
    • position
    • advice-and-troubleshooting
    • configure-clothing-shops
  • ›interaction
    • configuration
    • public-api
    • interaction-config-reference
    • dialog-system
  • ›emote
    • configuration
    • config
    • adding-emote
    • menu
    • keybind
    • modules
    • 3d-placement
    • playlist
    • wheel
    • shared-emotes
  • ›crew
    • installation
    • export
  • ›alert job
    • installation
    • server-export
  • ›pin code
    • installation
    • export
  • ›society manager
    • installation
    • export
    • configuration
    • translate
    • max-salary
    • last-invoice
  • ›property
    • installation
    • configuration
    • translate
    • add-interior
  • ›barber shop
    • installation
    • configuration
    • change-menu-open-source
    • blips
    • translate
    • add-shop
  • ›shop with basket
    • installation
    • configuration
    • item-category-config
    • blips-marker
    • translate
    • add-shop
  • ›tattoo shop
    • installation
    • configuration
    • edit-tattoo
    • blips-marker
    • translate
    • add-shop
  • ›gardener job
    • installation
    • configuration
    • change-pos-farm
    • blips
    • translate
  • ›heist atm
    • installation
    • configuration
    • event-money
    • translate
    • police-alert
  • ›heist fleeca
    • installation
    • configuration
    • translate
    • pos-fleeca-heist
  • ›poster job
    • installation
    • configuration
    • change-pos-farm
    • change-poster-texture
    • blips-marker
    • translate
  • ›loading screen
    • installation
    • configuration
  • ›bank
    • installation
    • configuration
    • position
    • blips
    • translate
    • society
  • ›autocardealer
    • installation
    • configuration
    • add-vehicles
    • translate
    • blips
    • coords
  • ›character creator
    • installation
    • configuration
    • translate
    • expression
    • spawn
  • ›multi character
    • installation
    • configuration
    • translate
    • change-character-creator
    • commands
  • ›bill
    • installation
    • configuration
    • translate
    • control

~/docs/interaction/configuration/interaction-config-reference

interaction docs›
  • configuration
  • configuration/public-api
  • configuration/interaction-config-reference
  • configuration/dialog-system

Interaction

Interaction Config Reference

-- 1 code block · 1 min read

get var-interacttry it on the test server
lua
{
    coords        = vec3 | vec4,                    -- required
    message       = "string",                       -- panel text
    key           = 38,                             -- FiveM control id (38 = E)
    hintIcon      = "pin",                          -- see below
    hintColor     = "teal" | "#34d399",             -- name or hex

    showIcon      = 4.0,                            -- hint render distance
    canInteract   = 1.5,                            -- panel arm distance / fn
    offsetZ       = 2.0,                            -- vertical sprite offset
    heightOffset  = nil,                            -- override offsetZ for the sprite

    resetOnInteract = true,                         -- re-arm after callback
    onInteract    = function(id, ent, spec) end,    -- single-key callback

    -- Multi-choice (alternative to onInteract)
    choices = {
        { bind = "E", message = "Use",  hintColor = "green",
          condition = function() return true end,
          onInteract = function(ent) end },
        { bind = "G", message = "Rob",  hintColor = "red",
          onInteract = function(ent) end },
    },

    -- NPC dialogue (only meaningful with pedRegister)
    dialogue = {
        name         = "Paul",
        tag          = "Lumberjack",
        startMsg     = "Welcome.",
        interactAnim = { dict = "...", name = "..." } | { scenario = "..." },
        elements     = { { label = "...", action = function(changeDialog, close) end }, ... },
    },

    blips = { sprite = 119, color = 50, scale = 0.8, text = "Foreman" },
}

Available hint icons

pin, car, camion, velo, bateau, avion, moto, cloak, bank, house, work, phone, cart, combat, gym, game, hunting, peche, storage, duty, talk, search, interact, teleport.

The catalog example (config/example.lua, third block) renders every icon side-by-side so you can pick one in-game.

Color presets

teal (brand), red, blue, green, amber, yellow, orange, purple, pink, white, gray. French aliases rouge, bleu, vert are kept for backward compatibility. Any hex string also works.

previouspublic-apinextdialog-system
VAR
Var FiveM

Script FiveM premium. Low resmon, alta qualita. Per ESX, QBCore & Standalone.

28script
1,500+vendite

Script

  • Marketplace
  • Pacchetti
  • Abbonamenti
  • Personalizza tema

Piu popolari

  • Supermarket Simulator
  • FiveM Casino Script
  • FiveM Coin Shop
  • FiveM Emote Menu
  • FiveM Paintball Script

Risorse

  • Free Scripts
  • Guides
  • Documentazione
  • Supporto

Azienda

  • Chi siamo
  • Contatti
  • Discord

Legale

  • Termini
  • Privacy
  • Rimborsi

© 2026 Var FiveM. Tutte le vendite sono definitive.

Pagamenti tramiteTebex