cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
|
| 22 Jul 2011 02:19 PM |
| How do you make 1 brick appear for everyone currently in the server using the for i, v in pairs method? |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:22 PM |
This isn't at all clear.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:28 PM |
| Look you see that i,v method in alot of scripts but to start it IT MORE HARDER THIS inpairs i,v cause this has to have 2 things to even make it work!!!!! |
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
|
| 22 Jul 2011 02:31 PM |
Ok here's what I mean:
for i, v in pairs(game.Players:GetPlayers()) do --Give everyone an individual brick end |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:35 PM |
You don't explain what you mean by giving them a brick!
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
|
| 22 Jul 2011 02:36 PM |
| I just mean that for every person currently in the server, a brick appears in the middle of the place. e.g: 5 people in the server: 5 bricks in the middle. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:37 PM |
Oh.
for i = 1, game.Players.numPlayers do Instance.new("Part", Workspace) end
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
|
| 22 Jul 2011 02:43 PM |
| What if I want to find the name of a player? Like if I want to make a variable "player" that means one of the Players in the server. |
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
| |
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
| |
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 22 Jul 2011 04:02 PM |
loadstring(player.Name .. " = 3")
|
|
|
| Report Abuse |
|
|
cheez55
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 646 |
|
| |
|