Raised This Month: $ Target: $400
 0% 

random_num


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
safetymoose
Senior Member
Join Date: Feb 2015
Old 12-11-2015 , 12:25   random_num
Reply With Quote #1

https://www.amxmodx.org/api/amxmodx/random_num

So i'm using random_num to get a random number. Getting the random number seems to work fine, but i notice that on map change(might as well be server restart) it gets the same number as it did the map before that. Seems like it's getting a random pattern of numbers and repeats it the next round??

I'm not sure about the the other numbers, but the first number is always a guarantee to be the same one that was first last map.

Does anyone know an alternative way to get a random number, hopefully avoiding this sort of thing?
safetymoose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode