0 Üye ve 1 Ziyaretçi konuyu incelemekte.
sx, sy = guiGetScreenSize()Player = getLocalPlayer()visible = falsekey = "O"name = "Tag Sistemi"version = ""closetext = "X"
Attım bakarmısınMesaj Birleştirildi: 28 Kasım 2017, 20:58:50Arkadas musait deil heralde ilgilenmedi hala baska yardımcı olmak istiyen varmı ?
outputChatBox("✕ Drifter ✕ #FF9900 " .. N .. "#FFFFFF: #FFFFCC" .. text:gsub('#%x%x%x%x%x%x', ''), getRootElement(), r, g, b, true )
Paneli attım startladım sorunsuz çalısıyor fakat 1 saat oynadım serverde paneli acma tusuna bastım acılmadı işde bazen buga girio acılmıyor bu sorunu nasıl halledebilirim Mesaj Birleştirildi: 03 Aralık 2017, 10:36:26Suan kullandıgım tag panel Linki görebilmek için Kayıt olun yada Giriş yapın.
Afk kalıp oyuna girdigimde panel acılmamaya basladı aynı sorun
function hideGuiButton()if source == Btn19_label then addEventHandler("onClientRender",root,yazi) removeEventHandler("onClientRender",root,kay)endendaddEventHandler("onClientGUIClick", root, hideGuiButton)
function hideGuiButton()if source == Btn19_label then panelacikmi = 0 addEventHandler("onClientRender",root,yazi) removeEventHandler("onClientRender",root,kay)endendaddEventHandler("onClientGUIClick", root, hideGuiButton)
Btn15 = guiCreateStaticImage(xBtn+6.7*space,yBtn+6*space,wBtn,hBtn,files[2],false, window)Btn15_label = guiCreateLabel(labelx,labely,labelw,labelh,"Torbacı", false, Btn15)guiSetFont(Btn15_label, "default-bold-small")guiLabelSetColor(Btn15_label, colorr,colorg,colorh)guiLabelSetHorizontalAlign(Btn15_label, "center", false)guiLabelSetVerticalAlign(Btn15_label, "center")Btn16 = guiCreateStaticImage(xBtn+6.7*space,yBtn+7*space,wBtn,hBtn,files[2],false, window)Btn16_label = guiCreateLabel(x2label-4,labely,ilabel,labelh,"Çevik Kuvvet", false, Btn16)guiSetFont(Btn16_label, "default-bold-small")guiLabelSetColor(Btn16_label, colorr,colorg,colorh)guiLabelSetHorizontalAlign(Btn16_label, "center", false)guiLabelSetVerticalAlign(Btn16_label, "center")Btn17 = guiCreateStaticImage(xBtn+6.7*space,yBtn+8*space,wBtn,hBtn,files[2],false, window)Btn17_label = guiCreateLabel(x2label-4,labely,ilabel,labelh,"Özel Harekat", false, Btn17)guiSetFont(Btn17_label, "default-bold-small")guiLabelSetColor(Btn17_label, colorr,colorg,colorh)guiLabelSetHorizontalAlign(Btn17_label, "center", false)guiLabelSetVerticalAlign(Btn17_label, "center")Btn18 = guiCreateStaticImage(xBtn+6.7*space,yBtn+9*space,wBtn,hBtn,files[2],false, window)Btn18_label = guiCreateLabel(labelx+1,labely,labelw,labelh,"Bordo Bereli", false, Btn18)guiSetFont(Btn18_label, "default-bold-small")guiLabelSetColor(Btn18_label, colorr,colorg,colorh)guiLabelSetHorizontalAlign(Btn18_label, "center", false)guiLabelSetVerticalAlign(Btn18_label, "center")Btn19_label = guiCreateLabel(xClose+155,yZero+0.15*space,jBtn-10,hBtn-10,closetext, false, window)guiSetFont(Btn19_label, "default-bold-small")guiLabelSetColor(Btn19_label, colorr,colorg,colorh)guiLabelSetHorizontalAlign(Btn19_label, "center", false)guiLabelSetVerticalAlign(Btn19_label, "center")Btn20 = guiCreateStaticImage(xClose+155,yZero+0.3*space,jBtn-40,hBtn-15,files[0], false, window)guiSetAlpha(Btn20,alphax)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn1_label thenguiLabelSetColor(Btn1_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn1_label thenguiLabelSetColor(Btn1_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn2_label thenguiLabelSetColor(Btn2_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn2_label thenguiLabelSetColor(Btn2_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn3_label thenguiLabelSetColor(Btn3_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn3_label thenguiLabelSetColor(Btn3_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn4_label thenguiLabelSetColor(Btn4_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn4_label thenguiLabelSetColor(Btn4_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn5_label thenguiLabelSetColor(Btn5_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn5_label thenguiLabelSetColor(Btn5_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn6_label thenguiLabelSetColor(Btn6_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn6_label thenguiLabelSetColor(Btn6_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn7_label thenguiLabelSetColor(Btn7_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn7_label thenguiLabelSetColor(Btn7_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn8_label thenguiLabelSetColor(Btn8_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn8_label thenguiLabelSetColor(Btn8_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn9_label thenguiLabelSetColor(Btn9_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn9_label thenguiLabelSetColor(Btn9_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn10_label thenguiLabelSetColor(Btn10_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn10_label thenguiLabelSetColor(Btn10_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn11_label thenguiLabelSetColor(Btn11_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn11_label thenguiLabelSetColor(Btn11_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn12_label thenguiLabelSetColor(Btn12_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn12_label thenguiLabelSetColor(Btn12_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn13_label thenguiLabelSetColor(Btn13_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn13_label thenguiLabelSetColor(Btn13_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn14_label thenguiLabelSetColor(Btn14_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn14_label thenguiLabelSetColor(Btn14_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn15_label thenguiLabelSetColor(Btn15_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn15_label thenguiLabelSetColor(Btn15_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn16_label thenguiLabelSetColor(Btn16_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn16_label thenguiLabelSetColor(Btn16_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn17_label thenguiLabelSetColor(Btn17_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn17_label thenguiLabelSetColor(Btn17_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn18_label thenguiLabelSetColor(Btn18_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn18_label thenguiLabelSetColor(Btn18_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn19_label thenguiLabelSetColor(Btn19_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn19_label thenguiLabelSetColor(Btn19_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == Btn20 thenguiSetAlpha(Btn20, alphax)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == Btn20 thenguiSetAlpha(Btn20, alphaz)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == close_label thenguiLabelSetColor(close_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == close_label thenguiLabelSetColor(close_label, colora,colorb,colorc)endend)addEventHandler ("onClientMouseLeave", root,function ()if source == reset_label thenguiLabelSetColor(reset_label, colorr,colorg,colorh)endend)addEventHandler ("onClientMouseEnter", root,function ()if source == reset_label thenguiLabelSetColor(reset_label, colora,colorb,colorc)endend)guiSetVisible(window, visible)endfunction start_cl_resource()openGui()if ( guiGetVisible(window) == true ) thenguiSetVisible(settings_window, false)showCursor(true)endendaddEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),start_cl_resource)function hideGui()if (guiGetVisible(window) == false) then guiSetVisible(settings_window, false)guiSetVisible(window, true)showCursor(true)elseguiSetVisible(window, false)guiSetVisible(settings_window, false)showCursor(false)endendbindKey(key, "down", hideGui)function hideGuiButton()if source == Btn19_label thenguiSetVisible(settings_window, false)guiSetVisible(window, false)showCursor(false)endendfunction SettingsButton()if source == Btn20 thenguiSetVisible(settings_window, true)endendaddEventHandler("onClientGUIClick", root, SettingsButton)function HideSettingsButton()if source == close_label thenguiSetVisible(settings_window, false)endendaddEventHandler("onClientGUIClick", root, HideSettingsButton)function onGuiClickPanel (button, state, absoluteX, absoluteY)if (source == Btn1_label) thensetElementData( localPlayer, "Meslek", idModel[1] )outputChatBox("Mesleğin Polis Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoPolis", localPlayer) elseif (source == Btn2_label) thensetElementData( localPlayer, "Meslek", idModel[2] )outputChatBox("Mesleğin Drifter Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoDrifter", localPlayer) elseif (source == Btn3_label) thensetElementData( localPlayer, "Meslek", idModel[3] )outputChatBox("Mesleğin Soyguncu Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoSoyguncu", localPlayer) elseif (source == Btn4_label) thensetElementData( localPlayer, "Meslek", idModel[4] )outputChatBox("Mesleğin Komutan Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoKomutan", localPlayer) elseif (source == Btn5_label) thensetElementData( localPlayer, "Meslek", idModel[5] )outputChatBox("Mesleğin Asker Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoAsker", localPlayer) elseif (source == Btn6_label) thensetElementData( localPlayer, "Meslek", idModel[6] )outputChatBox("Mesleğin Modifiyeci Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoModifiyeci", localPlayer) elseif (source == Btn7_label) thensetElementData( localPlayer, "Meslek", idModel[7] )outputChatBox("Mesleğin Tamirci Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoTamirci", localPlayer)elseif (source == Btn8_label) thensetElementData( localPlayer, "Meslek", idModel[8] )outputChatBox("Mesleğin Dolmuşcu Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoDolmuscu", localPlayer) elseif (source == Btn9_label) thensetElementData( localPlayer, "Meslek", idModel[9] )outputChatBox("Mesleğin Eylemci Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoEylemci", localPlayer) elseif (source == Btn10_label) thensetElementData( localPlayer, "Meslek", idModel[10] )outputChatBox("Mesleğin Tırcı Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoTirci", localPlayer) elseif (source == Btn11_label) thensetElementData( localPlayer, "Meslek", idModel[11] )outputChatBox("Mesleğin Taksici Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoTaksici", localPlayer) elseif (source == Btn12_label) thensetElementData( localPlayer, "Meslek", idModel[12] )outputChatBox("Mesleğin Bayan Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoBayan", localPlayer) elseif (source == Btn13_label) thensetElementData( localPlayer, "Meslek", idModel[13] )outputChatBox("Mesleğin Başbakan Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoBasbakan", localPlayer) elseif (source == Btn14_label) thensetElementData( localPlayer, "Meslek", idModel[14] )outputChatBox("Mesleğin Cumhurbaşkanı Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoCumhurbaskani", localPlayer) elseif (source == Btn15_label) thensetElementData( localPlayer, "Meslek", idModel[15] )outputChatBox("Mesleğin Torbacı Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoTorbaci", localPlayer) elseif (source == Btn16_label) thensetElementData( localPlayer, "Meslek", idModel[16] )outputChatBox("Mesleğin Çevik Kuvvet Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoCevik", localPlayer) elseif (source == Btn17_label) thensetElementData( localPlayer, "Meslek", idModel[17] )outputChatBox("Mesleğin Özel Harekat Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoHarekat", localPlayer) elseif (source == Btn18_label) thensetElementData( localPlayer, "Meslek", idModel[18] )outputChatBox("Mesleğin Bordo Bereli Olarak Değiştirildi", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoBereli", localPlayer)elseif (source == reset_label) thensetElementData( localPlayer, "Meslek", 0 )outputChatBox("Mesleğin Başarıyla Sıfırlandı", colourx,coloury,colourz, true)triggerServerEvent ("setPlayerTeamtoMesleksiz", localPlayer)endendaddEventHandler ("onClientGUIClick", getRootElement(), onGuiClickPanel)