Foosball - Table Football/Soccer

Bring your FiveM city to life with the Foosball Script — a fully interactive, synchronized, and endlessly fun minigame that fits perfectly into bars, clubs, houses, or any custom interior.

📥 Play it now!arrow-up-right

📸 Preview

📦 Features

Fully synced multiplayer gameplay (requires OneSync) ✅ Standalone or framework-compatible — works with ESX, QBCore, or no framework at all ✅ Configurable rules — set match type (solo, 1v1, 2v2), who starts, goals to win, defenders, strikers, and even one-leg or two-leg foosball ✅ Custom play prices — charge with money, items, or tokens ✅ Business integration — link table income to a job or society, or make tables playable only when staff are nearby ✅ Smooth and responsive controls — play in simple or advanced mode, mouse or keyboard-based ✅ Custom skins & cosmetics — 12 colors, 11 hats, 2 skin tones, all configurable via store ✅ In-game Store NPCs — define vendors who sell cosmetics with your chosen economy ✅ Donation or event-exclusive cosmetics — lock rare items behind custom currencies or events ✅ 3D positional sound — immersive and realistic match atmosphere ✅ Optimized and lightweight — built for RP and public servers ✅ Configurable HUD & Controls — all shortcuts editable from config ✅ Event system — trigger rewards automatically when a player wins ✅ Customizable table placement — place tables anywhere via config or mapping tools ✅ Localization ready — includes English, Spanish, and supports all FiveM locales


⚙️ Installation

1️⃣ Dependencies

2️⃣ Add Resource

  • Download and install:

    • sverse_table_football

    • sverse_table_football_assets

    Place them inside your resources folder wherever you want.

3️⃣ Add to server.cfg

4️⃣ Table Integration

  • Define tables directly inside config/basic.lua under Config.tables.

  • Or place them dynamically through your housing or mapping system.

  • Each table can have its own price and business owner.

5️⃣ Customization Store

  • Add NPC vendors in config/economy.lua under Config.stores.

  • Customize items, prices, and currencies freely.


🎮 How to Play

1️⃣ Approach any foosball table and press E to start or use third eye. 2️⃣ Play solo, 1v1, or 2v2 depending on who joins. 3️⃣ Use your mouse and keyboard to control the bars and shoot. 4️⃣ Customize your player’s color and hat during the match with U. 5️⃣ The game keeps running as long as one player stays, no time limit. 6️⃣ All animations, goals, and sounds are synced for everyone nearby.


🧠 Configuration Overview

All main settings are located in config/basic.lua and config/economy.lua.

🗺️ Basic Setup

  • Define language, framework, and integration type

  • Place tables anywhere using coordinates and heading

  • Set per-table custom prices and business ownership

⚙️ Game Options

💰 Economy Settings

🎨 Store Customization

Over 12 team colors and 11 hats — all individually priced and editable:


🧑‍💻 Game Win Event

Server-side event triggered when a game finishes. Provides full details about the game and participants.


FAQ

Q: Can I play solo? A: Yes, the game is started once the setup is done.

Q: Can I use tokens or any item instead of money? A: Absolutely, set currency = "token" in Config.defaultPlayPrice.

Q: Does it support my framework? A: Yes, it automatically detects ESX, QBCore, or runs standalone.

Q: Can I make tables work only when employees are nearby? A: Yes, enable Config.business.requiresEmployeeNearby = true and Config.business.enable = true

Q: Is everything synced for nearby players? A: Yes, goals, shots, and player movements are fully synchronized with OneSync.

Q: Is it optimized? A: Fully. Lightweight and tested for heavy RP servers.


⚠️ Credits Notice All hat models assets included in this resource belong to Zekirakmarrow-up-right. Used and distributed under their license/permission.

Last updated