Help Setting Up Keybind for Vehicle Lua Mod

Discussion in 'Programming' started by Jack The Fox, May 9, 2025.

  1. Jack The Fox

    Jack The Fox
    Expand Collapse

    Joined:
    Jan 22, 2025
    Messages:
    22
    Hi everyone,

    I'm trying to set up a keybind for a mod I'm making using vehicle-side Lua (VLua). I already know how to create a working VLua script and how to get it to run in-game, but I can't figure out how to assign a custom keybind to it.

    When I do keybinds for GE Lua, they work fine, but that same method doesn't seem to work for VLua. Nothing triggers inside my script.

    What’s the correct way to bind a custom key to a VLua mod?
    Is there something different that has to be done for vehicle scripts?

    Thanks in advance for any help!
    – Jack The Fox
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice