newFont = guiCreateFont ( "customfont.ttf", 17 )
function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 )
local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "image/qq.png", relative2 )
local mainBackgroundLabel = guiCreateLabel ( 0, 0, 250, 100, titleBarText2, false, mainBackground )
guiSetFont ( mainBackgroundLabel, newFont )
guiSetEnabled ( mainBackgroundLabel, false )
return mainBackground
end
-----------
local screenX, screenY = guiGetScreenSize()
local width, height = 800, 600
local x = (screenX/2) - (width/2)
local y = (screenY/2) - (height/2)
Window = guiCreateWindow(x,y,width,height," panel ",false, theMarker)
guiSetVisible (Window, false, theMarker)
addEvent("openWindow",true)
function open()
guiSetVisible(Window, true)
showCursor(true)
playSound("t.wav")
end
addEventHandler("openWindow", getRootElement(),open)
----------------------------------------------
اوك حبيبي لو دخل شخص الماركر ابيه يروح لمكان معين !
طبعاآ حتى لو عنده سياره عادي يروح للمكان المعين مو شرط يكون نازل من السياره