K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 24 Jun 2015 03:04 PM |
while game do game = "aplecapes rising" guns = {"mk20", "guun", "killgun"} kill = true end
when i play the game doesnt turn |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 24 Jun 2015 03:06 PM |
You didn't specify what "kill = true" refers to here, so instead of killing something like a survivor or a zombie, it kills the game, as "game" is the default target of any variable like this one.
eww no pink shaggy |
|
|
| Report Abuse |
|
|
ganger800
|
  |
| Joined: 06 Dec 2012 |
| Total Posts: 427 |
|
|
| 24 Jun 2015 03:06 PM |
simple reason: you have an infinite loop without a wait, so you don't give the game time to do something else I don't see the point in this loop though, however this won't crash you
while game do wait(); game = "aplecapes rising" guns = {"mk20", "guun", "killgun"} kill = true end |
|
|
| Report Abuse |
|
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 24 Jun 2015 03:10 PM |
Ganger has a valid point too. Try fixing both errors and your game should run correctly.
eww no pink shaggy |
|
|
| Report Abuse |
|
|
K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 24 Jun 2015 03:35 PM |
fixd aplecapes now works i need to make a maurder game how to?
knife = true waht do i put next |
|
|
| Report Abuse |
|
|
| |
|
K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
| |
|