Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
FiveM Gamepad Script

Description

FiveM Gamepad Script is an ESX game launcher styled as a handheld console. Players use the gamepad item to open a NUI menu and play browser games while their character holds a Steam Deck-style prop.

Features

  • Usable gamepad item that opens the handheld console interface
  • Streamed Steam Deck-style prop (qua_steamdeck) with an animation while the menu is open
  • Game catalog in config.lua with ten preset entries (label, URL and cover image) that you can change, extend or remove
  • Entries marked with lastGame are also shown in the recent-games area
  • The player profile image is loaded from Discord via a bot token in settings.lua

Games are loaded in an iframe from third-party websites listed in config.lua. Those websites and their continued availability are not part of this resource. This is an in-game game launcher, not a script that adds controller support to FiveM.

Requirements

  • ESX (the item is added to the ESX items table)
  • mysql-async

Installation

  • Import sql.sql to add the gamepad item.
  • Enter your Discord bot token in settings.lua.
  • Add ensure stg_gamepad to your server.cfg.

Related resources

All resources →