Skip to content

Commit

Permalink
Merge pull request #74 from ahmed608/patch-10
Browse files Browse the repository at this point in the history
Update main.lua
  • Loading branch information
Stan authored Sep 16, 2022
2 parents 4ede5c4 + 73c0b4d commit ccb14b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ RegisterNetEvent("qb-diving:client:setoxygenlevel", function()
if oxgenlevell == 0 then
oxgenlevell = 100 -- oxygenlevel
QBCore.Functions.Notify('The tube has been filled successfully', 'success')
TriggerServerEvent('qb-diving:server:removeItemAfterFill')
else
QBCore.Functions.Notify('the gear level is'..' '..oxgenlevell..' '..'must be 0%', 'error')
end
Expand Down

0 comments on commit ccb14b8

Please sign in to comment.