Se incarca...
0 files liked
1 comment
0 videos
0 uploads
0 followers
  • Default

    First of all, great this mod isn't dead. THX for that.
    The use of the random stuff does not work as intended. The reason is, that you instantiate random every time you need it. (36 times says your code ;) This is not how System.Random works. It is best practice to create a single instance of Random and use it throughout your program.
    private static readonly Random random = new Random();
    Then random.Next(), random.Next(int) or random.Next(int, int) just how you need it.
    I.e. 5 Dealers I approached and they all had the same amount and price of drugs. And even after the dealer refresh it didn't work as the code suggests it.

    23 Iunie 2022