|
| 21 Aug 2016 06:06 PM |
print (_G.cityNames[math.random(1, #_G.cityNames)])
it always returns the same value, and expects an = in the following line (no matter what I put) |
|
|
| Report Abuse |
|
|
| |
|
2eggnog
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 1351 |
|
|
| 21 Aug 2016 06:08 PM |
I think the guy above me means math.randomseed.
Try putting this at the beginning: math.randomseed(tick())
|
|
|
| Report Abuse |
|
|