20.11.2009, 12:46
Quote:
|
Originally Posted by MenaceX^
Been waiting for Y_Less' reply.
But why would you make a new random script while SA:MP developers had created one? |
PHP has mt_rand too, which is apparently a better random function, which is described as:
' Many random number generators of older libcs have dubious or unknown characteristics and are slow. By default, PHP uses the libc random number generator with the rand() function. The mt_rand() function is a drop-in replacement for this. It uses a random number generator with known characteristics using the » Mersenne Twister, which will produce random numbers four times faster than what the average libc rand() provides. '

