View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 11-27-2021 , 20:22   Re: GetRandomInt() beeing not random at all
Reply With Quote #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 is offline