|
| 09 Jul 2011 10:43 PM |
function startgame() while a == 1 do functionn() functin() end end
--So will the function end if a = 0?
|
|
|
| Report Abuse |
|
|
| |
|
cool12309
|
  |
| Joined: 21 Sep 2008 |
| Total Posts: 1442 |
|
|
| 09 Jul 2011 10:47 PM |
No need to bump 3 minutes after the OP...
Plus, yes. But, as soon as a == 1, it will stop running the scripts below it(unless it's already in a loop) and run the while statement.
I think. |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:48 PM |
| Your while loop will stop looping. The functionn and functin functions will still run if a changes to 0 before the script reaches the 'while a==1 do' line. |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:49 PM |
| So how do I reloop (if thats even a word) the while a == 1 after a = 0? |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:50 PM |
| Just add a 'while wait() do' line above your 'while a == 1 do' line. And of course the corresponding end. |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2011 10:52 PM |
| Can you answer my other thread now? About the only 1 person seeing a billboard gui? |
|
|
| Report Abuse |
|
|