Try this:
setPlayerHudComponentVisible ( "crosshair", false ) -- removes the original crosshair
addEventHandler("onClientPreRender", root,
function ()
if getControlState("aim_weapon") then
if getPedTargetStart(localPlayer) then
local sx, sy, sz = getPedTargetEnd(localPlayer)
local cx,cy = getScreenFromWorldPosition(sx,sy,sz)
dxDrawImage(cx-10,cy-10,10,10,"crosshair.png")
dxDrawImage(cx,cy,10,10,"crosshair.png",180)
end
end
end)
But i think that using full crosshair image is pretty easier then drawing 2 half-cut parts