RELEASE Posted March 10, 2016 Share Posted March 10, 2016 Hello, how i can do rounded borders by dx rectangle ? thank you Link to comment
ArminFx Posted March 10, 2016 Share Posted March 10, 2016 I think you mean the Outline, on the same guieditor you can put luck Link to comment
SpecT Posted March 10, 2016 Share Posted March 10, 2016 @ArminFx He means a rectangle with rounded borders not outline ... @RELEASE You can use an image to make what you want. Some more info: https://forum.multitheftauto.com/viewtopic.php?f=91&t=74756 Link to comment
Noki Posted March 11, 2016 Share Posted March 11, 2016 The chatbubbles resource does exactly this. Here's an excerpt: dxDrawRectangle(posx - (3 + (0.5 * width)),posy - (2 + (v[4] * 20)),width + 5, 19,tocolor(0,0,0,105)) dxDrawRectangle(posx - (6 + (0.5 * width)),posy - (2 + (v[4] * 20)),width + 11, 19,tocolor(0,0,0,50)) dxDrawRectangle(posx - (8 + (0.5 * width)),posy - (1 + (v[4] * 20)),width + 15, 17,tocolor(0,0,0,20)) dxDrawRectangle(posx - (10 + (0.5 * width)),posy - (1 + (v[4] * 20)),width + 19, 17,tocolor(0,0,0,50)) dxDrawRectangle(posx - (10 + (0.5 * width)),posy - (v[4] * 20) + 1,width + 19, 13,tocolor(0,0,0,20)) dxDrawRectangle(posx - (12 + (0.5 * width)),posy - (v[4] * 20) + 1,width + 23, 13,tocolor(0,0,0,50)) dxDrawRectangle(posx - (12 + (0.5 * width)),posy - (v[4] * 20) + 4,width + 23, 7,tocolor(0,0,0,20)) 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