Skip to content

Commit

Permalink
feat(server): expose revive as an export
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Apr 10, 2024
1 parent 737dbd9 commit baa1068
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 @@ -45,6 +45,8 @@ local function revivePlayer(player)
TriggerClientEvent('qbx_medical:client:playerRevived', player.PlayerData.source)
end

exports('Revive', revivePlayer)

---removes all ailments, sets to full health, and fills up hunger and thirst.
---@param src Source
local function heal(src)
Expand Down

0 comments on commit baa1068

Please sign in to comment.