getPlayers
exports["RiP-Death"]:getPlayers()
This function returns all registered dead players
Returned Table
Name | Type | Explenation |
---|---|---|
source | Integer | player source |
coords | Vector | player's last registered coords (v3) |
stabilized | Boolean | player stabilized |
Object key = source
Example
local deadPlayers = exports["RiP-Death"]:getPlayers()
for r,p in pairs(deadPlayers) do
print("player "..r.." is dead at "..p.coords)
end