-
Posts
2,935 -
Joined
-
Last visited
-
Days Won
44
Everything posted by ^iiEcoo'x_)
-
Did not work @N3xT @MR.GRAND @Kara
-
اظن الخلل من هذي ' لازم ابدلها بهذي صح ؟ `
-
addEvent ( 'Support;AddGridlist', true ) function GridList ( Name, message ) local aRow = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], aRow, 1,' '..Name..' : '..message..' ', false, false ) end addEventHandler ( 'Support;AddGridList', root, GridList ) بدل هذا واكتب باف 8 debugscript 3 وصوره لي
-
addEventHandler ( 'onClientGUIClick', root, function ( ) if source == GUIEditor.button[1] then local message = guiGetText ( GUIEditor.edit[1] ) if message == "" then return end guiSetEnabled( GUIEditor.button[1], false ) setTimer( guiSetEnabled, 1000, 1, GUIEditor.button[1], true ) triggerServerEvent ( 'Support;Send', localPlayer, message,getPlayerName(localPlayer) ) end end ) function GridList ( Name, message ) local aRow = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], aRow, 1,' '..Name..' : '..message..' ', false, false ) end addEvent ( 'Support;AddGridlist', true ) addEventHandler ( 'Support;AddGridList', root, GridList ) addEvent ( 'Support;Send', true ) addEventHandler ( 'Support;Send', root, function ( Name, message ) triggerClientEvent ( 'Support;AddGridList', root, Name, message ) end )
-
مـ تحس انه قليل الي تبي تعطيه لهـ
-
عيد العايدن
-
I must do something but it did not work addEventHandler("onClientGUIClick", resourceRoot, function() if source == gridroom then local row = guiGridListGetSelectedItem(gridroom) local Text = guiGridListGetItemText(gridroom, row, clm) if Text == "*[ #_iMr,[E]coo RooM ]" then if isElement(grid4545) or isElement(gridplr3) or isElement(gridplr4) or isElement(gridplr2) or isElement(gridplr5) then destroyElement ( grid4545 ) destroyElement ( gridplr3 ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp = guiGridListAddColumn(gridplr, "Players In RooM", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data' ) == true ) then local plrrom = guiGridListAddRow(gridplr) guiGridListSetItemText(gridplr,plrrom,clmp,getPlayerName(v),false,false) elseif Text == "*[ NoName RooM ]" then if isElement(grid4545) or isElement(gridplr3) or isElement(gridplr4) or isElement(gridplr) or isElement(gridplr5) then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr3 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr2 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp2 = guiGridListAddColumn(gridplr2, "Players In RooM", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data2' ) == true ) then local plrrom2 = guiGridListAddRow(gridplr2) guiGridListSetItemText(gridplr2,plrrom2,clmp2,getPlayerName(v),false,false) elseif Text == "[2 2] غرفة للشخصين" then if isElement(grid4545) or isElement(gridplr) or isElement(gridplr4) or isElement(gridplr2) or isElement(gridplr5) then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr3 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp3 = guiGridListAddColumn(gridplr3, "Players In RooM", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data3' ) == true ) then local plrrom3 = guiGridListAddRow(gridplr3) guiGridListSetItemText(gridplr3,plrrom3,clmp3,getPlayerName(v),false,false) elseif Text == "[3 3] غرفة للثلاث اشخاص" then if isElement(grid4545) or isElement(gridplr3) or isElement(gridplr) or isElement(gridplr2) or isElement(gridplr5) then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr3 ) destroyElement ( gridplr5 ) gridplr4 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp4 = guiGridListAddColumn(gridplr4, "Players In RooM", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data4' ) == true ) then local plrrom4 = guiGridListAddRow(gridplr4) guiGridListSetItemText(gridplr4,plrrom4,clmp4,getPlayerName(v),false,false) elseif Text == "[4 4] غرفة للاربع اشخاص" then if isElement(grid4545) or isElement(gridplr3) or isElement(gridplr4) or isElement(gridplr2) or isElement(gridplr) then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr3 ) gridplr5 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp5 = guiGridListAddColumn(gridplr5, "Players In RooM", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data5' ) == true ) then local plrrom5 = guiGridListAddRow(gridplr5) guiGridListSetItemText(gridplr5,plrrom5,clmp5,getPlayerName(v),false,false) end end end end end end end end end end end end end end end end end )
-
#تم قصف الجبهة بنجاح
-
بالتوفيق لكك احمد تستاهل ككل خيير
-
هذا م يجي كلام للسيرفر ثاني مثلا لما احد يصك ميوت او كيك تروح ي طويل العمر للوحة الادمن وتسوي callRemote تسوي ع صفحة php عشان تعرف مين صك ومين مصكوك وهذاا يسهل علييك كثير بدل م تدخل السيرفر وتشوف المتبندين على سبيل المثال
-
انا مسوي انه يجي اكثر من اسم مب اسم لاعب لحاله يعني ذا صح ؟ guiGridListSetItemText(GridList, Row, 2, getPlayerName(value[1]), false, false) guiGridListSetItemText(GridList, Row2, 2, getPlayerName(value[2]), false, false)
-
سوال لو بحط اكثر من اسم كذا ؟ guiGridListSetItemText(GridList, Row, 2, getPlayerName(value[1]), false, false)
-
مشكوورين يعيكم العافية @#Skrillex @Master_MTA
-
تسلللم طيب الحين سويت مثل فوق يجي كذا صح ؟ Row S اسم اسم اسم الخ.. وهنا يجي Row T اسم اسم الخخ ..... بدون م يتلخبطن مع بعض ؟ذذ
-
الله يعافيكك
-
انا ابي كذا Row S اسم اللاعبين الي معهم داتا S Row T اسم الاعبين الي معهم داتا T
-
Hello He says I have a line in this! destroyElement addEventHandler("onClientGUIClick", resourceRoot, function() if source == gridroom then local row = guiGridListGetSelectedItem(gridroom) local Text = guiGridListGetItemText(gridroom, row, clm) if Text == "1" then destroyElement ( grid4545 ) destroyElement ( gridplr3 ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp = guiGridListAddColumn(gridplr, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data' ) == true ) then local plrrom = guiGridListAddRow(gridplr) guiGridListSetItemText(gridplr,plrrom,clmp,getPlayerName(v),false,false) elseif Text == "2" then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr3 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr2 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp2 = guiGridListAddColumn(gridplr2, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data2' ) == true ) then local plrrom2 = guiGridListAddRow(gridplr2) guiGridListSetItemText(gridplr2,plrrom2,clmp2,getPlayerName(v),false,false) elseif Text == 3" then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr5 ) gridplr3 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp3 = guiGridListAddColumn(gridplr3, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data3' ) == true ) then local plrrom3 = guiGridListAddRow(gridplr3) guiGridListSetItemText(gridplr3,plrrom3,clmp3,getPlayerName(v),false,false) elseif Text == "4" then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr3 ) destroyElement ( gridplr5 ) gridplr4 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp4 = guiGridListAddColumn(gridplr4, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data4' ) == true ) then local plrrom4 = guiGridListAddRow(gridplr4) guiGridListSetItemText(gridplr4,plrrom4,clmp4,getPlayerName(v),false,false) elseif Text == "5" then destroyElement ( grid4545 ) destroyElement ( gridplr ) destroyElement ( gridplr2 ) destroyElement ( gridplr4 ) destroyElement ( gridplr3 ) gridplr5 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp5 = guiGridListAddColumn(gridplr5, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data5' ) == true ) then local plrrom5 = guiGridListAddRow(gridplr5) guiGridListSetItemText(gridplr5,plrrom5,clmp5,getPlayerName(v),false,false) end end end end end end end end end end end end end )
-
انا ما بيه يخلتطط مع الرو الثاني
-
num1 = "objectTXD1.txd" num2 = "objectTXD2.txd" Map = 1 -- getElementDimension or getElementData or ,,,,,, function Timer() if Map == 1 then TXD = engineLoadTXD (num1) elseif Map == 2 then TXD = engineLoadTXD (num2) end DFF = engineLoadDFF ("car.dff" ) engineImportTXD ( TXD, id ) engineReplaceModel ( DFF, id ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), Timer) setTimer ( Timer, 50, 1)
-
السلام عليكم ورحمة الله وبركاته عندي استفسار انا مسوي 2 رو ابي الي معه داتا اسمها data1 يجي تحت الرو الاول اسامي الي معهم داتا علما بانه الاسامي تجي تحت الرو الاول وفوق الرو الثاني عشان م يختلطن وهكذا ,,,, بانتظار ردودكمــ شكرا مقدماً
