Tokio Posted December 1, 2018 Posted December 1, 2018 local redcircle = dxCreateTexture("teszt.png") addEventHandler("onClientRender", root, function() dxDrawMaterialLine3D(-1989.73804, 214.91431, 50,-1989.73804, 214.91431,43.1096496582031, redcircle, 6, tocolor(255,255,255),0,5,6) end) I change numbers, but i cannot rotate the image... how to rotate the image? sorry for my bad english..
MIKI785 Posted December 1, 2018 Posted December 1, 2018 dxDrawMaterialLine3D has further 4 arguments that you're not using. First one is postGUI (irrelavant) and the other 3 are X, Y and Z coordinates of where the drawn picture will be "facing". Use those to rotate it.
Tokio Posted December 1, 2018 Author Posted December 1, 2018 10 minutes ago, MIKI785 said: dxDrawMaterialLine3D has further 4 arguments that you're not using. First one is postGUI (irrelavant) and the other 3 are X, Y and Z coordinates of where the drawn picture will be "facing". Use those to rotate it. i tried, but does not working..
MIKI785 Posted December 1, 2018 Posted December 1, 2018 I have used this before myself and it did work wihout any problems. What values are you putting in?
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