0 Üye ve 1 Ziyaretçi konuyu incelemekte.
local marker = createMarker ( -2651.8, 1410.0, 906.2, "cylinder", 1.5, 10, 250, 10 )
for i,m in pairs(markerTable) do createMarker( m[1], m[2], m[3], "cylinder", 1, 255, 0, 0, 255 )end
markerTable = { {829.6, 5.7996, 1003.1},}
GUIEditor = { button = {}, window = {}, label = {}}local screenW, screenH = guiGetScreenSize()local marker = createMarker ( -2651.8, 1410.0, 906.2, "cylinder", 1.5, 10, 250, 10 )local blip = createBlip(500.7, -75.08, 998.7, 49, 0, 0, 0, 0, 0, 0, 250)setBlipVisibleDistance(blip, 150)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --function markerHit ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and ( hitPlayer == localPlayer ) then guiSetVisible ( window, true ) showCursor(true) end end addEventHandler ( "onClientMarkerHit", marker, markerHit )
markerTable = { {-2651.8, 1410.0, 906.2},}GUIEditor = { button = {}, window = {}, label = {}}local screenW, screenH = guiGetScreenSize()for i,m in pairs(markerTable) do marker = createMarker( m[1], m[2], m[3], "cylinder", 1, 255, 0, 0, 255 )endsetElementİnterior(marker, 3)local blip = createBlip(500.7, -75.08, 998.7, 49, 0, 0, 0, 0, 0, 0, 250)setBlipVisibleDistance(blip, 150)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --function markerHit ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and ( hitPlayer == localPlayer ) then guiSetVisible ( window, true ) showCursor(true) end
setElementİnterior(marker, 3)
setElementInterior(marker, 3)
markerTable = { {-2678.1, 1401.7, 907.5}, {-2673.5, 1409.4, 907.5},}
markerTable = { {-2678.1, 1401.7, 907.5}, {-2673.5, 1409.4, 907.5}}
markerTable = { {2355.3,2146.1,10.7}, {2344.7,2150.5,10.7}}GUIEditor = { button = {}, window = {}, label = {}}local screenW, screenH = guiGetScreenSize()-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --local window = guiCreateWindow((screenW - 519) / 2, (screenH - 458) / 2, 519, 458, "panel", false)guiWindowSetSizable(window, false)for i,m in pairs(markerTable) do marker = createMarker( m[1], m[2], m[3], "cylinder", 1, 255, 0, 0, 255 )end -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --function markerHit ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and ( hitPlayer == localPlayer ) then guiSetVisible ( window, true ) showCursor(true) end end addEventHandler ( "onClientMarkerHit", marker, markerHit )-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --label0 = guiCreateLabel(125, 33, 519, 23, "Выбeритe напиток, который вы хотите выпить", false, window)label2 = guiCreateLabel(24, 210, 519, 32, "Пиво 2,5% | 1000 руб.", false, window)label3 = guiCreateLabel(196, 210, 519, 32, "Водка 40% | 4000 руб.", false, window)label4 = guiCreateLabel(364, 210, 519, 32, "Виски 40% | 6000 руб.", false, window)label5 = guiCreateLabel(20, 379, 519, 32, "Коньяк 40% | 9000 руб.", false, window)label6 = guiCreateLabel(182, 379, 519, 32, "Мартини 25% | 15000 руб.", false, window)label7 = guiCreateLabel(354, 379, 519, 32, "Самогон 60% | 20000 руб.", false, window)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --local congac = guiCreateStaticImage(17, 239, 147, 132, "images/2.png", false, window)local martini = guiCreateStaticImage(186, 239, 147, 132, "images/martini.png", false, window)local camogon = guiCreateStaticImage(354, 239, 147, 132, "images/what.png", false, window)local pivo = guiCreateStaticImage(17, 66, 147, 132, "images/beer.png", false, window)local vodka = guiCreateStaticImage(186, 66, 147, 132, "images/vodka.png", false, window)local whiskey = guiCreateStaticImage(354, 66, 147, 132, "images/whiskey.png", false, window)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --local close = guiCreateButton(186, 411, 146, 33, "kapat", false, window)guiSetFont(close, "default-bold-small")guiSetProperty(close, "NormalTextColour", "FFFF0000")guiSetVisible(window, false)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --function closegui () if (guiGetVisible (window) == true) then guiSetVisible(window, false) showCursor(false) endendaddEventHandler ( "onClientGUIClick", close, closegui)-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
markerTable = { {-2678.1, 1401.7, 907.5}, {-2673.5, 1409.4, 907.5},}addEventHandler("onClientResourceStart",root,function()for i,v in pairs(markerTable) dolocal x,y,z = unpack(v)local marker = createMarker ( x,y,z, "cylinder", 1.5, 10, 250, 10 )local blip = createBlip(x,y,z, 49, 0, 0, 0, 0, 0, 0, 250)setBlipVisibleDistance(blip, 150)endend)function markerHit ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and ( hitPlayer == localPlayer ) then guiSetVisible ( window, true ) showCursor(true) end end addEventHandler ( "onClientMarkerHit", getResourceRootElement(getThisResource()), markerHit )
markerTable = { {-2678.1, 1401.7, 907.5}, {-2673.5, 1409.4, 907.5},}GUIEditor = { button = {}, window = {}, label = {}}local screenW, screenH = guiGetScreenSize()local window = guiCreateWindow((screenW - 519) / 2, (screenH - 458) / 2, 519, 458, "panel", false)guiWindowSetSizable(window, false)addEventHandler("onClientResourceStart",root,function()for i,v in pairs(markerTable) dolocal x,y,z = unpack(v)local marker = createMarker ( x,y,z, "cylinder", 1.5, 10, 250, 10 )local blip = createBlip(x,y,z, 49, 0, 0, 0, 0, 0, 0, 250)setBlipVisibleDistance(blip, 150)endendfunction markerHit ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and ( hitPlayer == localPlayer ) then guiSetVisible ( window, true ) showCursor(true) end end addEventHandler ( "onClientMarkerHit", getResourceRootElement(getThisResource()), markerHit ))