MAXEY Posted May 27, 2022 Share Posted May 27, 2022 (edited) Hi! I use setComponentVisible for custom wheels, but the inexplicable is happening. https://imgur.com/a/9yNN9hB It worked perfect, but after a server update, some of my script broke for vehicle, wheels pairs(replacWheels) do for namewheels in pairs(wheels) do vehicle:setComponentVisible(namewheels , false) end end last update (https://forum.multitheftauto.com/topic/135875-important-security-notification-for-server-owners-and-hosters/ ) Edited May 27, 2022 by MAXEY Link to comment
MAXEY Posted May 27, 2022 Author Share Posted May 27, 2022 (edited) Problem fixed! Used: change onClientRender > onClientPreRender and refused OOP Edited May 27, 2022 by MAXEY Link to comment
XaskeL Posted May 27, 2022 Share Posted May 27, 2022 This problem persists in any case, regardless of when to hide the wheel. A little earlier it was different. https://github.com/multitheftauto/mtasa-blue/issues/2624 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