marker = createMarker( x, y, z, "cylinder", 2, 255, 255, 255 )
-- x, y, z = xPosition , yPosition, zPosition
-- الاحداثيات ^
addEventHandler("onCilentMarkerHit", getRootElement( ),
-- حدث لمس الماركر جديد
function( element )
-- وظيفة جديده
if source == marker then
-- شرط اذا المصدر او الماركر اللي التمس هو نفس الماركر حقنا
if getElementType(element) == "player" and element == getLocalPlayer() then
-- شرط اذا العنصر الي لمس الماركر لاعب
guiSetVisible( windowName, true )
-- windowName نفتح اللوحه
end
-- if نهاية
end
-- if نهاية
end
-- function نهاية
)
-- قوس اغلاق الحدث