Tokio Posted June 22, 2017 Posted June 22, 2017 local image = dxCreateTexture( "tesztkep.jpg" ) local white = tocolor(255,255,255,255) addEventHandler("onClientRender", root,function() dxDrawMaterialLine3D( 2463.71143, -1658.97595, 15.31024,2463.55469, -1651.24609, 15.47028,image,7,white ) end) this is my code, and this is the problem: how to fix this rotation problem?
MIKI785 Posted June 23, 2017 Posted June 23, 2017 I don't get it, you do have it fixed in the second picture, what do you want it to look like?
WorthlessCynomys Posted June 23, 2017 Posted June 23, 2017 @50cent you should read the function carefully... the last 3 arguments of that function is face toward xyz, which makes your material's facing fix, and NOT relative to the player.
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