From 830105a34722767ff026648d1a0c8cd2d6b71d7c Mon Sep 17 00:00:00 2001 From: Mitchel <44533206+Mitchel@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:52:53 +0200 Subject: [PATCH] changes --- client/{blip.lua => cl_blip.lua} | 0 client/{main.lua => cl_main.lua} | 0 client/{menus.lua => cl_menus.lua} | 0 client/{target.lua => cl_target.lua} | 0 client/{tokens.lua => cl_tokens.lua} | 0 fxmanifest.lua | 12 +++++------- gametoken.png => images/gametoken.png | Bin readme.md | 22 +++++++++++++++++----- server.lua => server/sv_main.lua | 0 config.lua => shared/sh_main.lua | 2 +- 10 files changed, 23 insertions(+), 13 deletions(-) rename client/{blip.lua => cl_blip.lua} (100%) rename client/{main.lua => cl_main.lua} (100%) rename client/{menus.lua => cl_menus.lua} (100%) rename client/{target.lua => cl_target.lua} (100%) rename client/{tokens.lua => cl_tokens.lua} (100%) rename gametoken.png => images/gametoken.png (100%) rename server.lua => server/sv_main.lua (100%) rename config.lua => shared/sh_main.lua (98%) diff --git a/client/blip.lua b/client/cl_blip.lua similarity index 100% rename from client/blip.lua rename to client/cl_blip.lua diff --git a/client/main.lua b/client/cl_main.lua similarity index 100% rename from client/main.lua rename to client/cl_main.lua diff --git a/client/menus.lua b/client/cl_menus.lua similarity index 100% rename from client/menus.lua rename to client/cl_menus.lua diff --git a/client/target.lua b/client/cl_target.lua similarity index 100% rename from client/target.lua rename to client/cl_target.lua diff --git a/client/tokens.lua b/client/cl_tokens.lua similarity index 100% rename from client/tokens.lua rename to client/cl_tokens.lua diff --git a/fxmanifest.lua b/fxmanifest.lua index b0974a4..96c6948 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -7,7 +7,7 @@ client_scripts { } server_scripts { - 'server.lua', + 'server/*.lua', } shared_scripts { @@ -15,16 +15,14 @@ shared_scripts { '@qb-core/shared/locale.lua', 'locales/en.lua', 'locales/*.lua', - 'config.lua' + 'shared/*.lua' } files { - "html/css/style.css", - "html/css/reset.css", - "html/css/img/monitor.png", - "html/css/img/table.png", + "html/css/*.css", + "html/css/img/*.png", "html/*.html", - "html/scripts/listener.js", + "html/scripts/*.js", } ui_page "html/index.html" \ No newline at end of file diff --git a/gametoken.png b/images/gametoken.png similarity index 100% rename from gametoken.png rename to images/gametoken.png diff --git a/readme.md b/readme.md index d896a8a..ffac941 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,23 @@ WIP: - Wanner iemand niet beschikt over een token bij de game melding in de zin van "Je hebt X token(s) nodig om dit spel te kunnen spelen" (in locales). --- Voor de uit eindelijke Readme. +# Arcade +This resource enhances the Arcade experience within the QBCore and Qbox Framework environments. +## 🔌 Installation +To get started with the MTC Polaroid resource, follow these steps: + +1. Clone this repository and place the files into your designated resources folder. +2. Rename the script file to ```mtc-arcade``. +3. Configure you're location settings in ```shared/sh_main.lua```. +3. Set up the necessary inventory items. + +## 🏠 MLO's +The Arcade is compatible with a wide range of MLO's for your FiveM experience. One such MLO option is the Arcade MLO developed by Gabz. However, we recommend using the Arcade Bar MLO created by [Kiiya](https://www.gta5-mods.com/maps/arcade-bar-interior-mlo-fivem-sp). The location for that map in the game is: `vector3(-1286.24, -302.04, 36.03)` + +## 📦 Items +You can find the images for the items mentioned below in the ```images``` directory. +```LUA ['gametoken'] = { ['name'] = 'gametoken', ['label'] = 'Game Token', @@ -23,7 +38,4 @@ WIP: ['combinable'] = nil, ['description'] = 'Om een spelletje mee te spelen in de Arcade.' }, - -MLO's -- Gabz Arcade -- https://www.gta5-mods.com/maps/arcade-bar-interior-mlo-fivem-sp \ No newline at end of file +``` \ No newline at end of file diff --git a/server.lua b/server/sv_main.lua similarity index 100% rename from server.lua rename to server/sv_main.lua diff --git a/config.lua b/shared/sh_main.lua similarity index 98% rename from config.lua rename to shared/sh_main.lua index 842fd81..1093a73 100644 --- a/config.lua +++ b/shared/sh_main.lua @@ -12,7 +12,7 @@ Config.Zones = { } Config.blip = { - coords = vector3(-1291.52, -300.7, 36.05), + coords = vector3(-1286.24, -302.04, 36.03), label = "Arcade", sprite = 484, color = 0,