Skip to content

Commit

Permalink
Merge pull request #894 from bitpredator/dev
Browse files Browse the repository at this point in the history
fix: global variable in lowercase initial
  • Loading branch information
bitpredator authored Nov 19, 2024
2 parents b132119 + 412b88e commit 5ba8248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fx_version("adamant")
game("gta5")

description("esx_carshowroom")
description("bpt_carshowroom")
lua54("yes")
version("1.0.2")

Expand All @@ -11,5 +11,5 @@ client_scripts({
"@es_extended/locale.lua",
"locales/*.lua",
"config.lua",
"client/main.lua",
"client/*.lua",
})

0 comments on commit 5ba8248

Please sign in to comment.