.:HyPeX:. Posted April 5, 2014 Posted April 5, 2014 So, just as the awesome topic name says, here it is! So whats dxRec? dxRec is a tool for making dxDrawRectangles in-game and getting them easily outside MTA for usage! With this resource you dont need to know much scripting, just some file editing to make rectangles! Usage: Type in '/dxRec' in the chat and follow the instructions. '/color' must have a SPACE INBETWEEN EACH NUMBER. EACH NUMBER MUST BE 0-255. Eg: 160 0 0 180 '/del' will delete the last added rectangle showing. Enjoy and have fun! Greetz HyPeX https://community.multitheftauto.com/ind ... ls&id=9011 Note: Please use the community link as it counts downloads, also, please post if it was usefull or any problem! External Download Link: here Example result: (Note one of them is alpha 0) function DrawRectangleName() local x,y = guiGetScreenSize() dxDrawRectangle(x*0.21911764144897,y*0.20182292163372,x*0.49558824300766,y*0.5143228918314,-1275068416) dxDrawRectangle(x*0.14779411256313,y*0.30598959326744,x*0.097794115543365,y*0.44661459326744,11842560) dxDrawRectangle(x*0.60000002384186,y*0.33463540673256,x*0.21249997615814,y*0.40755209326744,-1275068416) end addEventHandler('onClientRender',getRootElement(), dxDrawRectangleName) Greetz HyPeX My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Castillo Posted April 5, 2014 Posted April 5, 2014 No offense, but what is the point of this? the guieditor resource has this on a much better and more interactive way. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
.:HyPeX:. Posted April 5, 2014 Author Posted April 5, 2014 No offense, but what is the point of this? the guieditor resource has this on a much better and more interactive way. As far as i remember, guieditor was only for making GUIs and worked on absolute values (very long since last time i checked) My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Castillo Posted April 5, 2014 Posted April 5, 2014 GUIeditor resource has DX drawing functions since quite a long time. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
AJXB Posted April 5, 2014 Posted April 5, 2014 Castillo is right, as much great work you did there, good job and keep it up! but many people will use GUIeditor because it has more features in a really easy-to-use way I'm sure you can use your Lua skills to create something unique! ~ This has to be the worst board post I have ever read. It simply makes no sense. You start off by talking about space or something, then you randomly start babbling about cupcakes, and you end off with random fish names. ~ Don't listen to this guy, any board with the categories 'dinosaurs, spaceships, fried foods, wild animals, alien abductions, business casual, robots, and fireworks' has true potential.
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