Icensow Posted April 17, 2018 Posted April 17, 2018 (edited) Hello. Is there a way to detect that the player enabled any debug setting? Edited April 17, 2018 by Icensow
MIKI785 Posted April 17, 2018 Posted April 17, 2018 (edited) Do you mean isDebugViewActive? https://wiki.multitheftauto.com/wiki/IsDebugViewActive Edit: I initially didn't see the screenshot, this isn't what you're looking for. Edited April 17, 2018 by MIKI785
Skully Posted April 17, 2018 Posted April 17, 2018 I don't think it's possible to get the state of any settings the player has. What are you trying to do anyway?
XaskeL Posted April 17, 2018 Posted April 17, 2018 applyShader returned false? This debug on graphics.
Icensow Posted April 17, 2018 Author Posted April 17, 2018 2 hours ago, Skully said: I don't think it's possible to get the state of any settings the player has. What are you trying to do anyway? It's possible. I saw it on some server. Players can disable server shaders (most of which are used to replace textures) using this setting. 44 minutes ago, XaskeL said: applyShader returned false? This debug on graphics. No, engineApplyShaderToWorldTexture return true.
XaskeL Posted April 17, 2018 Posted April 17, 2018 6 hours ago, Icensow said: It's possible. I saw it on some server. Players can disable server shaders (most of which are used to replace textures) using this setting. No, engineApplyShaderToWorldTexture return true. This is very bad( I not have idea for fix this problem(
DNL291 Posted April 17, 2018 Posted April 17, 2018 These settings you mentioned I don't think it's possible to get via script. The function used to disable shaders is engineRemoveShaderFromWorldTexture. You can get client settings/infos with this function: dxGetStatus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now