Hey so im trying to figure out how to see local player’s graphics quallity. but i dont know how
If you search the question far enough, you will see it has already been answered How to get a users graphic level?
Yeah i know it is
local userSettings=UserSettings():GetService("UserGameSettings")
local qualityLevel=userSettings.SavedQualityLevel
but it isn’t what i want. I want to like check if the player’s quallity like at 2 or 10. But i suck at scripting so idk how to do that.
You should change the title to that in this case. Also, you already have qualityLevel
which gives you the graphic level needed. To see if the number is equal to something, you can do a == b
to compare the two. The result can be either true or false.
i don’t understand a single word you said in that sentence. It’s not that you explained it worse than the tutorial you send me. It’s just that i don’t understand how to do anythin you said.
Excuse me if im wrong, but your qualityLevel variable returns an Enum
, which you can then check the players graphics level by doing a simple if statement like this: if qualityLevel == Enum.SavedQualitySetting.[your quality level here] then --code end
.
You should take a look at how to do if-then statements, but as you stated that you want to check if the player’s quality like at 2 or 10, I gave an example that you can use to see if the player’s quality is at 2 or 10.
Thanks it worked (also thanks dragon for trying to help)
No problem, my responses go a little more into detail and explain what things are. It will make a little more sense once you get a grasp of the foundation.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.