From 412b88e8a28dbe522a6f3bda67ac905b2e954e4c Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:28:07 +0100 Subject: [PATCH] fix: global variable in lowercase initial --- .../resources/[bpt_addons]/bpt_carshowroom/client/main.lua | 4 ++-- .../resources/[bpt_addons]/bpt_carshowroom/fxmanifest.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua b/server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua index c35b43b3c..eb45bf1b5 100644 --- a/server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua @@ -199,7 +199,7 @@ function OpenShopMenu() }, }, function(data2, menu2) if data2.current.value == "yes" then - sendNotification(TranslateCap("contact_dealer") .. vehicleData.price * Config.Price .. TranslateCap("currency"), "warning", 5000) + SendNotification(TranslateCap("contact_dealer") .. vehicleData.price * Config.Price .. TranslateCap("currency"), "warning", 5000) end if data2.current.value == "no" then @@ -365,7 +365,7 @@ function DisplayHelpText(str) end --notification -function sendNotification(message, messageType, messageTimeout) +function SendNotification(message, messageType, messageTimeout) TriggerEvent("pNotify:SendNotification", { text = message, type = messageType, diff --git a/server-data/resources/[bpt_addons]/bpt_carshowroom/fxmanifest.lua b/server-data/resources/[bpt_addons]/bpt_carshowroom/fxmanifest.lua index 156bd51cf..3aeb20f58 100644 --- a/server-data/resources/[bpt_addons]/bpt_carshowroom/fxmanifest.lua +++ b/server-data/resources/[bpt_addons]/bpt_carshowroom/fxmanifest.lua @@ -1,7 +1,7 @@ fx_version("adamant") game("gta5") -description("esx_carshowroom") +description("bpt_carshowroom") lua54("yes") version("1.0.2") @@ -11,5 +11,5 @@ client_scripts({ "@es_extended/locale.lua", "locales/*.lua", "config.lua", - "client/main.lua", + "client/*.lua", })