Skip to content

Commit

Permalink
Merge pull request #15 from ND-Framework/feat/treatself-respawn
Browse files Browse the repository at this point in the history
feat: treatself respawn
  • Loading branch information
Andyyy7666 authored Jan 30, 2025
2 parents 5535b68 + 3c93fc3 commit b3def48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ RegisterNetEvent("ND_Ambulance:treatSelf", function()
player.deductMoney("cash", price, "Hospital bill")
end

TriggerClientEvent("ND_Ambulance:respawnHospital", src)
Wait(1000)
player.revive()
player.notify({
title = "Succesfully healed!",
Expand Down

0 comments on commit b3def48

Please sign in to comment.