Skip to content

Commit

Permalink
another round of linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kedrihan committed Jul 13, 2024
1 parent 74e3906 commit ddacff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/[soz]/soz-bank/server/invoices.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local function PayInvoice(PlayerData, account, id, marked)
local messageForEmitter = "Votre facture ~b~%s~s~ a été ~g~payée"
if invoice.kind == "fine" then
kindLabel = "amende"
messageForEmitter = "Votre amende ~b~%s~s~ a été ~r~payée par " .. Player.PlayerData.charinfo.firstname .. " " ..
messageForEmitter = "Votre amende ~b~%s~s~ a été ~r~payée par " .. Player.PlayerData.charinfo.firstname .. " " ..
Player.PlayerData.charinfo.lastname
end
TriggerClientEvent("soz-core:client:notification:draw", Player.PlayerData.source, "Vous avez ~g~payé~s~ votre " .. kindLabel, "success", 10000)
Expand Down Expand Up @@ -182,7 +182,7 @@ local function RejectInvoice(PlayerData, account, id)
local messageForEmitter = "Votre facture ~b~%s~s~ a été ~r~refusée"
if invoice.kind == "fine" then
kindLabel = "amende"
messageForEmitter = "Votre amende ~b~%s~s~ a été ~r~refusée par " .. Player.PlayerData.charinfo.firstname .. " " ..
messageForEmitter = "Votre amende ~b~%s~s~ a été ~r~refusée par " .. Player.PlayerData.charinfo.firstname .. " " ..
Player.PlayerData.charinfo.lastname
end
TriggerClientEvent("soz-core:client:notification:draw", Player.PlayerData.source, "Vous avez ~r~refusé~s~ votre " .. kindLabel, "error", 10000)
Expand Down

0 comments on commit ddacff1

Please sign in to comment.