Skip to main content

getPlayers

exports["RiP-Death"]:getPlayers() 

This function returns all registered dead players

Returned Table

NameTypeExplenation
sourceIntegerplayer source
coordsVectorplayer's last registered coords (v3)
stabilizedBooleanplayer 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