Turbesz Posted May 15, 2021 Share Posted May 15, 2021 I want to change the default red ***Network Trouble*** text with something else in dx. Is it possible? 1 Link to comment
Moderators Patrick Posted May 15, 2021 Moderators Share Posted May 15, 2021 It's not. 3 Link to comment
Turbesz Posted May 15, 2021 Author Share Posted May 15, 2021 9 minutes ago, Patrick said: It's not. thanks anyway Link to comment
Nebla Posted May 15, 2021 Share Posted May 15, 2021 You can change it actually, but you need Photoshop skills hhh 1 Link to comment
Moderators Popular Post IIYAMA Posted May 15, 2021 Moderators Popular Post Share Posted May 15, 2021 4 hours ago, Turbesz said: text with something else in dx. Is it possible? Maybe you can draw something on top of it. *edited* https://wiki.multitheftauto.com/wiki/OnClientPlayerNetworkStatus 3 1 Link to comment
Moderators Patrick Posted May 15, 2021 Moderators Share Posted May 15, 2021 4 minutes ago, IIYAMA said: You can draw something on top of it. https://wiki.multitheftauto.com/wiki/OnClientPlayerNetworkStatus Are you sure? I think it's always on top. 1 Link to comment
Moderators IIYAMA Posted May 16, 2021 Moderators Share Posted May 16, 2021 1 hour ago, Patrick said: Are you sure? I think it's always on top. nope, didn't think about that. But since you can draw on top of the chat, it is still worth a try. Or just draw it double, but bigger. 2 Link to comment
Moderators Patrick Posted May 16, 2021 Moderators Share Posted May 16, 2021 9 hours ago, IIYAMA said: But since you can draw on top of the chat, it is still worth a try. Good point 1 Link to comment
Fist Posted May 16, 2021 Share Posted May 16, 2021 16 hours ago, Patrick said: Are you sure? I think it's always on top. I think it can be hidden if you use DX functions, but not 100% sure. It did work for MTA version text on bottom right though. Link to comment
Maruchan Posted May 19, 2021 Share Posted May 19, 2021 (edited) On 16/05/2021 at 11:42, Fist said: I think it can be hidden if you use DX functions, but not 100% sure. It did work for MTA version text on bottom right though. Example? Edited May 19, 2021 by Maruchan Link to comment
Popular Post SpecT Posted May 20, 2021 Popular Post Share Posted May 20, 2021 (edited) For those who still wonder The idea of drawing on top of it with dx functions was actually good and it works! Here is the result from what I tried: This was done by drawing a rectangle with the size of the screen and some text over it and as you can see you can barely see the ***NETWORK TROUBLE*** text. function onGotProblem(status) if status == 0 then -- we got a problem addEventHandler("onClientRender", root, networkWarning) else -- all good removeEventHandler("onClientRender", root, networkWarning) end end addEventHandler("onClientPlayerNetworkStatus", root, onGotProblem) function networkWarning() -- Draw your stuff here dxDrawRectangle(...) dxDrawText(...) end Edited May 20, 2021 by SpecT 2 2 Link to comment
Maruchan Posted May 22, 2021 Share Posted May 22, 2021 Bro send me full script please! :V 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