Search the Community
Showing results for tags 'material'.
-
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..
-
Hi, Im wondering if there in MTA is any possibility of changing the object texture (on each index) like in the SAMP (in SAMP this function is called SetObjectMaterial). I know that I can use shader for that (its called "UV scripted") and using this shader I can apply images to the specified object on specified index but it forces me to upload images on my server and make it weight so much if I wanna have a lot of materials. So my question is - Can I use GTA SA materials for that, not only uploaded images?
-
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?