Jump to content

Mr.Mostafa

Members
  • Posts

    1,377
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Mr.Mostafa

  1. سلام عليكم ابي لما احدد علي شيك بوكس يحط الوان سريعة عشوائية ورا بعض مرة للموتر وكدا ما ظبطت وش المشكلة ؟ --- # Client addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.checkbox[1] then if (guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == true) then UnlimtedColorsTimer = setTimer(function() triggerServerEvent( 'vehColorRandom', localPlayer ) end, 200, 0) else if (guiCheckBoxGetSelected(GUIEditor.checkbox[1]) == false) then killTimer(UnlimtedColorsTimer) end end end end ) --- # Server addEvent( 'vehColorRandom', true ) addEventHandler( 'vehColorRandom', root, function( uPlayer ) if isPedInVehicle( uPlayer ) then local uVehicle = getPedOccupiedVehicle( uPlayer ) if uVehicle then setVehicleColor(uVehicle, math.random(0, 255), math.random(0, 255), math.random(0, 255)) end end end )
  2. ملحوظة الاكواد دي مع اضافة الكود حقك - يعني شيل كود حقك الاول لو تبي تضيف تاني FontLabel = guiCreateFont( "Font.ttf", 10 ) FontButton = guiCreateFont( "Font.ttf", 10 ) FontWnd = guiCreateFont( "Font.ttf", 15 ) Copy_List = { {"=[ :.@.¤,¸¸,¤السلام¨¤¨عليكم¨°¨ورحمة¨°¨الله¨¤¨وبركاته¤,¸¸,¤ ]="}, {"=[ ؤعًلٍيًكُــــمُ أإآٍلًسٍـــلآم وًرًحًمٍــــةَ ألًلًه ؤبًرٍكًـــآإأتًــه ]="}, {"=[ ≈ ▌ اٌلِسُلِاٌمِ عٍلِيٌكُمِ وِرُحٍمِةُ اٌلِلِهٌ وِبّرُكُاٌتْهٌ ▌≈ ]="}, {"=[ آإأيً مًسٍآإأعًـــدًةٍةً آإأؤؤ أإآسًتٍفًسُآإأر نٍآأإدًنــــــيً ]="}, {"=[ آإأهــلآ وسهــلآ بككء يآإأ معذبــهم ياكنــق ألطآإأرآإأت #(WEEELLLCCCOOOMMME)# ]="}, {"=[ .@.°¨¨¨™¤¦¤™¨¨¨°~*§.كيف.الحال.ان.شاء.الله.بخير.§*~°¨¨¨™¤¦¤™¨¨¨°.@ ]="}, {"=[ ~*_@ولـكمؤؤؤؤؤؤؤؤؤؤؤ#(WELCOME)#ؤؤؤؤؤؤؤؤؤؤؤؤؤء@_*~ ]="}, {"=[ §¤~^~¤§~.ღ:ღ.وُوُوُلڪمہمہمہ]§[בبہيًّبہ]§[قےلبہيًّ]§[وُوُ.ღ:ღ~§¤~^~¤§ ]="}, {"=[ بــآإأآآآآآآ#(BAACCKK)#آآآآآآآككء ]="}, {"=[ بـــرررؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤ#(BBRRRBB)#ؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤب ]="}, {"=[ ❤▌بّرُبّ عٍﻧَ اٌذّﻧَكُمِ شْوِيٌ وِرُاٌجِعٍ ▌❤≈ ]="}, {"=[ تــــيــ#(TTEEETT)#ــيـت خــذ رآإأأأأحتــك يآلغـــــلآء ]="}, {"=[ ❤▌ تْيٌتْ خًذّ رُاٌحٍتْكُ يٌاٌلِغَاٌلِيٌ ▌❤≈ ]="}, {"=[ ≈ ❤ بّاٌيٌ اٌشْوِفّكُمِ عٍلِىْ خًيٌرُ ❤≈ ]="}, {"=[ حـــرررررك#(GO GO GO !)#حرررررك لآهنـــت = سلآب + سحب موتــررء ]="}, {"=[ ﺣرَڳڳ ۑﺂ̣̥̐ﻟ̣̣ﻏﺂ̣̥̐ﻟ̣̣ۑ ﻟ̣̣ﺂ̣̥̐ﭠ̯خّرَﺑ ﻋﻟ̣̣ﮯ ﻏۑرَڳ ]="}, {"=[ تــــممء آإأأألدعـــــ#(WaaaR KiiinG)#ــــس من قبل عمـــكككء ]="}, {"=[ :.@.ض1.هہهہهہهہهہهہهہهہهہهہهہهہهہهہہهہ.ض1.@. ]="}, {"=[ هآإأهآإآهآإأ#(LØØØ×ØØØ×ØØØL)# ضًحٍكُتٍنًيُ ؤآإأنًآ مآإألًي نفًسء ]="}, {"=[ هآهآهآهآهآهآهآه (( ضحگتني وآنآ مآلي نفس اضحك))هآهآهآهآهآهآهآهآ ]="}, {"=[ ツツ█هہهہهہهہهہ أخُ بِطًنہيّ هہهہهہهہهہ█ツツ ]="}, {"=[ هـهـهـهـهـهـهـه#(LØØØ×ØØØ×ØØØL)#هـهـهـهـهـهـهـه ]="}, {"=[ يدؤؤؤؤؤؤ#(YØU)#ؤؤؤؤؤؤؤم عــزككء ونبـــظء قلبـــكككء ]="}, {"=[ يِسًلٌمَؤُؤًؤِؤَؤُ يُآإألًغُلٍأأأأ يٍآإأكَنُــــًق آإألًسٍيٌرَفٍررر ]="}, {"=[ آإألًــــــفً مًبٍرًرًرًرً#(PRRRØØØØØØØØØ)#رًرًرًؤؤؤؤؤؤؤؤ#(PRRRØØØØØØØØØ)#كككككء ]="}, {"=[ X_X ههَهَهَهَهَ looََََ=))َََََoolهَهَهَهَه ]="}, {"=[ آإأنًــتُ آإألآحًلُــــــــى يآإألًمُهٌجًؤؤؤؤؤؤؤؤؤؤؤؤلٍ ]="}, {"=[ سُبٍحًــــآإأنً آإألًلًهُ آإألًذٍي خًـلٍقُ آإألُسٍمًآإأؤؤؤآإأت وًآإألآرض ]="}, {"=[ مًآإأيُـــــلًفــٍظً مًـــنٍ قُؤؤؤل آإألآ لًدُيٍـــهِ رًقُيُـــبٌ عًتٍيُــــد ]="}, {"=[ تًؤًؤًؤًؤًمَآإأنًؤُؤُؤُؤُررر أآإلًسٍيُـــرٍفًــر يًآإأ أحٍلًــىً آإألًزآإأءًرٍيُـــنً ]="}, {"=[ كًفٍـؤؤؤؤؤؤؤؤؤؤؤؤ#(PRRRØØØØØØØØØ)#يآإأمًحُتِرًرًرًرًفـــــــءء ]="}, {"=[ صًبٍآإأآآآآآآآح آإألًخٍيًـــــــر يآإأحًبٍيًبً قًلٍبُـــــي ]="}, {"=[ مًســــُآإأء آإألًنًـــــــؤؤؤؤرً يـــآإأ قًـــمًـرُرُرُرُ ]="}, {"=[ آإألًنُؤؤؤؤؤؤؤؤؤؤؤؤؤؤرًرًرً كٌكٌلًـــهً نٍؤُؤُؤُؤُؤُؤُرُرُرُرُكًكًء يًآإأعًسٍـــل ]="}, {"=[ كًلآمًــــــكًكًء ذًهٌــبٌ لًدٍيُــنًآإأ ؤتًوًآإأجًدِكًكً نًؤًؤًرُ يُسُطُع عُلٍيٍنًآإأ ]="}, } GUIEditor = { tab = {}, staticimage = {}, label = {} } local screenW, screenH = guiGetScreenSize() System_Wnd = guiCreateStaticImage((screenW - 721) / 2, (screenH - 421) / 2, 721, 421, "Wnd0.png", false) guiSetAlpha(System_Wnd, 0.85) guiSetProperty(System_Wnd, "ImageColours", "tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000") guiSetVisible(System_Wnd,false) System_Label = guiCreateLabel(0, 0, 722, 40, "=[ Copy System ]=", false, System_Wnd) guiSetFont(System_Label, FontWnd) guiLabelSetColor(System_Label, 207, 0, 68) guiLabelSetHorizontalAlign(System_Label, "center", false) guiLabelSetVerticalAlign(System_Label, "center") TabPanel_Mode = guiCreateTabPanel(4, 44, 713, 342, false, System_Wnd) GUIEditor.tab[1] = guiCreateTab("~* Help *~", TabPanel_Mode) GUIEditor.label[1] = guiCreateLabel(4, 6, 404, 25, "* Note : For You Can Do Bind In F8 you Must Follow Next Steps !", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[1], FontLabel) guiLabelSetColor(GUIEditor.label[1], 53, 207, 0) GUIEditor.label[2] = guiCreateLabel(4, 31, 404, 17, "=======================================================================", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 207, 0, 0) GUIEditor.label[3] = guiCreateLabel(4, 53, 371, 24, "1- Write In F8 : Bind <Here Put Number such 1> say", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 207, 199, 0) GUIEditor.label[4] = guiCreateLabel(4, 77, 371, 24, "2- Paste Your Text Will Be In That Number !", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 207, 199, 0) GUIEditor.label[5] = guiCreateLabel(4, 101, 371, 24, "3- Press On Number To Show Your Text In Chat Box !", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 207, 199, 0) GUIEditor.label[6] = guiCreateLabel(4, 125, 404, 17, "=======================================================================", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 207, 0, 0) GUIEditor.label[7] = guiCreateLabel(4, 142, 404, 25, "* Note : Don't Put : < Or > In F8 Put Only Steps !", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[7], FontLabel) guiLabelSetColor(GUIEditor.label[7], 53, 207, 0) GUIEditor.label[8] = guiCreateLabel(693, 6, 15, 307, "\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 207, 19, 0) GUIEditor.label[9] = guiCreateLabel(5, 298, 688, 15, "============================================================================", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 207, 19, 0) GUIEditor.label[10] = guiCreateLabel(9, 201, 674, 63, "* Welcome To Server *", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[10], "sa-gothic") guiLabelSetColor(GUIEditor.label[10], 0, 209, 181) GUIEditor.tab[2] = guiCreateTab("~* Text *~", TabPanel_Mode) GUIEditor.label[11] = guiCreateLabel(5, 298, 688, 15, "============================================================================", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[11], "default-bold-small") guiLabelSetColor(GUIEditor.label[11], 207, 19, 0) GUIEditor.label[12] = guiCreateLabel(693, 6, 15, 307, "\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//\n\\\n//", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[12], "default-bold-small") guiLabelSetColor(GUIEditor.label[12], 207, 19, 0) System_grid = guiCreateGridList(5, 7, 322, 291, false, GUIEditor.tab[2]) guiGridListAddColumn(System_grid, "# Text ... ", 0.9) System_Box = guiCreateEdit(331, 10, 357, 26, "", false, GUIEditor.tab[2]) guiSetProperty(System_Box, "NormalTextColour", "FFD10000") guiSetFont(System_Box,"default-bold-small") --guiEditSetReadOnly(System_Box, true) GUIEditor.staticimage[1] = guiCreateStaticImage(456, 42, 108, 26, "Wnd0.png", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FFD1CE00 tr:FFD1CE00 bl:FFD1CE00 br:FFD1CE00") Copy_Button = guiCreateLabel(456, 42, 108, 26, "Copy Text", false, GUIEditor.tab[2]) guiSetFont(Copy_Button, FontButton) guiLabelSetColor(Copy_Button, 0, 24, 209) guiLabelSetHorizontalAlign(Copy_Button, "center", false) guiLabelSetVerticalAlign(Copy_Button, "center") GUIEditor.label[13] = guiCreateLabel(394, 78, 231, 55, "Welcome", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[13], "sa-gothic") guiLabelSetColor(GUIEditor.label[13], 29, 209, 0) guiLabelSetHorizontalAlign(GUIEditor.label[13], "center", false) GUIEditor.label[14] = guiCreateLabel(394, 133, 231, 55, "To", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[14], "sa-gothic") guiLabelSetColor(GUIEditor.label[14], 209, 68, 0) guiLabelSetHorizontalAlign(GUIEditor.label[14], "center", false) GUIEditor.label[15] = guiCreateLabel(394, 188, 231, 55, "Server", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[15], "sa-gothic") guiLabelSetColor(GUIEditor.label[15], 0, 209, 206) guiLabelSetHorizontalAlign(GUIEditor.label[15], "center", false) GUIEditor.label[16] = guiCreateLabel(625, 68, 15, 189, "||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[16], "default-bold-small") guiLabelSetColor(GUIEditor.label[16], 209, 201, 0) GUIEditor.label[17] = guiCreateLabel(379, 68, 15, 189, "||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||\n||", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[17], "default-bold-small") guiLabelSetColor(GUIEditor.label[17], 209, 201, 0) GUIEditor.label[18] = guiCreateLabel(372, 257, 268, 36, "******", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[18], "sa-gothic") guiLabelSetColor(GUIEditor.label[18], 209, 0, 108) guiLabelSetHorizontalAlign(GUIEditor.label[18], "center", false) GUIEditor.label[22] = guiCreateLabel(4, 390, 447, 27, "# This Panel Created For Q.6", false, System_Wnd) guiSetFont(GUIEditor.label[22], FontLabel) guiLabelSetColor(GUIEditor.label[22], 209, 54, 0) guiLabelSetHorizontalAlign(GUIEditor.label[22], "left", false) guiLabelSetVerticalAlign(GUIEditor.label[22], "center") GUIEditor.staticimage[2] = guiCreateStaticImage(602, 390, 115, 26, "Wnd0.png", false, System_Wnd) guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FFD10000 tr:FFD10000 bl:FFD10000 br:FFD10000") System_Close = guiCreateLabel(602, 390, 115, 26, "Close Window", false, System_Wnd) guiSetFont(System_Close, FontButton) guiLabelSetColor(System_Close, 0, 209, 206) guiLabelSetHorizontalAlign(System_Close, "center", false) guiLabelSetVerticalAlign(System_Close, "center") setElementData(Copy_Button, "tooltip-text", "نســـخ ألنــص", false) setElementData(System_Close, "tooltip-text", "إغــلاق ألنــافذة", false) setElementData(GUIEditor.label[3], "tooltip-text", "أكتب في أف 8 Bind <هنا رقم الاختصار> say", false) setElementData(GUIEditor.label[4], "tooltip-text", "ضع ألنص ألذي سيكون بذلك ألرقم", false) setElementData(GUIEditor.label[5], "tooltip-text", "إضغط على ألزر لرؤيـة ألاختصار في صندوق ألمحادثة", false) bindKey('n', 'down', function() guiSetVisible(System_Wnd, not guiGetVisible(System_Wnd)) showCursor(guiGetVisible(System_Wnd)) refreshShort() end) addEventHandler("onClientGUIClick",root, function () if source == System_Close then if ( guiGetVisible(System_Wnd) == false ) then end guiSetVisible (System_Wnd, false ) showCursor(false) guiSetInputEnabled(false) end end ) function refreshShort() guiGridListClear(Copy_List) for i, GR in ipairs(Copy_List) do local row = guiGridListAddRow(System_grid) guiGridListSetItemText(System_grid, row, 1, GR[1], false, false) guiGridListSetItemColor(System_grid, row, 1, math.random(1, 255), math.random(2, 255), math.random(3, 255)) end end addEventHandler('onClientGUIChanged', resourceRoot, function() if source == System_Box then local textVar = guiGetText(System_Box) if textVar == '' then refreshShort() else guiGridListClear(Copy_List) for k, v in ipairs(Copy_List) do if string.find(v[1]:upper(), textVar:upper()) then local row = guiGridListAddRow(System_grid) guiGridListSetItemText(System_grid, row, 1, v[1], false, false); guiGridListSetItemColor(System_grid, row, 1, math.random(1, 255), math.random(2, 255), math.random(3, 255)) end end end end end) function Select() local TexT_Show = guiGridListGetItemText ( System_grid, guiGridListGetSelectedItem ( System_grid ), 1 ) guiSetText (System_Box, TexT_Show ) end addEventHandler ("onClientGUIClick", System_grid, Select, false) addEventHandler ("onClientGUIClick", root, function() if ( source == Copy_Button ) then local COPY = guiGetText ( System_Box ) setClipboard( COPY ) end end ) local sw, sh = guiGetScreenSize() local tooltips = {} local color = { 0, 0, 0 } local background = { 255, 255, 255 } local font = { face = "default-bold", size = 1, maxwidth = 300 } function tooltipShow() --outputChatBox(getElementType(source)) if getElementData(source, "tooltip-text") and getElementType(source):find("gui-", 1, true) then local x,y = guiGetPosition(source, false) local parent = getElementParent(source) while getElementType(parent) ~= "guiroot" do if getElementData(source, "tooltip-text") == getElementData(parent, "tooltip-text") then return false end local px, py = guiGetPosition(parent, false) x, y = x + px, y + py if getElementType(parent) == "gui-tab" then y = y + 24 end parent = getElementParent(parent) end local w,h = guiGetSize(source, false) x = x + w/2 tooltips[source] = {} local fonts = getElementData(source, "tooltip-font") if fonts then tooltips[source].font = gettok(fonts, 1, " ") or font.face tooltips[source].fontsize = tonumber(gettok(fonts, 2, " ")) or font.size else tooltips[source].font = font.face tooltips[source].fontsize = font.size end tooltips[source].text = getElementData(source, "tooltip-text") tooltips[source].w = math.ceil(dxGetTextWidth(tooltips[source].text, tooltips[source].fontsize, tooltips[source].font)) tooltips[source].h = math.ceil(dxGetFontHeight(tooltips[source].fontsize, tooltips[source].font)) if tooltips[source].w > font.maxwidth then tooltips[source].h = tooltips[source].h*math.ceil(tooltips[source].w/font.maxwidth) tooltips[source].w = font.maxwidth end tooltips[source].arrow = x tooltips[source].x = math.floor(math.min(math.max(x - tooltips[source].w/2, 16), sw - tooltips[source].w-16)) tooltips[source].y = math.floor(y - tooltips[source].h - 12) if tooltips[source].y < 16 then tooltips[source].y = math.floor(y + h + 12) tooltips[source].bottom = true end tooltips[source].ticks = 1 tooltips[source].step = 1 -- color tooltips[source].br, tooltips[source].bg, tooltips[source].bb = unpack(background) local tcolor = getElementData(source, "tooltip-color") local bcolor = getElementData(source, "tooltip-background") if tcolor then tooltips[source].r, tooltips[source].g, tooltips[source].b = getColorFromString(tcolor) else tooltips[source].r, tooltips[source].g, tooltips[source].b = unpack(color) end if bcolor then tooltips[source].br, tooltips[source].bg, tooltips[source].bb = getColorFromString(bcolor) else tooltips[source].br, tooltips[source].bg, tooltips[source].bb = unpack(background) end end end addEventHandler("onClientMouseEnter", root, tooltipShow) function tooltipHide(element) local e = isElement(element) and element or source if tooltips[e] then tooltips[e].ticks = 10 tooltips[e].step = -1 end end addEventHandler("onClientMouseLeave", root, tooltipHide) addEventHandler("onClientGUIClick", root, tooltipHide) function tooltipRender() for element, tooltip in pairs(tooltips) do if tooltip.ticks < 0 or not isElement(element) then tooltips[element] = nil else local alpha = math.min(tooltip.ticks*25, 255) drawTooltip(tooltip, alpha) if tooltip.ticks < 255 then tooltip.ticks = tooltip.ticks + tooltip.step end if not guiGetVisible(element) then tooltips[element] = nil end end end end addEventHandler("onClientRender", root, tooltipRender) function drawTooltip(tooltip, alpha) local offset = math.max((254-alpha)/25, 0) -- corners dxDrawImageSection(tooltip.x-16, tooltip.y-16-offset, 16, 16, 0, 0, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) dxDrawImageSection(tooltip.x+tooltip.w, tooltip.y-16-offset, 16, 16, 32, 0, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) dxDrawImageSection(tooltip.x-16, tooltip.y+tooltip.h-offset, 16, 16, 0, 32, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) dxDrawImageSection(tooltip.x+tooltip.w, tooltip.y+tooltip.h-offset, 16, 16, 32, 32, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) -- v-sides dxDrawImageSection(tooltip.x, tooltip.y-16-offset, tooltip.w, 16, 16, 0, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) dxDrawImageSection(tooltip.x, tooltip.y+tooltip.h-offset, tooltip.w, 16, 16, 32, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) -- h-sides dxDrawImageSection(tooltip.x-16, tooltip.y-offset, 16, tooltip.h, 0, 16, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) dxDrawImageSection(tooltip.x+tooltip.w, tooltip.y-offset, 16, tooltip.h, 32, 16, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) -- center dxDrawImageSection(tooltip.x, tooltip.y-offset, tooltip.w, tooltip.h, 16, 16, 16, 16, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) -- arrow if tooltip.bottom then dxDrawImageSection(tooltip.arrow-16, tooltip.y-24-offset, 32, 24, 0, 48, 32, 24, "sprite.png", 180, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) else dxDrawImageSection(tooltip.arrow-16, tooltip.y+tooltip.h-offset, 32, 24, 0, 48, 32, 24, "sprite.png", 0, 0, 0, tocolor(tooltip.br,tooltip.bg,tooltip.bb,alpha), true) end -- text --dxDrawText(tooltip.text, tooltip.x, tooltip.y+1-offset, tooltip.x+tooltip.w, tooltip.y+tooltip.h+1, tocolor(255,255,255,alpha), font.size, font.face, "left", "top", false, true, true) dxDrawText(tooltip.text, tooltip.x, tooltip.y-offset, tooltip.x+tooltip.w, tooltip.y+tooltip.h, tocolor(tooltip.r,tooltip.g,tooltip.b,alpha), tooltip.fontsize, tooltip.font, "left", "top", false, true, true) end
  3. ما اشتغل وما يبحث للاسف!
  4. مثلا عندك مود تحطها باخر سطر باسم الملف الي بالمود ولما زاير يدخل السيرفر الملف دا ما يجي له بملفآت آللعبة عشآن مآ يسرق شي آو كدآ * علي حد علمي *
  5. - حقك مب شغال ما يسوي شي حتي ما عاد يصفر القريد ليست ض1
  6. نفس المشكلة لما اكتب اي شي القريد ليست ينصفر وما يجي الي كتبت عنه
  7. وش دخله ؟ + bindKey("n","down", function () guiSetVisible(System_Wnd,not guiGetVisible(System_Wnd)) showCursor(guiGetVisible(System_Wnd)) end )
  8. Copy_List = { {"=[ :.@.¤,¸¸,¤السلام¨¤¨عليكم¨°¨ورحمة¨°¨الله¨¤¨وبركاته¤,¸¸,¤ ]="}, {"=[ ؤعًلٍيًكُــــمُ أإآٍلًسٍـــلآم وًرًحًمٍــــةَ ألًلًه ؤبًرٍكًـــآإأتًــه ]="}, {"=[ ≈ ▌ اٌلِسُلِاٌمِ عٍلِيٌكُمِ وِرُحٍمِةُ اٌلِلِهٌ وِبّرُكُاٌتْهٌ ▌≈ ]="}, } for i,GR in ipairs(Copy_List) do local row = guiGridListAddRow(System_grid) guiGridListSetItemText(System_grid,row,1,GR[1],false,false) guiGridListSetItemData(System_grid,row,1,{GR[2],GR[3],GR[4]}) guiGridListSetItemColor(System_grid,row,1,math.random(1,255),math.random(2,255),math.random(3,255)) end
  9. سلام عليكم ابي تصحيح لدي ابي لما اختار لاعب من قريد ليست واضغط زر يعطي سلاب للي اختارته --client addEventHandler("onClientGUIClick",root, function () if source == aAdminButtonTO then local playerSlaper = guiGridListGetItemText ( aTab1.PlayerList, guiGridListGetSelectedItem ( aTab1.PlayerList ), 1 ) triggerServerEvent("Admin:SlapPlayerNow", localPlayer, playerSlaper) end end ) -- #server addEvent("Admin:SlapPlayerNow", true) addEventHandler("Admin:SlapPlayerNow", root, function(playerSlaper) killPed ( playerSlaper, playerSlaper ) end)
  10. اب اشتغل كفو تسلم
  11. طيب دقيقة بجرب علي مود تاني ضض نفس المشكلة بالمود التاني حتي لما اكتب اي شي في الايديت بوكس = القريد ليست ينصفر وما يجي فيه اي شي
  12. يب مسويه صح ومتاكد من كل شي لكن ما يشتغل لما اكتب اي شي بالايديت بوكس القريد ليست ينصفر وما يجي فيه شي ! ممسويها كدا
  13. مب صح بيكون كدا local gridlist = GUIEDITOR.gridlist[1] ولا بدون كلمة GUIEDITOR.
  14. للاسف حتي دا مب شغال لما اكتب اي شي في الايديت الجريد ليست ينصفر وما يكون فيه اي شي يعني ما يبحق
  15. عوافي عادي __ طيب انت مسوي حط الي تبيه لو الكود فاضي انا ابي لو الايديت بوكس فاضي يرجع الي كانوا في القريد ليست كيف؟
  16. جآري آلتجربة ما اشتغل + ما يبحث اصلا ولا يسوي شي
  17. سلام عليكم عندي بلوحة الادمن لو ضعط سلاب علي شخص يصكه علطول ابي يطلعله ايديت بوكس ويحط السبب ولما اضيف ايديت بوكس لاكواد اللوحة تخرب
  18. دا يبحث عن اسماء بس ابيه يبحث في الاشياء الي بالقريد ليست
  19. سلام عليكم ابي كود تحقق من الناس الي برتبة كونسل فقط يعني ابي يوسيفل من الناس الي معهم كونسل بس
  20. طيب كنت بسوي دي اصلا بس sound2 مب معرفة بالفنكشن التاني !!
×
×
  • Create New...