-
Posts
139 -
Joined
-
Last visited
Everything posted by 1REDBULL
-
يعني تبي زر خاص يقفل اللوحه؟
-
ممكن مسويها غلط لأن السالفه تعقيد شوي ولو يسويها من الاسل اريحله
-
ما يحتاج يشرحه المشكله انه لو كتب تواجد في اف8 تجيه ساعات من نفس المود ويبي يكنسل الوظيفه و اخونا الي فوق قال طف المود (:
-
السلام عليكم GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(821, 343, 219, 410, "VEHICLE", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(10, 28, 198, 367, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "3.D", 0.9) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "PO1", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "PO2", false, false) if guiGridListSetSelectedItem ( GUIEditor.gridlist[1], 0, 1) then outputChatBox("hiii") end end ) addEventHandler ("onClientGUIDoubleClick", GUIEditor.gridlist[1]) كل شي تمام بس المشكله اني لا ظغطت على الرو الي محدده ما يطلع الكلام يطلع اول ما يشتغل السكربت انلحس مخي وانا احاول اظبطه بكل الطرق
-
حلو
-
اكوادكـ خطا ي الحبيب نسخ لصق ذذ وين نسخ ولصق؟ وصاحب الموضوع هو الي حط الاكواد؟ وثاني شي جربته ؟ علشان تقول نسخ ولصق.؟ انا سويت له الازرار و الماركر بس زي ما طلب
-
GUIEditor = { staticimage = {}, label = {}, gridlist = {}, combobox = {}, memo = {} } addEventHandler ( "onClientResourceStart", resourceRoot, function( ) wnd = guiCreateWindow(431, 221, 748, 663, "FlyMTA|AirPort", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.83) guiSetVisible( wnd, false ) guiSetProperty(wnd, "CaptionColour", "FF2DB4D1") ls = guiCreateButton(9, 19, 191, 250, "LS", false, wnd) guiSetFont(ls, "default-bold-small") guiSetProperty(ls, "NormalTextColour", "FF89D725") sf = guiCreateButton(9, 281, 191, 327, "SF", false, wnd) guiSetFont(sf, "clear-normal") guiSetProperty(sf, "NormalTextColour", "FF321BDF") lv = guiCreateButton(202, 21, 179, 250, "LV", false, wnd) guiSetFont(lv, "default-small") guiSetProperty(lv, "NormalTextColour", "FF7F9F5C") exit = guiCreateButton(200, 280, 181, 328, "Exit", false, wnd) guiSetFont(exit, "clear-normal") guiSetProperty(exit, "NormalTextColour", "FFF7062E") GUIEditor.gridlist[1] = guiCreateGridList(640, 28, 98, 625, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "AirPort Online", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "SOON", false, false) GUIEditor.label[1] = guiCreateLabel(431, 32, 195, 26, "FlyMTA V.1.0", false, wnd) guiSetFont(GUIEditor.label[1], "clear-normal") guiLabelSetColor(GUIEditor.label[1], 31, 211, 218) GUIEditor.staticimage[1] = guiCreateStaticImage(449, 173, 118, 181, ":guieditor/images/examples/mtalogo.png", false, wnd) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FF787E7C tr:FF787E7C bl:FF787E7C br:FF787E7C") GUIEditor.memo[1] = guiCreateMemo(411, 373, 200, 280, "Welcome To FlyMTA !!\n\n--\n\nمرحبا بك في فلاي ام تي اي \nلاول مره في لعبه ..\n\nMTA Plus !\nAirPort Online !\nRate ! \n\n--\n\nBy Mostafa \n\n", false, wnd) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[2] = guiCreateLabel(413, 89, 126, 15, "Rate :", false, wnd) guiSetFont(GUIEditor.label[2], "clear-normal") guiLabelSetColor(GUIEditor.label[2], 26, 219, 158) GUIEditor.combobox[1] = guiCreateComboBox(545, 91, 91, 61, "", false, wnd) guiSetFont(GUIEditor.combobox[1], "clear-normal") guiComboBoxAddItem(GUIEditor.combobox[1], "Bad") guiComboBoxAddItem(GUIEditor.combobox[1], "Nice") GUIEditor.label[3] = guiCreateLabel(-8, -18, 99, 18, "", false, GUIEditor.combobox[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(327, 636, 24, 17, ":guieditor/images/dx_elements/slider_end.png", false, wnd) GUIEditor.staticimage[3] = guiCreateStaticImage(581, 238, 38, 38, ":guieditor/images/plus.png", false, wnd) GUIEditor.label[4] = guiCreateLabel(439, 149, 133, 14, "", false, wnd) GUIEditor.staticimage[4] = guiCreateStaticImage(620, 167, 10, 34, ":dxgui/images/checkboxcheck.png", false, wnd) end ) addEventHandler("onClientRender", root, function() dxDrawImage(1378, 331, 124, 187, ":guieditor/images/examples/mtalogo.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("FlyMTA", 1381, 543, 1595, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1381, 541, 1595, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 543, 1593, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 541, 1593, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1380, 542, 1594, 577, tocolor(58, 233, 11, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) end ) ----------------------------------------------------- addEventHandler( "onClientGUIClick", resourceRoot, function ( ) if ( source == ls ) then setElementPosition ( source, posX, posY, posZ ) outputChatBox("FlyMTA : Welcome To LS City " , source ) elseif ( source == sf ) then setElementPosition ( source, posX, posY, posZ ) outputChatBox("FlyMTA : Welcome To LS City" , source ) elseif ( source == lv ) then setElementPosition ( source, posX, posY, posZ ) outputChatBox("FlyMTA : Welcome To LV City " , source ) end end ) ----------------------------------- Marker = createMarker ( 193.7378, 1901.0120, 17.638, "cylinder", 2, 0, 125, 125, 125 ) function setVisible ( element ) if ( element == getLocalPlayer( ) ) then if ( source == Marker ) then if ( eventName == "onClientMarkerHit" ) then guiSetVisible( wnd, true ) showCursor( guiGetVisible ( wnd ) ) end end end end addEventHandler( "onClientMarkerHit", resourceRoot, setVisible )
-
الحين حق ايش ذا؟ if isElement(VIPCar) then destroyElement(VIPCar) ماشوف له فايده
-
لا بالعكس مو نصابه انا مجربها ولله و كويسه
-
يشتغل تمام شف سويته لك ----------------------- -- ** Rules v1.2 Script -- Created By F[H]aWh -- Ver 1.2.0 -- BBM : 7DA099BE -- Jeddah Server ---------------------- ---------------------- -- Setting ---------------------- local Key = "F3" function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false); local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false); end addEventHandler("onClientResourceStart",resourceRoot, function() wnd1 = {} GUIEditor_Label = {} GUIEditor_Progress = {} wnd1 = guiCreateWindow(0.5688,0.1953,0.2738,0.388,"Jeddah City [ Computer Center ]",true) guiSetAlpha(wnd1,1) btn1 = guiCreateButton(12,33,170,48,"ساعات الرتـــب",false,wnd1) btn2 = guiCreateButton(194,34,167,47,"قوانين الســيرفر",false,wnd1) -- wnd2 ذا الزر الي ابيه يفتح نافذة ـ btn3 = guiCreateButton(14,152,173,53,"جــزيرة ( جدهـ لآند )",false,wnd1) btn4 = guiCreateButton(200,154,159,54,"توب درفــــت",false,wnd1) GUIEditor_Label[1] = guiCreateLabel(136,273,114,17,"Created By F[H]aWh",false,wnd1) guiLabelSetColor(GUIEditor_Label[1],255,0,0) GUIEditor_Label[2] = guiCreateLabel(114,232,221,20,"الكمبيوتـر المركزي لـ F[H]aWh",false,wnd1) guiLabelSetColor(GUIEditor_Label[2],0,255,0) GUIEditor_Progress[1] = guiCreateProgressBar(9,228,60,61,false,wnd1) GUIEditor_Progress[2] = guiCreateProgressBar(301,231,59,56,false,wnd1) end ) Font = guiCreateFont( "File/Font.ttf", 10 ) Font = guiCreateFont( "File/btn.png", 10 ) ------------------------------------------- -- حط تحت كود النافذه حقت القوانين ------- addEventHandler ( "onClientResourceStart", resourceRoot, function( ) wnd2 = guiCreateWindow(568, 223, 568, 442, "test", false) guiWindowSetSizable(wnd2, false) guiSetAlpha(wnd2, 1.00) guiSetVisible( wnd2, false ) end ) ---------------------------------- xFhaWhFunction_ = function () guiSetVisible(wnd1,not guiGetVisible(wnd1)); showCursor(guiGetVisible(wnd1)); end bindKey(Key,"down",xFhaWhFunction_); xFhaWhFunction_ = function () guiSetVisible(wnd2,not guiGetVisible(wnd2)); showCursor(guiGetVisible(wnd2)); end bindKey(Key,"down",xFhaWhFunction_); addEventHandler('onClientGUIClick', root, function () if ( source == btn2) then guiSetVisible( wnd2, true ) showCursor( guiGetVisible ( wnd2 ) ) else guiSetVisible( wnd2, false ) showCursor( guiGetVisible ( wnd2 ) ) end end ) بس حط مكان النافذه الثانيه الي انا مسويها لك الاكواد حقت نافذة القوانين
-
اكيد؟ شف رقم الزر الي انا حاطه 4 و شف الكود حقك اسم الويندو نفس الي بالكود الي انا عطيتك اياه او لا لأنه انا يشتغل معي بس اذا تبي تطلفي الشاشه اظغط على الزر او اي مكان بالشاشه
-
هذا موقع اعلانات كيف اربح منه؟
-
local Marker1 = createMarker ( x, y, x, "cylinder", 2, 0, 125, 125, 125 ) جرب انا اشوف ان مافيه مشكله
-
addEventHandler('onClientGUIClick', root, function () if ( source == GUIEditor.button[4] ) then guiSetVisible( GUIEditor.window[1], true ) showCursor( guiGetVisible ( GUIEditor.window[1] ) ) else guiSetVisible( GUIEditor.window[1], false ) showCursor( guiGetVisible ( GUIEditor.window[1] ) ) end end ) جرب
-
-- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) غير الويندو بذا الكود GUIEditor.window[1] زي كذا -- الزر -- bindKey ( "F9" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end )
-
السلام عليكم الحين لو الاعب جا عند الماركر يوديه المكان الي محدده انا بس انا ابي يصير له مكانين يعني عشوائي vh = createVehicle(487, 218.648, 1932.760, 23.333) warpPedIntoVehicle(thePlayer, vh) المكان الثاني vh = createVehicle(487, 201.648, 1932.760, 23.333) فا انا ابيه ما يحطه في مكان واحد ابي مكانين يعني من نفس الماركر
-
GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(821, 343, 219, 410, "VEHICLE", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(10, 28, 198, 367, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "3.D", 0.9) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "PO1", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "PO2", false, false) end function(b) if b == "left" then local selected = guiGridListGetItemText(GUIEditor.gridlist[1], guiGridListGetSelectedItem(GUIEditor.gridlist[1]), 1) if selected == "PO1" then createVehicle ( 434, x, y, z + 10 ) end end end)