L2S Documentation
DiscordTebex
  • Documentation
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Coding Information
    • Webhook System
    • Register Key Mapping
    • Translation System
  • ASSETS & GUIDES
    • 🚨Dispatch
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • API
        • Hub
        • CCTV
        • Dispatch
        • UI
      • 💻Integration
        • Exports
          • Client
          • Server
        • Police Alerts
        • Radio Channel
        • Duty System
    • 🏨Hotels V2
      • ⤵️Installation
      • ⚙️Configuration
        • Config
        • Elevators
        • Hotels
      • 💻Exports
    • 👮Police Hub
      • ⤵️Installation
      • ⚙️Configuration
      • 💻Events & Alerts
    • 💀Gangs Turf
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Gangs
      • 💻Exports
      • 📚Tutorial
    • 🔫Paint Ball
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Clothes
        • Locations
      • 💻Exports
Powered by GitBook
On this page
  • How User Re-Bind Keys
  • How to Unbind Keys
  1. Coding Information

Register Key Mapping

PreviousWebhook SystemNextTranslation System

To modify the default keybind for all players, make sure to update it in your script config file before launching the resource on your main server.

How User Re-Bind Keys

To change the keybind, users can access their GTA settings, navigate to the "Keybindings" section, then scroll to the second-to-last option, "FiveM." From there, they can locate the specific keybind and adjust it as needed.

How to Unbind Keys

Once the resource has been started on your server for the first time, changing the key from you script config will not affect players who have already joined. However, the updated keybind will apply to any new players who join after the change is made.

Option 1:

  • To unbind keys for your client only, you can enter the command unbind keybord_bind in the F8 console.

Option 2:

  • Open File Explorer and navigate to C:\Users\[USERNAME]\AppData\Roaming\CitizenFX.

  • Locate and open the fivem.cfg file using a text editor.

  • Find and remove the lines related to the specific resource name.

  • Save the changes to the fivem.cfg file.

  • Restart FiveM to reset the keybinds to the default values set in the configuration.

Example