Zze 5 Posted December 16, 2018 hey, i am trying to set a random integer to set a random amount of rubles on a player at spawn... so far i've tried int cashrd = int.Parse(Math.RandomIntInclusive(8,348)); - returns a string for some reason xD? int cashrnd = random 348; -fucks off and thinks there isn't a semicolon :/ am I just stupid or what am i doing wrong :3? Share this post Link to post Share on other sites
QassamRocketeer 0 Posted January 31, 2019 Using just this without int.Parse should work. It already returns an integer. int cashrd = Math.RandomIntInclusive( 8, 348 ); This isn't valid code: int cashrnd = random 348; Share this post Link to post Share on other sites