- Documentation
- Server functions
- getAlivePlayers
Function
getAlivePlayers
Returns the players who are alive and in the world.
Syntax
table getAlivePlayers()Returns
A table of players.
Example
addCommandHandler("zywi", function(player)
outputChatBox("Żywych graczy: " .. #getAlivePlayers(), player)
end)