Skip to content

Commit

Permalink
Fixing Shinis errors :)
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialDarkzy committed Mar 15, 2020
1 parent 35dd993 commit 0f1dc3f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions drp_death/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ AddEventHandler("DRP_Core:InitDeath", function(time)
Citizen.Wait(1000)
timeLeft = timeLeft - 1
if timeLeft > 0 and DRP_Core.TimerActive then
RespawnTimerNotify()
if timeLeft == 0 then
canRespawn = true
if canRespawn then
TriggerEvent("DRP_Core:Error", "Medical", "You can now respawn!", 2500, false, "leftCenter")
RespawnTimerNotify()
if timeLeft == 0 then
canRespawn = true
if canRespawn then
TriggerEvent("DRP_Core:Error", "Medical", "You can now respawn!", 2500, false, "leftCenter")
end
end
end
end
Expand Down

1 comment on commit 0f1dc3f

@Yumshot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello darkness my old friend....

Please sign in to comment.