طبعاً انا مسوي صورة حقت خريطة ابي اسوي لما اضغط عليها يحط بلب عليها لكن مايضبط معي هذول الاكواد
local loc = getLocalPlayer()
local screenW, screenH = guiGetScreenSize()
map = guiCreateStaticImage((screenW - 656) / 2, (screenH - 658) / 2, 656, 658, ":9adoh/map.png", false)
guiSetVisible(map,false)
bindKey('F7','down',
function()
guiSetVisible(map , not guiGetVisible( map ) )
showCursor( not isCursorShowing() )
end )
function makeBlip()
if createBlip( x , y , z, 41) then
guiSetVisible(map , false)
end
end
addEventHandler('onClientGUIClick',map,makeBlip)