0 Üye ve 1 Ziyaretçi konuyu incelemekte.
--[[/*--------------------------------------\| || dxteleport.Lua || || -Creator: St.Fighter || -Credits to me and the creators of || encode, decode and hash || -Version: 1.0 || -Date: 19 January 2011 || @@Please Dont be Said To Yours! @@ || || (C) Copyright by St.Fighter || (R) All Right Reserved. |\--------------------------------------*/]]--function dxGuiTeleport ( ) if ( addEventHandler("onClientRender",root,dxWindow) == true ) then guiSetVisible ( Wang, true ) guiSetVisible ( Ottos, true ) guiSetVisible ( Area51, true ) guiSetVisible ( MountChiliad, true ) guiSetVisible ( HeliPad, true ) guiSetVisible ( Bayside, true ) guiSetVisible ( BridgeFacts, true ) guiSetVisible ( LasPayasadas, true ) guiSetVisible ( DesertAirstrip, true ) guiSetVisible ( AirstripSF, true ) guiSetVisible ( AirPortLV, true ) guiSetVisible ( AirPortLS, true ) showCursor ( true ) else removeEventHandler("onClientRender",root,dxWindow) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false ) endendbindKey ( "f6", "down", dxGuiTeleport )--GuiButtonsWang = guiCreateButton(453,335,150,35,"Dogma Alanı",false)guiSetFont ( Wang, "default-bold-small" )Ottos = guiCreateButton(634,389,150,35,"Görevler",false)guiSetFont ( Ottos, "default-bold-small" )Area51 = guiCreateButton(454,389,150,35,"Zombiler",false)guiSetFont ( Area51, "default-bold-small" )MountChiliad = guiCreateButton(825,334,150,35,"Banka",false)guiSetFont ( MountChiliad, "default-bold-small" )HeliPad = guiCreateButton(636,335,150,35,"Ev Mahallesi",false)guiSetFont ( HeliPad, "default-bold-small" )Bayside = guiCreateButton(827,389,150,35,"Vip-Ev",false)guiSetFont ( Bayside, "default-bold-small" )BridgeFacts = guiCreateButton(454,444,150,35,"Base-1",false)guiSetFont ( BridgeFacts, "default-bold-small" )LasPayasadas = guiCreateButton(635,444,150,35,"Base-2",false)guiSetFont ( LasPayasadas, "default-bold-small" )DesertAirstrip = guiCreateButton(829,447,150,35,"Base-3",false)guiSetFont ( DesertAirstrip, "default-bold-small" )AirstripSF = guiCreateButton(453,505,150,35,"Base-4",false)guiSetFont ( AirstripSF, "default-bold-small" )AirPortLV = guiCreateButton(636,507,150,35,"Base-5",false)guiSetFont ( AirPortLV, "default-bold-small" )AirPortLS = guiCreateButton(828,511,150,35,"Base-6",false)guiSetFont ( AirPortLS, "default-bold-small" )-- Direct X Drawing function dxWindow() dxDrawRectangle(406.0,277.0,603.0,316.0,tocolor(0,0,0,100),false) dxDrawText("",750.0,559.0,834.0,582.0,tocolor(0,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",800.0,559.0,890.0,580.0,tocolor(255,165,0,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",895.0,559.0,920.0,584.0,tocolor(255,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("İyisi",921.0,559.0,1007.0,586.0,tocolor(255,0,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawLine(447.0,318.0,958.0,318.0,tocolor(255,255,255,255),1.0,false) dxDrawText("",456.0,285.0,642.0,319.0,tocolor(0,0,0,255),1.0,"pricedown","left","top",false,false,false) dxDrawText("",451.0,289.0,637.0,323.0,tocolor(255,255,0,170),1.0,"pricedown","left","top",false,false,false) endaddEventHandler("onClientRender",root,dxWindow)-- to hide the DX: removeEventHandler("onClientRender",root,dxWindow)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == MountChiliad) then local player = getLocalPlayer() setElementPosition (player , -2262.3212890625,2286.5229492188,4.8202133178711 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLS) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLV) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == DesertAirstrip) then local player = getLocalPlayer() setElementPosition (player , -300.86901855469,1486.6397705078,75.669631958008 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirstripSF) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Wang) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Ottos) then local player = getLocalPlayer() setElementPosition (player , -1974.7971191406,91.34595489502,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Area51) then local player = getLocalPlayer() setElementPosition (player , 135.18838500977,1984.4515680859,19.5 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == HeliPad) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.96605 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Bayside) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.9660 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == BridgeFacts) then local player = getLocalPlayer() setElementPosition (player , 2829.346,2121.4233,10.8203 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == LasPayasadas) then local player = getLocalPlayer() setElementPosition (player , 1099.3504,2514.708,10.815 ) end end)
guiSetVisible ( Ottos, false )guiSetVisible ( Area51, false )guiSetVisible ( MountChiliad, false )guiSetVisible ( HeliPad, false )guiSetVisible ( Bayside, false )guiSetVisible ( BridgeFacts, false )guiSetVisible ( LasPayasadas, false )guiSetVisible ( DesertAirstrip, false )guiSetVisible ( AirstripSF, false )guiSetVisible ( AirPortLV, false )guiSetVisible ( AirPortLS, false )
111. satırı silerek arkaplanı engelleyebilirsin.Butonların görünmemesini sağlamak için 97. satıra şu kodları yapıştır:Kod: luaguiSetVisible ( Ottos, false )guiSetVisible ( Area51, false )guiSetVisible ( MountChiliad, false )guiSetVisible ( HeliPad, false )guiSetVisible ( Bayside, false )guiSetVisible ( BridgeFacts, false )guiSetVisible ( LasPayasadas, false )guiSetVisible ( DesertAirstrip, false )guiSetVisible ( AirstripSF, false )guiSetVisible ( AirPortLV, false )guiSetVisible ( AirPortLS, false )
olmadı
Linki görebilmek için Kayıt olun yada Giriş yapın. Böyle oluyor onları kapatınca
Verdiğim kodları dediğim yere yapıştırdın mı?
Evet Bu sefer o yazılar gitti boş panel kaldı
event eklenilen satırı sildin mi?111. satır
--[[/*--------------------------------------\| || dxteleport.Lua || || -Creator: St.Fighter || -Credits to me and the creators of || encode, decode and hash || -Version: 1.0 || -Date: 19 January 2011 || @@Please Dont be Said To Yours! @@ || || (C) Copyright by St.Fighter || (R) All Right Reserved. |\--------------------------------------*/]]--function dxGuiTeleport ( ) if ( addEventHandler("onClientRender",root,dxWindow) == true ) then guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( true ) else removeEventHandler("onClientRender",root,dxWindow) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false ) endendbindKey ( "f6", "down", dxGuiTeleport )--GuiButtonsWang = guiCreateButton(453,335,150,35,"Dogma Alanı",false)guiSetFont ( Wang, "default-bold-small" )Ottos = guiCreateButton(634,389,150,35,"Görevler",false)guiSetFont ( Ottos, "default-bold-small" )Area51 = guiCreateButton(454,389,150,35,"Zombiler",false)guiSetFont ( Area51, "default-bold-small" )MountChiliad = guiCreateButton(825,334,150,35,"Banka",false)guiSetFont ( MountChiliad, "default-bold-small" )HeliPad = guiCreateButton(636,335,150,35,"Ev Mahallesi",false)guiSetFont ( HeliPad, "default-bold-small" )Bayside = guiCreateButton(827,389,150,35,"Vip-Ev",false)guiSetFont ( Bayside, "default-bold-small" )BridgeFacts = guiCreateButton(454,444,150,35,"Base-1",false)guiSetFont ( BridgeFacts, "default-bold-small" )LasPayasadas = guiCreateButton(635,444,150,35,"Base-2",false)guiSetFont ( LasPayasadas, "default-bold-small" )DesertAirstrip = guiCreateButton(829,447,150,35,"Base-3",false)guiSetFont ( DesertAirstrip, "default-bold-small" )AirstripSF = guiCreateButton(453,505,150,35,"Base-4",false)guiSetFont ( AirstripSF, "default-bold-small" )AirPortLV = guiCreateButton(636,507,150,35,"Base-5",false)guiSetFont ( AirPortLV, "default-bold-small" )AirPortLS = guiCreateButton(828,511,150,35,"Base-6",false)guiSetFont ( AirPortLS, "default-bold-small" )-- Direct X Drawing function dxWindow() dxDrawRectangle(406.0,277.0,603.0,316.0,tocolor(0,0,0,100),false) dxDrawText("",750.0,559.0,834.0,582.0,tocolor(0,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",800.0,559.0,890.0,580.0,tocolor(255,165,0,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",895.0,559.0,920.0,584.0,tocolor(255,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",921.0,559.0,1007.0,586.0,tocolor(255,0,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawLine(447.0,318.0,958.0,318.0,tocolor(255,255,255,255),1.0,false) dxDrawText("",456.0,285.0,642.0,319.0,tocolor(0,0,0,255),1.0,"pricedown","left","top",false,false,false) dxDrawText("",451.0,289.0,637.0,323.0,tocolor(255,255,0,170),1.0,"pricedown","left","top",false,false,false) end-- to hide the DX: removeEventHandler("onClientRender",root,dxWindow)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == MountChiliad) then local player = getLocalPlayer() setElementPosition (player , -2262.3212890625,2286.5229492188,4.8202133178711 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLS) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLV) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == DesertAirstrip) then local player = getLocalPlayer() setElementPosition (player , -300.86901855469,1486.6397705078,75.669631958008 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirstripSF) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Wang) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Ottos) then local player = getLocalPlayer() setElementPosition (player , -1974.7971191406,91.34595489502,27.6875 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Area51) then local player = getLocalPlayer() setElementPosition (player , 135.18838500977,1984.4515680859,19.5 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == HeliPad) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.96605 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Bayside) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.9660 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == BridgeFacts) then local player = getLocalPlayer() setElementPosition (player , 2829.346,2121.4233,10.8203 ) end end)addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == LasPayasadas) then local player = getLocalPlayer() setElementPosition (player , 1099.3504,2514.708,10.815 ) end end)
function dxGuiTeleport ( ) if ( addEventHandler("onClientRender",root,dxWindow) == true ) then guiSetVisible ( Wang, true ) guiSetVisible ( Ottos, true ) guiSetVisible ( Area51, true ) guiSetVisible ( MountChiliad, true ) guiSetVisible ( HeliPad, true ) guiSetVisible ( Bayside, true ) guiSetVisible ( BridgeFacts, true ) guiSetVisible ( LasPayasadas, true ) guiSetVisible ( DesertAirstrip, true ) guiSetVisible ( AirstripSF, true ) guiSetVisible ( AirPortLV, true ) guiSetVisible ( AirPortLS, true ) showCursor ( true ) else removeEventHandler("onClientRender",root,dxWindow) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false ) endendbindKey ( "f6", "down", dxGuiTeleport ) --GuiButtons Wang = guiCreateButton(453,335,150,35,"Dogma Alanı",false)guiSetFont ( Wang, "default-bold-small" ) Ottos = guiCreateButton(634,389,150,35,"Görevler",false)guiSetFont ( Ottos, "default-bold-small" ) Area51 = guiCreateButton(454,389,150,35,"Zombiler",false)guiSetFont ( Area51, "default-bold-small" ) MountChiliad = guiCreateButton(825,334,150,35,"Banka",false)guiSetFont ( MountChiliad, "default-bold-small" ) HeliPad = guiCreateButton(636,335,150,35,"Ev Mahallesi",false)guiSetFont ( HeliPad, "default-bold-small" ) Bayside = guiCreateButton(827,389,150,35,"Vip-Ev",false)guiSetFont ( Bayside, "default-bold-small" ) BridgeFacts = guiCreateButton(454,444,150,35,"Base-1",false)guiSetFont ( BridgeFacts, "default-bold-small" ) LasPayasadas = guiCreateButton(635,444,150,35,"Base-2",false)guiSetFont ( LasPayasadas, "default-bold-small" ) DesertAirstrip = guiCreateButton(829,447,150,35,"Base-3",false)guiSetFont ( DesertAirstrip, "default-bold-small" ) AirstripSF = guiCreateButton(453,505,150,35,"Base-4",false)guiSetFont ( AirstripSF, "default-bold-small" ) AirPortLV = guiCreateButton(636,507,150,35,"Base-5",false)guiSetFont ( AirPortLV, "default-bold-small" ) AirPortLS = guiCreateButton(828,511,150,35,"Base-6",false)guiSetFont ( AirPortLS, "default-bold-small" ) -- Direct X Drawing function dxWindow() dxDrawRectangle(406.0,277.0,603.0,316.0,tocolor(0,0,0,100),false) dxDrawText("",750.0,559.0,834.0,582.0,tocolor(0,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",800.0,559.0,890.0,580.0,tocolor(255,165,0,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",895.0,559.0,920.0,584.0,tocolor(255,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",921.0,559.0,1007.0,586.0,tocolor(255,0,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawLine(447.0,318.0,958.0,318.0,tocolor(255,255,255,255),1.0,false) dxDrawText("",456.0,285.0,642.0,319.0,tocolor(0,0,0,255),1.0,"pricedown","left","top",false,false,false) dxDrawText("",451.0,289.0,637.0,323.0,tocolor(255,255,0,170),1.0,"pricedown","left","top",false,false,false) end-- to hide the DX: removeEventHandler("onClientRender",root,dxWindow) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == MountChiliad) then local player = getLocalPlayer() setElementPosition (player , -2262.3212890625,2286.5229492188,4.8202133178711 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLS) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLV) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == DesertAirstrip) then local player = getLocalPlayer() setElementPosition (player , -300.86901855469,1486.6397705078,75.669631958008 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirstripSF) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Wang) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Ottos) then local player = getLocalPlayer() setElementPosition (player , -1974.7971191406,91.34595489502,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Area51) then local player = getLocalPlayer() setElementPosition (player , 135.18838500977,1984.4515680859,19.5 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == HeliPad) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.96605 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Bayside) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.9660 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == BridgeFacts) then local player = getLocalPlayer() setElementPosition (player , 2829.346,2121.4233,10.8203 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == LasPayasadas) then local player = getLocalPlayer() setElementPosition (player , 1099.3504,2514.708,10.815 ) end end)
Kod: luafunction dxGuiTeleport ( ) if ( addEventHandler("onClientRender",root,dxWindow) == true ) then guiSetVisible ( Wang, true ) guiSetVisible ( Ottos, true ) guiSetVisible ( Area51, true ) guiSetVisible ( MountChiliad, true ) guiSetVisible ( HeliPad, true ) guiSetVisible ( Bayside, true ) guiSetVisible ( BridgeFacts, true ) guiSetVisible ( LasPayasadas, true ) guiSetVisible ( DesertAirstrip, true ) guiSetVisible ( AirstripSF, true ) guiSetVisible ( AirPortLV, true ) guiSetVisible ( AirPortLS, true ) showCursor ( true ) else removeEventHandler("onClientRender",root,dxWindow) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false ) endendbindKey ( "f6", "down", dxGuiTeleport ) --GuiButtons Wang = guiCreateButton(453,335,150,35,"Dogma Alanı",false)guiSetFont ( Wang, "default-bold-small" ) Ottos = guiCreateButton(634,389,150,35,"Görevler",false)guiSetFont ( Ottos, "default-bold-small" ) Area51 = guiCreateButton(454,389,150,35,"Zombiler",false)guiSetFont ( Area51, "default-bold-small" ) MountChiliad = guiCreateButton(825,334,150,35,"Banka",false)guiSetFont ( MountChiliad, "default-bold-small" ) HeliPad = guiCreateButton(636,335,150,35,"Ev Mahallesi",false)guiSetFont ( HeliPad, "default-bold-small" ) Bayside = guiCreateButton(827,389,150,35,"Vip-Ev",false)guiSetFont ( Bayside, "default-bold-small" ) BridgeFacts = guiCreateButton(454,444,150,35,"Base-1",false)guiSetFont ( BridgeFacts, "default-bold-small" ) LasPayasadas = guiCreateButton(635,444,150,35,"Base-2",false)guiSetFont ( LasPayasadas, "default-bold-small" ) DesertAirstrip = guiCreateButton(829,447,150,35,"Base-3",false)guiSetFont ( DesertAirstrip, "default-bold-small" ) AirstripSF = guiCreateButton(453,505,150,35,"Base-4",false)guiSetFont ( AirstripSF, "default-bold-small" ) AirPortLV = guiCreateButton(636,507,150,35,"Base-5",false)guiSetFont ( AirPortLV, "default-bold-small" ) AirPortLS = guiCreateButton(828,511,150,35,"Base-6",false)guiSetFont ( AirPortLS, "default-bold-small" ) -- Direct X Drawing function dxWindow() dxDrawRectangle(406.0,277.0,603.0,316.0,tocolor(0,0,0,100),false) dxDrawText("",750.0,559.0,834.0,582.0,tocolor(0,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",800.0,559.0,890.0,580.0,tocolor(255,165,0,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",895.0,559.0,920.0,584.0,tocolor(255,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",921.0,559.0,1007.0,586.0,tocolor(255,0,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawLine(447.0,318.0,958.0,318.0,tocolor(255,255,255,255),1.0,false) dxDrawText("",456.0,285.0,642.0,319.0,tocolor(0,0,0,255),1.0,"pricedown","left","top",false,false,false) dxDrawText("",451.0,289.0,637.0,323.0,tocolor(255,255,0,170),1.0,"pricedown","left","top",false,false,false) end-- to hide the DX: removeEventHandler("onClientRender",root,dxWindow) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == MountChiliad) then local player = getLocalPlayer() setElementPosition (player , -2262.3212890625,2286.5229492188,4.8202133178711 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLS) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLV) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == DesertAirstrip) then local player = getLocalPlayer() setElementPosition (player , -300.86901855469,1486.6397705078,75.669631958008 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirstripSF) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Wang) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Ottos) then local player = getLocalPlayer() setElementPosition (player , -1974.7971191406,91.34595489502,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Area51) then local player = getLocalPlayer() setElementPosition (player , 135.18838500977,1984.4515680859,19.5 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == HeliPad) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.96605 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Bayside) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.9660 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == BridgeFacts) then local player = getLocalPlayer() setElementPosition (player , 2829.346,2121.4233,10.8203 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == LasPayasadas) then local player = getLocalPlayer() setElementPosition (player , 1099.3504,2514.708,10.815 ) end end)
function dxGuiTeleport ( ) if ( addEventHandler("onClientRender",root,dxWindow) == true ) then guiSetVisible ( Wang, true ) guiSetVisible ( Ottos, true ) guiSetVisible ( Area51, true ) guiSetVisible ( MountChiliad, true ) guiSetVisible ( HeliPad, true ) guiSetVisible ( Bayside, true ) guiSetVisible ( BridgeFacts, true ) guiSetVisible ( LasPayasadas, true ) guiSetVisible ( DesertAirstrip, true ) guiSetVisible ( AirstripSF, true ) guiSetVisible ( AirPortLV, true ) guiSetVisible ( AirPortLS, true ) showCursor ( true ) else removeEventHandler("onClientRender",root,dxWindow) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false ) endendbindKey ( "f6", "down", dxGuiTeleport ) --GuiButtons Wang = guiCreateButton(453,335,150,35,"Dogma Alanı",false)guiSetFont ( Wang, "default-bold-small" ) Ottos = guiCreateButton(634,389,150,35,"Görevler",false)guiSetFont ( Ottos, "default-bold-small" ) Area51 = guiCreateButton(454,389,150,35,"Zombiler",false)guiSetFont ( Area51, "default-bold-small" ) MountChiliad = guiCreateButton(825,334,150,35,"Banka",false)guiSetFont ( MountChiliad, "default-bold-small" ) HeliPad = guiCreateButton(636,335,150,35,"Ev Mahallesi",false)guiSetFont ( HeliPad, "default-bold-small" ) Bayside = guiCreateButton(827,389,150,35,"Vip-Ev",false)guiSetFont ( Bayside, "default-bold-small" ) BridgeFacts = guiCreateButton(454,444,150,35,"Base-1",false)guiSetFont ( BridgeFacts, "default-bold-small" ) LasPayasadas = guiCreateButton(635,444,150,35,"Base-2",false)guiSetFont ( LasPayasadas, "default-bold-small" ) DesertAirstrip = guiCreateButton(829,447,150,35,"Base-3",false)guiSetFont ( DesertAirstrip, "default-bold-small" ) AirstripSF = guiCreateButton(453,505,150,35,"Base-4",false)guiSetFont ( AirstripSF, "default-bold-small" ) AirPortLV = guiCreateButton(636,507,150,35,"Base-5",false)guiSetFont ( AirPortLV, "default-bold-small" ) AirPortLS = guiCreateButton(828,511,150,35,"Base-6",false)guiSetFont ( AirPortLS, "default-bold-small" ) guiSetVisible ( Wang, false ) guiSetVisible ( Ottos, false ) guiSetVisible ( Area51, false ) guiSetVisible ( MountChiliad, false ) guiSetVisible ( HeliPad, false ) guiSetVisible ( Bayside, false ) guiSetVisible ( BridgeFacts, false ) guiSetVisible ( LasPayasadas, false ) guiSetVisible ( DesertAirstrip, false ) guiSetVisible ( AirstripSF, false ) guiSetVisible ( AirPortLV, false ) guiSetVisible ( AirPortLS, false ) showCursor ( false )-- Direct X Drawing function dxWindow() dxDrawRectangle(406.0,277.0,603.0,316.0,tocolor(0,0,0,100),false) dxDrawText("",750.0,559.0,834.0,582.0,tocolor(0,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",800.0,559.0,890.0,580.0,tocolor(255,165,0,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",895.0,559.0,920.0,584.0,tocolor(255,255,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawText("",921.0,559.0,1007.0,586.0,tocolor(255,0,255,175),0.7,"pricedown","left","top",false,false,false) dxDrawLine(447.0,318.0,958.0,318.0,tocolor(255,255,255,255),1.0,false) dxDrawText("",456.0,285.0,642.0,319.0,tocolor(0,0,0,255),1.0,"pricedown","left","top",false,false,false) dxDrawText("",451.0,289.0,637.0,323.0,tocolor(255,255,0,170),1.0,"pricedown","left","top",false,false,false) end-- to hide the DX: removeEventHandler("onClientRender",root,dxWindow) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == MountChiliad) then local player = getLocalPlayer() setElementPosition (player , -2262.3212890625,2286.5229492188,4.8202133178711 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLS) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirPortLV) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == DesertAirstrip) then local player = getLocalPlayer() setElementPosition (player , -300.86901855469,1486.6397705078,75.669631958008 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == AirstripSF) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Wang) then local player = getLocalPlayer() setElementPosition (player , -1967.9045410156,137.72703552246,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Ottos) then local player = getLocalPlayer() setElementPosition (player , -1974.7971191406,91.34595489502,27.6875 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Area51) then local player = getLocalPlayer() setElementPosition (player , 135.18838500977,1984.4515680859,19.5 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == HeliPad) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.96605 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == Bayside) then local player = getLocalPlayer() setElementPosition (player , 2903.552246,-746.826599,10.9660 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == BridgeFacts) then local player = getLocalPlayer() setElementPosition (player , 2829.346,2121.4233,10.8203 ) end end) addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()), function ( ) if (source == LasPayasadas) then local player = getLocalPlayer() setElementPosition (player , 1099.3504,2514.708,10.815 ) end end)