Thread
:
GetRandomInt() beeing not random at all
View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
11-27-2021 , 20:22 Re: GetRandomInt() beeing not random at all
#
2
GetRandomInt()
uses the game's random stream, which is predictably seeded.
You'll want
GetURandomInt()
or
GetURandomFloat()
, which uses a more sophisticated random stream that is unique to an instance of a running plugin.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord --
PM me on the forums
regarding inquiries.
AlliedModders Releases
/
Github
/
TF2 Server
/ Donate (
BTC
/
BCH
/
coffee
)
nosoop
View Public Profile
Send a private message to nosoop
Visit nosoop's homepage!
Find More Posts by nosoop