- This wiki is out of date, use the continuation of this wiki instead
Rand seed
From FenixWiki
[edit] Definition
INT rand_seed ( <INT seed> )
Seeds the random generator, used in rand().
This is useful for synchronizing the random generator on multiple machines, as when the same seed is used, calls to rand() with the same limits will return values in the same order on all the machines.
[edit] Parameters
INT seed | - The seed for the random generator used in rand(). |
[edit] Returns
INT : true
Math Functions | |
• Abs() • Acos() • Asin() • Atan() • Cos() • Fget_angle() • Fget_dist() • Get_distx() • Get_disty() • Pow() • Rand() • Rand_seed() • Sin() • Sqrt() • Tan() • |