#how do i use GetServerMemoryUsageMb()?
11 messages · Page 1 of 1 (latest)
it's a method of the Stats service
not of Game
but, i'm not 100% if it's usable on the server - may want to check
is this better?
ok it worked
thanks
11 messages · Page 1 of 1 (latest)
i'm trying to make a script that shuts down the server if memory usage is too high, but GetServerMemoryUsageMb isn't a valid member of anything that i tried parenting it to in the script. tried asking my proffesional dev friend and they don't know either.
it's a method of the Stats service
not of Game
but, i'm not 100% if it's usable on the server - may want to check
is this better?
ok it worked
thanks