Ben_Sherman Posted September 24, 2014 Share Posted September 24, 2014 Hello, I just had an amazing idea however it kinda reminds me of some function I so around SAMP, however f**k samp am I right? Well how about I stay on the subject. I want to create a live editor and I need some help in order for me to do that. I'm not really sure what functions you guys recommend me and such in order to pull it off. This is just a brief example of how it should kinda look like, basically it should have this lines and button which you can click on and by moving the mouse while holding down the button on the UI it should move the object, and then it comes additional buttons in the bottom section of the UI which will switch the buttons to rotation instead. So I'm not really sure how to do this and thought why not ask the community itself as it seems like you guys have alot of ideas how to create stuff and definitely know alot more functions among MTA. Some of you might say straight away "Look around the forums and wiki" well I did that however I didn't really find what I was looking for and I wouldn't write a topic unless I needed the help. Thanks for your replies! Sincerely, Ben Link to comment
MTA Team botder Posted September 24, 2014 MTA Team Share Posted September 24, 2014 Or use the option "Lock movement to axes" in the settings menu which does the same thing Link to comment
Saml1er Posted September 25, 2014 Share Posted September 25, 2014 local elem = createPed (...) addEventHandler("onClientPreRender",root, function() dxDrawLine3D (...) dxDrawImage3D (...) -- custom function, search in wiki and you can this for rendering button images. It has an arguement where you can attach this image to an element, so simply attach it to ped and set ped alpha to 0 or whatever suits you end) addEventHandler("onClientClick",root, function() end) EDIT: Ah, I just found out that this is not what you were asking for. 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