Jump to content

[HELP] How to rotate dxDrawMaterialLine3D image?


Tokio

Recommended Posts

Posted
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..

Posted
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.. 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...