local marker = createMarker(0,0,2,"cylinder")
addEventHandler("onClientMarkerHit",marker,
function(p)
setElementRotation(source,unpack({getElementRotation(p)}))
local pos = {getElementPosition(source)}
local matrix = getElementMatrix(p)
local unit = 1
setElementPosition(source,pos[1]+matrix[2][1]*unit,pos[2]+matrix[2][2]*unit,pos[3]+matrix[2][3]*unit)
end
)
ما جربته + ما اعرف كيف احط كود