local Marker = createMarker ( x , y , z , "arrow" , 2 , 255 , 255 , 0 , 255 )
local ID = 5 -- هنا الاي دي
addEventHandler ("onMarkerHit",root,
function ( player )
if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then
if source == Marker then
setElementInterior ( player , ID )
end
end
end
)