28.01.2015, 00:39
I had a question, I made a dice system for my server and in there I've used SAMP random function.
I want to know if there is a way to know the upcoming 3 number( I know this doesn't make it random ) But if I roll a dice is there a way to know which number is going to be next. Because SAMP uses pseudo-random number and according to wiki this random function isn't fully random, and I learnt from somewhere where it says computer cannot just generate random numbers but follows a special sequence to generate a number for you.
If someone who is expert at this can explain me how SAMP itself uses random function to generate number?
I'd appreciate.
I want to know if there is a way to know the upcoming 3 number( I know this doesn't make it random ) But if I roll a dice is there a way to know which number is going to be next. Because SAMP uses pseudo-random number and according to wiki this random function isn't fully random, and I learnt from somewhere where it says computer cannot just generate random numbers but follows a special sequence to generate a number for you.
If someone who is expert at this can explain me how SAMP itself uses random function to generate number?
I'd appreciate.