Get UI scale/resolution from client?Solved
Hey, I'm new to Rust mod development (but not to programming).

I was just wounder how I access the player's "User Interface Scale" setting.
I'm working on a UI element for a mod and would like it to automatically scale down for players that use a smaller UI scale.

If anyone can help me out that would be great.
Thanks :)
That information isn't obtainable and isn't sent to the server. You'd have to ask the client for input or assume.
Well that really sucks.

Guess I'll play around with adding a little input in the corner where players can input the scale they want. Seems like a really ugly why to do it. Got any better ideas? What do other mods do?
Basically that, else asume. Rust's UI for plugins is pretty limited.
Locked automatically