Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
clear more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
lfuelling committed May 9, 2020
1 parent 9e65ef7 commit 9bfad50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function RespawnPed(ped, coords, heading)
NetworkResurrectLocalPlayer(coords.x, coords.y, coords.z, heading, true, false)
SetPlayerInvincible(ped, false)
ClearPedBloodDamage(ped)
ClearPedLastDamageBone(ped)
ClearPedTasks(ped)

TriggerServerEvent('esx:onPlayerSpawn')
TriggerEvent('esx:onPlayerSpawn')
Expand Down

0 comments on commit 9bfad50

Please sign in to comment.