Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 20/07/18 in all areas

  1. السلام عليكم ورحمة الله وبركاته تواصل معي خاص .. وان شاء الله بنخلص الموضوع وما بنختلف https://www.facebook.com/ikillerProject @,#Savage @justboy @#DesTroeyR @KhaledAlamri شكراً لكم على تفاعلكم
    2 points
  2. Hi there! Time sure flies fast, doesn't it? It has been a while since the last post from us so we would like to give you an update on what has been going on recently with MTA:SA. We have got two highlights for you this time. The community Do you remember our Community website? It has served us well over the years but has also caught some rust in the process. Therefore, we would like to re-visit it and improve your experience with discovering and publishing resources. Our plan is to build a new community website from the ground up using modern technologies, and we would like to hear from you what you would like to see on the new platform. Please respond to this thread with your ideas and suggestions. Technically inclined users can take a look at the first pass of our specification document. Development progress As for the mod itself, we have received many pull requests (patch contributions) on our GitHub from open source contributors lately. One of such contributions is a brand new feature: custom IFP animations support, coming from one of our community members, Saml1er. He managed to get this to work nicely in MTA:SA, while ensuring that our coding standards are met so we could include it without too much hassle. Saml1er even made a video which showcases what this feature is all about. You can find it below: We intend this to be a part of our upcoming 1.5.6 release which we hope will come soon, but you can try it out now by using a nightly build: https://nightly.multitheftauto.com/ Tips for using this can be found on our wiki: https://wiki.multitheftauto.com/wiki/EngineLoadIFP That's all for now. Take care and enjoy the summer! — MTA Team
    1 point
  3. يب حتى انا لاحظت انه اقل سعر ومناسب جدا
    1 point
  4. https://www.allkeyshop.com/blog/buy-gta-5-cd-key-compare-prices/ هذا موقع يجيبلك كل المواقع اللي تبيع اللعبة وبـ الاسعار كلها من الارخص للاغلي, انت شوف واختر اللي تبي . بس انصحك بـ G2A -------- قبل ماتشتري اللعبة تأكد من مواصفات جهازك اذا بتشغل اللعبه ولالا
    1 point
  5. كـلامك صحيح وعليك سلام ورحمة الله كل مود بسعره وشكرا
    1 point
  6. ما في مبرمج اتعلم من مبرمج اخر لو تبي تتعلم برمجة 1 - عندك خبرة في الانجليزية عشان تعرف كيف تتعامل مع الويكي 2 - لازم تفرق بين الكلنت سيد و سرفر سيد و تعرف الفنكشن و الايفنت 3 - انا متاكد 100 % انك ما تبي تتعلم لانك تبي تستغل هاذ المبرمج في تسوية مودات و مصالح (:
    1 point
  7. Concordo. E está correta a sua ideia em setar as ACLs do jogador como element data, assim ela pode ser lida facilmente no client sem ficar usando triggers. Fazer a verificação direto no server seria inviável e pesado no processamento, visto que cada vez que cada jogador tomar dano, o client precisaria de um triggerServerEvent para verificar isso no server, o que acaba consumindo muito processamento.
    1 point
  8. قصدك تبي تحط السكرول بار مع الجريد ليست يكون رسم يعني : تفضل addEventHandler ( "onClientRender", root, function ( ) -- Is there any GridList to render? if #dxGrid.items > 0 then -- Loop through all grid lists for index, data in ipairs ( dxGrid.items ) do -- Is the GridList visible? if data.vis then -- Draw the 'GridList' itself dxDrawRectangle ( data.x, data.y, data.w, data.h, tocolor ( 0, 0, 0, 200 ), data.pg ); -- Draw the column bar dxDrawRectangle ( data.x, data.y, data.w, 30 % data.h, tocolor ( 0, 0, 0, 220 ), data.pg ); --Create the Scrollbar if data.r > data.mi+1 then local x, y, w, h, totalRows, maxItems, scroll = data.x, data.y, data.w, data.h, data.r, data.mi+1, data.s-1 dxDrawRectangle(x+w-10, y, 10, h, tocolor(0, 0, 0, 200), true); dxDrawRectangle(x+w-10, (y+h/totalRows*(scroll)), 10, (h/totalRows*maxItems), tocolor(255, 255, 255, 200), true ); end -- Set cursorOn variable to the current GridList, if it's selected cursorOn = nil if __isMouseInPosition ( data.x, data.y, data.w, data.h ) then cursorOn = index; end -- Check if there's any selected item local seeFrom = data.s; local seeTo = ( data.s + data.mi ) - 1; if data.se and data.se <= data.r and data.se >= seeFrom and data.se <= seeTo then local index = data.se - ( data.s - 1 ); local y2 = data.y + ( ( index - 1 ) * 25 ); -- Draw a rectangle to make it looks like selected dxDrawRectangle ( data.x, ( 30 % data.h ) + y2, data.w, 20, tocolor ( 0, 0, 0, 100 ), data.pg ); end -- Is there any column? if #data.i > 0 then local cWidth = 0 -- Loop through all columns for cIndex, cData in ipairs ( data.i ) do -- we'll go beyond the GridList width with this column ? if ( ( cWidth + cData.info.width ) <= data.w ) then local x = data.x + cWidth; -- Draw the column title dxDrawText ( cData.info.title, x, data.y, cData.info.width + x, ( 30 % data.h ) + data.y, tocolor ( 255, 255, 255 ), FIT_MODE and ( 1 * SCALE ) or 1, "default-bold", "center", "center", true, true, data.pg, true, true ); -- Reset the selected item cData.info.selected = -1; -- Is there any item ? if #cData > 0 then local seeFrom = data.s; local seeTo = ( data.s + data.mi ) - 1; -- Loop the items for iIndex = seeFrom, seeTo do -- There's a row with this index in the current column? if cData[iIndex] then local index = iIndex - ( data.s - 1 ); local y = data.y + ( index * 25 ); local y2 = data.y + ( ( index - 1 ) * 25 ); -- Check if cursor is on item position if __isMouseInPosition ( data.x, ( 30 % data.h ) + y2, data.w, 20 ) then -- Define the mouse-on variable data.mo = iIndex; end -- Draw the item text dxDrawText ( cData[iIndex]["text"], x, y, cData.info.width + x, ( 30 % data.h ) + y, tocolor ( unpack ( cData[iIndex]["color"] ) ), FIT_MODE and ( 1 * SCALE ) or 1, "default-bold", "center", "center", true, true, data.pg, true, true ); end end end -- Increase cWidth variable (to draw the columns correctly) cWidth = cWidth + cData.info.width; end end end end end end end , true, "low-5")
    1 point
  9. اها لو قصدك نفس مايقول justboy فهو يستحق صح اكثر من 150
    1 point
  10. 1 point
  11. كأنك جبت العيد في سعر المود ؟ ولا وش رايك
    1 point
  12. ك نظام بنك متكامل ماتوقع انه يستاهل 50 , فوق ال 150 وقليله بعد . لكن بعض البشر يبخس شغلك كانه ولا شي البخس = التقليل من قيمه الشي
    1 point
  13. اتفق معكم ض2 انا بعت لواحد مود اسرع كاتب سويتله ياه بكم شي وبعته له ب 20 سوا هذا يبي يشتريه ب 50 جنية هههههههههههههههههههههههههههههههههههههههههههههههههههه هذا عن نفسي احسه يستاهل 50 سوا وفوق
    1 point
  14. اللي مايعرف الشي مايثمنه
    1 point
  15. الحين هو وش استفاد لما يبيعها لك بالمبلغ الانت حاطه تدري كم المبلغ ده بالدولار ؟ = 2 دولار - 10 سوا خسارة دبل يرجال
    1 point
  16. You can use any save system from the community ! or you can link the fighting style system with mysql or sql you can add this in server side of the fighting styles script function createTable () executeSQLQuery("CREATE TABLE IF NOT EXISTS fightingstyle (account TEXT, styleID INT)") outputDebugString("CREATED TABLE fightingstyle ( account TEXT, styleID INT)", 3, 0, 255, 0) end addEventHandler("onResourceStart", resourceRoot, createTable) then add this function function isPlayerAlreadyBoughtNewFightingStyle (player) local account = getAccountName(getPlayerAccount(player)) local query = executeSQLQuery("SELECT * FROM fightingstyle WHERE account=?", account) if (query) and (#query > 0) then return true else return false end end then add this in the function when you buy or get the new fighting style function onBuyNewFightingStyle () if (isPlayerAlreadyBoughtNewFightingStyle(source) == true) then local acc = getAccountName(getPlayerAccount(source)) executeSQLQuery("UPDATE fightingstyle SET styleID=? WHERE account=?", theID, acc) else executeSQLQuery("INSERT INTO fightingstyle(account,styleID) VALUES(?,?)", acc, theID) end end
    1 point
  17. هههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
    1 point
  18. 100% replaced with 75%. Can't fix veh to 100% Fixed ( Had also to replace /100*carhp with /75*carhp )
    1 point
  19. try this i'm using my phone i didn't test it local car = getPedOccupiedVehicle ( getLocalPlayer() ) local carfullhp = math.floor(getElementHealth(car)/10) local carhp = carfullhp - 25 dxDrawRectangle(screenW * 0.7760, screenH * 0.8796, screenW * 0.1083/100*carhp, screenH * 0.0278, tocolor(171, 100, 17, 207), false)
    1 point
  20. You need to make use of the XML functions or the database one's. Database ( Choose sqlite if you want it the easier method ): DbConnect DbQuery DbPoll Let me know if you need help in order to mount up the system of storage.
    1 point
  21. تبيعها با 50 جنية ؟
    1 point
  22. That depends on the event. https://wiki.multitheftauto.com/wiki/Server_Scripting_Events https://wiki.multitheftauto.com/wiki/Client_Scripting_Events https://wiki.multitheftauto.com/wiki/OnClientPickupHit Just read the documentation. Then you know which element is the source and also if there are any parameters passed. Only events can have the `source` predefined variable.
    1 point
  23. Realmente não sei porque a galera do brasil ainda teima em fazer o sistema de ACL como se fosse de team, cada um tem um proposito... Tal tarefa seria bem mais fácil se estivesse usando as funcionalidades especificas de team! Enfim, tentei criar um script aqui rapidão, que talvez consiga suprir suas necessidades... server-side local update = 5 -- min setTimer(function() for _,player in ipairs(getElementsByType("player")) do local account = getPlayerAccount(player) if (account) and not (isGuestAccount(account)) then local acl = {} local accountName = getAccountName(account) local objectString = "user."..accountName for _,group in ipairs(aclGroupList()) do if (isObjectInACLGroup(objectString, group)) then local groupName = aclGroupGetName(group) table.insert(acl,groupName) end end if #acl > 0 then setElementData(player,"acls",acl) end end end end,update*60000,0) client-side addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), function(attacker) local aclAttacker = getElementData(attacker,"acls") or false local aclSource = getElementData(source,"acls") or false local allowAttack = true if (aclAttacker and aclSource) then for _,aclName in ipairs(aclAttacker) do for _,aclName2 in ipairs(aclSource) do if aclName == aclName2 then allowAttack = false break end end if not allowAttack then break end end end if not allowAttack then cancelEvent() end end ) Não testei, e nem sei se esta é a melhor forma de fazer isso!
    1 point
  24. واحد ثاني اذا ودك https://wiki.multitheftauto.com/wiki/DxDrawProgressBar
    1 point
  25. Try this: -- 1 seg = 1000 local disappear = 5000 function vehicledisappear() setTimer(destroyElement, disappear, 1, source) end addEventHandler("onVehicleExplode", getRootElement(), vehicledisappear)
    1 point
  26. حبيبي لان الاجانب عندهم مبدا مب عندنا مب عند العرب تقريبا وهو صحيح انا ممكن ابرمج مجانا بدون شي لكن في نهاية الموضوع بتحصل رابط بايبال me لو عجبك شغلي تبرعلي تبرعلي هذي مب موجوده عند العرب لكن عند الاجانب مجوده وبكثره الله يهدينا بس قبل لا تشوف اخطاء غيرك شوفو اخطاء نفسكم
    1 point
  27. onVehicleExplode destroyElement If you do not want to remove the vehicle as soon as it is destroyed use a timer then destroy the vehicle setTimer
    1 point
  28. "Website dont work anymore" - Use the webarchive. (fast link to crystal website: https://web.archive.org/web/20161127055038/http://crystalmv.net84.net:80/)
    1 point
×
×
  • Create New...