is the first time I'm using dxDraw Material Line3D.
and I have a pobrêma the image does not increase from the middle out
I want increases from inside to outside.
can someone help me?
local material = dxCreateTexture( "zz.png" )
--position the image increases
local x, y, z = -1337.2880859375, -128.0078125, 14.1484375
--position the image increases
v= 0
local TextColor = tocolor( 255,255,255,255 )
addEventHandler( "onClientRender", root,
function()
if gamemode == "Deathmatch" then
TextColor = tocolor( 255,255,255,160 )
end
v = v+1
outputDebugString(v)
if v == 20 then
v = 0
outputDebugString(v)
end
dxDrawMaterialLine3D( x, y, z, x, y+v, z , material, v, TextColor, x, y, z-1)
end
)