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