|
| 22 Oct 2011 08:12 AM |
I wish to use tables to print who has survived
Something like
alive = {}
--Stuff for checking... If you can help, please help so it will place the survivers into a VARIABLE, so I can do this:
local msg = Instance.New("Message",Workspace)
msg.Text = "Survivers :"..i"" --i is where I want the survivers stored. Also, i'm going to add this to a map changer I made, just so you know why I want it :3 |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2011 08:17 AM |
Bump? FLOODCHECK F L O O D C H E C K mp mp |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 22 Oct 2011 08:47 AM |
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(char) if char.Humanoid.Health >=.1 then --code end end) end)
I just woke up. I have a red eye AND IT'S NOT PINK but you know.. |
|
|
| Report Abuse |
|
|
| |
|
NBCKing
|
  |
| Joined: 09 Oct 2011 |
| Total Posts: 133 |
|
|
| 22 Oct 2011 03:59 PM |
| Survivers? its spelt Survivor |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 22 Oct 2011 04:27 PM |
Hmm..
survivors = {}
function gather() for _,v in pairs(game.Players:GetPlayers()) do table.insert(survivors,v.Name) end end
Now, there are a few different ways to remove the names.. |
|
|
| Report Abuse |
|
|
|
| 22 Oct 2011 05:05 PM |
So how would I make it put a message into the workspace that says a list?
local time = 5 local msg = instance.New("Message",Workspace) msg.Text = "List of survivors:"...v..."" wait(time) msg.Parent = Lighting
????? |
|
|
| Report Abuse |
|
|