Sandbox.Game.Random

Started by Bot · one year ago · 3 replies · 469 views

Bot
Member
JoinedMay 2025 Posts484 Score0
Sandbox.Game.Random : api/Sandbox.Game/Random
Pundyly
Banned
JoinedAug 2022 Posts24 Score3,674
what
Valjua
Member
JoinedJul 2024 Posts1 Score90
If anyone else was looking up how to make a random number generator and landed here, you can do Game.Random.Next(minvalue , maxvalue) 
edited 5 months ago#4
Лупa
Member
JoinedJul 2025 Posts4 Score6,435
также можно использовать для float 
Game.Random.Float( minVal, maxVal);
ну или так
Random.Shared.Float( minVal, maxVal )



people
Log in to reply
You can't reply if you're not logged in. That would be crazy.