Air Hockey
Purchase
Installation
Framework compatibility
This resource is standalone and works on any FiveM server.
Compatible with ESX, QBCore, QBox, vRP, and other frameworks.
If you are using a framework other than ESX, QBCore, or QBox, follow the Standalone installation instructions.
Standalone
QBCore
QBCore installation
Put the
rtx_airhockeyfolder into yourresources.Open
config.lua.Replace
Config.Framework = "standalone"withConfig.Framework = "qbcore".Configure your
config.luato your preferences.Add
rtx_airhockeyto yourserver.cfg.Put the
rtx_airhockey_objectsfolder into yourresources.Add
rtx_airhockey_objectsto yourserver.cfg.
ESX
ESX installation
Put the
rtx_airhockeyfolder into yourresources.Open
config.lua.Replace
Config.Framework = "standalone"withConfig.Framework = "esx".Configure your
config.luato your preferences.Add
rtx_airhockeyto yourserver.cfg.Put the
rtx_airhockey_objectsfolder into yourresources.Add
rtx_airhockey_objectsto yourserver.cfg.
Config Preview
Adding a New Table
To add a new Air Hockey table, you must insert it into Config.Tables.
⚠️ Each table must be written as its own block and placed under each other inside the table.
✅ Example (Correct)
❌ Common mistake
👉 Always separate tables with a comma ,
Table options
position→ table location in the worldheading→ table rotationprice→ price to playowned→ enables management systemownedsociety→ job/society owneropen→ if table is opened by defaultpermissions→ who can manage the table
Using Existing World Tables
Tables work even if they are already spawned in the world.
You can use:
MLO props
housing systems
object spawners
Model name:
Just spawn this object anywhere and it will work as an Air Hockey table.
Client Export
You can check if a player is currently playing Air Hockey using this export:
Returns:
true→ player is playingfalse→ player is not playing
Example:
Notes
The script is designed to be highly flexible and fully customizable. All framework-related functions are editable, allowing you to easily adapt the script to your own server logic.
Most core systems can be modified, and you are free to implement your own logic, interaction system, target system, or any other custom features based on your needs.
The script also includes a language file, making it easy to translate and customize all texts.
Support
If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:
Last updated