From 17d588c2e65530420f0652433b712127d6c4e7e6 Mon Sep 17 00:00:00 2001 From: Don Date: Thu, 17 Aug 2017 00:10:07 -0700 Subject: [PATCH] Fixed SQL, Fixed INPUT_CONTEXT Fixed SQL, Fixed INPUT_CONTEXT, Fixed Readme --- README.md | 2 +- config.lua | 2 +- esx_weashops.sql | 10 +++++----- locales/en.lua | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 284f1eb0..add5c390 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,5 @@ git clone https://github.com/FXServer-ESX/fxserver-esx_weashops.git esx_weashops 4) Add this in your server.cfg : ``` -start esx_shops +start esx_weashops ``` diff --git a/config.lua b/config.lua index e4e843fd..cc22dc28 100644 --- a/config.lua +++ b/config.lua @@ -4,7 +4,7 @@ Config.DrawDistance = 100 Config.Size = {x = 1.5, y = 1.5, z = 1.5} Config.Color = {r = 0, g = 128, b = 255} Config.Type = 1 -Config.Locale = 'en' +Config.Locale = 'fr' Config.Zones = { diff --git a/esx_weashops.sql b/esx_weashops.sql index 15819db8..9e4ef2d2 100644 --- a/esx_weashops.sql +++ b/esx_weashops.sql @@ -6,12 +6,12 @@ CREATE TABLE `weashops` ( `name` varchar(255) NOT NULL, `item` varchar(255) NOT NULL, `price` int(11) NOT NULL, + `label` varchar(255) NOT NULL, PRIMARY KEY (`id`) ); - -INSERT INTO `weashops` (name, item, price) VALUES - ('GunShop','WEAPON_Pistol',300), - ('blackweashop','WEAPON_Pistol',500) -; +INSERT INTO `weashops` (name, item, price, label) VALUES + ('GunShop','WEAPON_Pistol',300, 'pistol'), + ('blackweashop','WEAPON_Pistol',500, 'pistol') +; \ No newline at end of file diff --git a/locales/en.lua b/locales/en.lua index a833c4cf..e52445a0 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -4,7 +4,7 @@ Locales ['en'] = { ['not_enough_black'] = 'you do not have enough dirty money', ['not_enough'] = 'you do not have enough money', ['shop'] = 'shop', - ['shop_menu'] = 'Press ~INPUT_CONTENT~ to access the shop.', + ['shop_menu'] = 'Press ~INPUT_CONTEXT~ to access the shop.', ['map_blip'] = 'gun shop', } \ No newline at end of file