summaryrefslogtreecommitdiffstats
path: root/Plugins/NewTest/playerlist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/NewTest/playerlist.lua')
-rw-r--r--Plugins/NewTest/playerlist.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/Plugins/NewTest/playerlist.lua b/Plugins/NewTest/playerlist.lua
deleted file mode 100644
index c120f068f..000000000
--- a/Plugins/NewTest/playerlist.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-function HandlePlayerListCommand( Split, Player )
- local World = Player:GetWorld()
- local PlayerList = World:GetAllPlayers()
-
- local Message = cChatColor.Green .. "Connected players: (".. cChatColor.White.. #PlayerList .. cChatColor.Green .. ")"
- Player:SendMessage( Message )
-
- local PlayerTable = {}
- for i, TempPlayer in ipairs( PlayerList ) do
- local PlayerName = TempPlayer:GetName()
- table.insert(PlayerTable, PlayerName )
- end
-
- Player:SendMessage( table.concat(PlayerTable, " ") )
- return true
-end \ No newline at end of file