Icensow Posted April 17, 2018 Share 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 Link to comment
MIKI785 Posted April 17, 2018 Share 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 Link to comment
Skully Posted April 17, 2018 Share 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? Link to comment
XaskeL Posted April 17, 2018 Share Posted April 17, 2018 applyShader returned false? This debug on graphics. Link to comment
Icensow Posted April 17, 2018 Author Share 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. Link to comment
XaskeL Posted April 17, 2018 Share 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( Link to comment
DNL291 Posted April 17, 2018 Share 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 Link to comment
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