fix(server/player): location & dead metadata

This commit is contained in:
Andyyy7666
2023-10-30 11:43:06 +01:00
parent a8c5ea7d79
commit d5dfa02435

View File

@@ -152,7 +152,7 @@ local function createCharacterTable(info)
self.setMetadata("location", {
x = coords.x,
y = coords.y,
x = coords.z,
z = coords.z,
w = heading
})
end
@@ -264,8 +264,8 @@ local function createCharacterTable(info)
function self.revive()
self.triggerEvent("ND:revivePlayer")
self.setMetadata({
dead = nil,
deathInfo = nil,
dead = false,
deathInfo = false,
})
end