Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 08 Feb 2013 10:58 AM |
| its actaully math.random(1,x) where x = number of numbers (if that makes sense) so for 1 to 5, you do math.random(1,5) :) |
|
|
| Report Abuse |
|
|
|
| 08 Feb 2013 12:03 PM |
^ Totally ignored the whole thread.
@Trioxide
num = math.random(1, 9) / 10
- thedestroyer115 |
|
|
| Report Abuse |
|
|
|
| 08 Feb 2013 12:07 PM |
function Random(Min, Max, Precision) return Min+math.floor(math.random()*(Max-Min)/Precision+0.5)*Precision end
Try that. |
|
|
| Report Abuse |
|
|