diff options
Diffstat (limited to 'Core/playerlist.lua')
-rw-r--r-- | Core/playerlist.lua | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Core/playerlist.lua b/Core/playerlist.lua deleted file mode 100644 index 73d9e5b24..000000000 --- a/Core/playerlist.lua +++ /dev/null @@ -1,14 +0,0 @@ -function HandlePlayerListCommand( Split, Player ) - - local PlayerTable = {} - local AppendToTable = function( Player ) - table.insert(PlayerTable, Player:GetName() ) - end - Player:GetWorld():ForEachPlayer( AppendToTable ) - - local Message = cChatColor.Green .. "Connected players: (".. cChatColor.White.. #PlayerTable .. cChatColor.Green .. ")" - Player:SendMessage( Message ) - - Player:SendMessage( table.concat(PlayerTable, " ") ) - return true -end
\ No newline at end of file |