Jump to content

iMr.WiFi..!

Members
  • Posts

    2,382
  • Joined

  • Last visited

  • Days Won

    57

Everything posted by iMr.WiFi..!

  1. الأمر تم حذفه من الاصدار الجديد :- https://github.com/multitheftauto/mtasa-blue/commit/0cffa9215f4601e42b2dfbc254040aeda3caa8f0.
  2. بأختصار شديد الوظيفة الي تستعملها عشان تنقل المنت لعالم ثاني setElementDimension
  3. وظيفة تمسح اكواد الهيكس كمثال: #66666iMr.Wifi..! بأستخدام الوظيفة السابقة سيجعل من الأسم: iMr.Wifi..!
  4. Wow, I didn't know about it. Thanks < 3
  5. Where "dxDrawCircle" 's function?
  6. سطر 8 ضايف else عالفاضي احذفه,
  7. Thanks for your function, but there more useful function that doesn't use any loops.
  8. Open the game, and go to Settings Then go to Audio, and make sure that all volumes more than 10%
  9. فيه كم خطأ, اول شيء فلوس اللاعب مايحتاج تحط لها لوكال بلاير والمفروض تسوي ترايقر سيرفر افنت وتتحقق من الفلوس في السيرفر سايد وتسحبها كذلك
  10. ي عزيزي, اتمنى ما تزعل.. بس لازم تاخذ حد في الرفع تقريباً انت غطيت على الصفحة الاولى والبقية اختفو -
  11. It some times come to me, here what i do to solve it :- **I'm not sure that will work for everyone** - Open The MTA:SA for first time then wait it to close. - Open Task Manager And find the gta_sa.exe ( To find it fast, Click on name column ) - End gta_sa.exe task, Then open the MTA:SA - Try to don't move the cursor until the game open - Enjoy (I don't expect that way will help you, But it helps me so far I think it will work with you )
  12. خل اللون الاساسي اسود مع اي لون (( احمر + اخضر + بنفسجي ا)) الي تفضله اما بالنسبة للأسم سميه أفلام عرب أو عرب للأفلام Arab 4 Movies
  13. This Gamemode is for sell (750 Euro). If you want to buy it contact with: @H25
  14. So you want that Text, and Data reversed, but you want that rows show without reverse
  15. He wants to loop with index starting from 10 to 1, Any way you cant do it by this way, Try this: function moveToFirst(curpos) --local curpos = 5 for r = 1, curpos do r = ( curpos + 1 ) - r; --print(r) if r == curpos then dgsGridListSetItemText(layergrid,1,1,"#1") dgsGridListSetItemText(layergrid,r,1,"#"..r) else local r1_data = dgsGridListGetItemData(layergrid,curpos-r,1) -- 4 local r1_data2 = dgsGridListGetItemData(layergrid,curpos-r,2) -- local r1_text = dgsGridListGetItemText(layergrid,curpos-r,2) local r1_text2 = dgsGridListGetItemText(layergrid,curpos-r,3) local r1_text3 = dgsGridListGetItemText(layergrid,curpos-r,4) -- local r2_data = dgsGridListGetItemData(layergrid,curpos-r+1,1) -- 5 local r2_data2 = dgsGridListGetItemData(layergrid,curpos-r+1,2) -- local r2_text = dgsGridListGetItemText(layergrid,curpos-r+1,2) local r2_text2 = dgsGridListGetItemText(layergrid,curpos-r+1,3) local r2_text3 = dgsGridListGetItemText(layergrid,curpos-r+1,4) -- dgsGridListSetItemData(layergrid,curpos-r+1,1,r1_data) dgsGridListSetItemData(layergrid,curpos-r+1,2,r1_data2) dgsGridListSetItemText(layergrid,curpos-r+1,2,r1_text) dgsGridListSetItemText(layergrid,curpos-r+1,3,r1_text2) dgsGridListSetItemText(layergrid,curpos-r+1,4,r1_text3) -- dgsGridListSetItemData(layergrid,curpos-r,1,r2_data) dgsGridListSetItemData(layergrid,curpos-r,2,r2_data2) dgsGridListSetItemText(layergrid,curpos-r,2,r2_text) dgsGridListSetItemText(layergrid,curpos-r,3,r2_text2) dgsGridListSetItemText(layergrid,curpos-r,4,r2_text3) end end end Good luck
  16. setElementData( resourceRoot, "TopPlayers", topPlayers ) -- هذا الجدول حقك -- ^ حط التيبل الي مستخدم فيه السورت -- في الكلنت سايد addEventHandler("onClientRender", root, function() local topPlayers = getElementData( resourceRoot, "TopPlayers" ) dxDrawLine(10 - 1, 255 - 1, 10 - 1, 442, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(258, 255 - 1, 10 - 1, 255 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(10 - 1, 442, 258, 442, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(258, 442, 258, 255 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(10, 255, 248, 187, tocolor(130, 124, 124, 150), false) dxDrawText("Top 3 Wins On Mission", 69 + 1, 265 + 1, 200 + 1, 282 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Top 3 Wins On Mission", 69, 265, 200, 282, tocolor(0, 254, 245, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ", 10 + 1, 282 + 1, 258 + 1, 300 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ", 10, 282, 258, 300, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Players", 55 + 1, 300 + 1, 99 + 1, 318 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Players", 55, 300, 99, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Points", 173 + 1, 300 + 1, 216 + 1, 318 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Points", 173, 300, 216, 318, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ", 10 + 1, 318 + 1, 258 + 1, 337 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ", 10, 318, 258, 337, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawRectangle(125, 293, 2, 150, tocolor(0, 0, 0, 255), false) for index, value in pairs( topPlayers ) do dxDrawText(index .. " -", 14 + 1, 338 + ( 36 * ( index - 1 ) ) + 1, 31 + 1, 358 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(index .. " -", 14, 338 + ( 36 * ( index - 1 ) ), 31, 358, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..value.player and getPlayerName(value.player) or "N/A".."", 33 + 1, 338 + ( 36 * ( index - 1 ) ) + 1, 123 + 1, 358 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..value.player and getPlayerName(value.player) or "N/A".."", 33, 338 + ( 36 * ( index - 1 ) ), 123, 358, tocolor(68, 254, 11, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..value.data or "N/A".."", 151 + 1, 339 + ( 36 * ( index - 1 ) ) + 1, 241 + 1, 358 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "top", false, false, false, false, false) dxDrawText(""..value.data or "N/A".."", 151, 339 + ( 36 * ( index - 1 ) ), 241, 358, tocolor(68, 254, 11, 255), 1.00, "default-bold", "center", "top", false, false, false, false, false) if( index >= 3 )then break; end end end )
  17. سوي داتا اساسية مثلاً TopPlayers وحط على الداتا جدول فيه ترتيب لافضل اللاعبين وسوي اللوب في الدي اكس لأفضل 3 او 5 لاعبين
  18. "onPlayerChangeNick" cancelEvent This all you need.
  19. As shortcut, you wanna Gamemode like OWL Gamemode ?
  20. You need to put the details about how you want the game mode look, What scripts you want in this game mode, Expected time to finish.
  21. طريقتك ما تعتبر الأفضل والسبب يعود لاستخدامك للداتا, الأفضل لو تخليها جدول وتحط الاسم والنقاط.. عالعموم هذه طريقة اسهل في استخدام اللوب :- for index = 1, #topPlayers do name = string.gsub(getPlayerName(topPlayers[index].player), "#%x%x%x%x%x%x", "") setElementData(resourceRoot,"topP".. index,name) setElementData(resourceRoot,"topPo".. index,getAccountData ( getPlayerAccount ( topPlayers[index].player ) , "missionPoints" )) if index >= 3 then break end end
×
×
  • Create New...