Skip to content

Commit

Permalink
fix: bpt_ambulancejob\client\main.lua
Browse files Browse the repository at this point in the history
- unused variable coords
- variable seconds was previously defined as an argument
  • Loading branch information
bitpredator committed Jun 8, 2024
1 parent 8b5a6d6 commit 2c28ef8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ end

function SendDistressSignal()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
local _ = GetEntityCoords(playerPed)

ESX.ShowNotification(TranslateCap("distress_sent"))
TriggerServerEvent("bpt_ambulancejob:onPlayerDistress")
Expand All @@ -227,7 +227,7 @@ function DrawGenericTextThisFrame()
end

function secondsToClock(seconds)
local seconds, hours, mins, secs = tonumber(seconds), 0, 0, 0
local _ = tonumber(seconds)

if seconds <= 0 then
return 0, 0
Expand Down

0 comments on commit 2c28ef8

Please sign in to comment.