Skip to content

Commit

Permalink
chore: update to version 1.0.1 + typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Mar 2, 2024
1 parent 237cb75 commit 283cb2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-data/resources/[sqz]/sqz_carkeys/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fx_version("cerulean")

author("Squizer#3020")
description("Script that allows you to lock vehicles.")
version("1.0.0")
version("1.0.1")

shared_scripts({
"@es_extended/locale.lua",
Expand Down
2 changes: 1 addition & 1 deletion server-data/resources/[sqz]/sqz_carkeys/server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ RegisterNetEvent("carkeys:NewLocks", function(plate)
FreezeEntityPosition(playersVeh, false)
MySQL.Async.execute('UPDATE owned_vehicles SET peopleWithKeys = "[]" WHERE plate = "' .. plate .. '"', {}, function(rowsUpdated)
if rowsUpdated > 0 then
xPlayer.showNotification(_("locks_replaced"))
xPlayer.showNotification(_U("locks_replaced"))
vehiclesCache[plate] = {}
vehiclesCache[plate][xPlayer.identifier] = true
end
Expand Down

0 comments on commit 283cb2b

Please sign in to comment.