Sex* Posted February 12, 2013 Posted February 12, 2013 I got a awesome script. But... i need to change it to the right, i already tried something but nothing changed. I already looked at this: https://wiki.multitheftauto.com/wiki/GuiGetScreenSize but no information that would be useful. Here is what it looks in original. dxDrawColorText("#ffffff".. messageJoin,30,y/2-20,574.0,20.0,tocolor(200,0,0,255),1,"default-bold","left","top",false,false,false) dxDrawImage (10,x/2-20,16,16,"icon/join.png",0,-120) Its in the left side now, but i want it to be in the right side.
csiguusz Posted February 12, 2013 Posted February 12, 2013 Modify the X coordinate to move them to the right: dxDrawColorText("#ffffff".. messageJoin,x-100,y/2-20,574.0,20.0,tocolor(200,0,0,255),1,"default-bold","left","top",false,false,false) dxDrawImage (x-120,x/2-20,16,16,"icon/join.png",0,-120)
Sex* Posted February 16, 2013 Author Posted February 16, 2013 X and y cordinates are for screen resoulution, so i gotta change some numbers in here but idk wich.
Castillo Posted February 16, 2013 Posted February 16, 2013 Maybe it's a problem of the dxDrawColorText function, you can change it to the original dxDrawText and use the colorCoded argument.
DNL291 Posted February 17, 2013 Posted February 17, 2013 Try dxDrawText function with the colorCoded argument. dxDrawText("#ffffff".. messageJoin,30,y/2-20,574,20,tocolor(200,0,0,255),1,"default-bold","left","top",false,false,false,true) dxDrawImage (10,x/2-20,16,16,"icon/join.png",0,-120)
Sex* Posted February 21, 2013 Author Posted February 21, 2013 You guys are bullshiting me good , because i just tried random cordinates with dxdrawcolortext and finally i got it working and now basicly some things more and im finished with it
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