Whipitz
|
  |
| Joined: 10 Oct 2008 |
| Total Posts: 1364 |
|
|
| 22 Feb 2014 10:55 AM |
| I need to make it so that my game script only runs when there are a certain amount of people in the game. (>1) |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2014 10:57 AM |
game.Players.NumPlayers
do something with that
#nerdsunited |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2014 10:57 AM |
incorporate the boolean game.Players.NumPlayers > 1
~This sig is false~ |
|
|
| Report Abuse |
|
|
Whipitz
|
  |
| Joined: 10 Oct 2008 |
| Total Posts: 1364 |
|
|
| 22 Feb 2014 11:05 AM |
so would it be like
while true do if game.Players.NumPlayers > 1 then --code else return
???
|
|
|
| Report Abuse |
|
|
|
| 22 Feb 2014 11:11 AM |
with a bit of ironing out yes.
#nerdsunited |
|
|
| Report Abuse |
|
|
Whipitz
|
  |
| Joined: 10 Oct 2008 |
| Total Posts: 1364 |
|
|
| 22 Feb 2014 11:14 AM |
| somebody want to help me test it? |
|
|
| Report Abuse |
|
|