Skip to content

Commit b3def48

Browse files
authored
Merge pull request #15 from ND-Framework/feat/treatself-respawn
feat: treatself respawn
2 parents 5535b68 + 3c93fc3 commit b3def48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/main.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ RegisterNetEvent("ND_Ambulance:treatSelf", function()
8282
player.deductMoney("cash", price, "Hospital bill")
8383
end
8484

85+
TriggerClientEvent("ND_Ambulance:respawnHospital", src)
86+
Wait(1000)
8587
player.revive()
8688
player.notify({
8789
title = "Succesfully healed!",

0 commit comments

Comments
 (0)