Skip to content

Commit

Permalink
fix: admin commands locales
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-michalak committed May 11, 2024
1 parent 707e419 commit c8700e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lib.addCommand('addkeys', {
local playerId, plate = getVehicleKeysParams(source, args)

if not playerId or plate == 0 then
return exports.qbx_core:Notify(source, locale('commands.vehiclekeys.error'), 'error')
return exports.qbx_core:Notify(source, locale('notify.fpid'), 'error')
end

GiveKeys(playerId, plate)
Expand All @@ -78,7 +78,7 @@ lib.addCommand('removekeys', {
local playerId, plate = getVehicleKeysParams(source, args)

if not playerId or plate == 0 then
return exports.qbx_core:Notify(source, locale('commands.vehiclekeys.error'), 'error')
return exports.qbx_core:Notify(source, locale('cnotify.fpid'), 'error')
end

RemoveKeys(playerId, plate)
Expand Down

0 comments on commit c8700e4

Please sign in to comment.