Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 26/06/17 in Posts

  1. Have you ever experienced the awkward moment when you had to check your large map to see which direction you have to go? This resource lets you make important blips visible on players' screen, something you would see in games like Watch Dogs or Assassin's Creed. The only thing you have to do is set a "blip.visibleOnScreen" element data to true for a blip you would like to make visible, and the blip will be always on your screen, aiming towards the position of the blip. Check the examples given in the script. This DOES work on every resolution, blips won't go out of screen, so no need to be afraid or edit because of that. You can see the distance between the blip and you under the blip image as well. Edit this resource however you want, all I ask for is to leave the credits for me. (I used different blip images from my radar resource on the pictures, feel free to change them.) QUICK UPDATE: Made the distance numbers more easy to read by adding convertNumber function - before: 3328 | after: 3,328 Video preview (sorry for the bad video quality, I don't know why it is that bad): Screens: Changelog: UPDATE (1.0.1): - Made the distance numbers more easy to read by adding convertNumber function - before: 3328 | after: 3,328 UPDATE (1.0.2): - Removed leftover unnecessary lines from the script that I needed for debug used for my radar UPDATE (1.0.3): - Added possibility to disable backgrounds with a variable - Disabled distance check on the Z axis, since this is a 2D display - textOffset works automatically now (you don't have to change that if you disable the background or change the image/background sizes) UPDATE (1.0.4): - Fixed a typo UPDATE (1.0.5): -Fixed typos -Improved fading (not sketchy anymore, fades perfectly and smooth) -Removed unnecessary lines Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14531
    3 points
  2. جرب تحط اكثر من حدث كمثال . function mission() local myMarker = createMarker( 1987.87427, -2380.81665, 13.54688, "cylinder", 3, 155,0,0,200) for k,v in ipairs(getElementsByType('vehicle'))do if getElementModel(v)==592 and getVehicleController(v) then setElementVisibleTo ( myMarker, getVehicleController(v), true ) setElementVisibleTo ( myMarker, root, false ) end end end addEventHandler ( "onResourceStart", root, mission ) addEventHandler ( "onVehicleStartEnter", root, mission ) addEventHandler ( "onVehicleStartExit", root, mission ) === لا يمكن هل فقدت موهبتك البرمجية بسبب قولك انك سوف تعتزل
    2 points
  3. القرار راجع لك .. في ناس بسبب هاللعبة صارو متقدمين في بعض اللغات , منهم انا ؛ فتطورت ببرمجة المواقع وسويت كم موقع بخبرة بسيطة .. الأفضل انك تدور لك لغة وتثبت عليها خذ اللغة الي تفهم لها كثير وتعرف لها كثير غير لوا انا انصحك بالجافا ذ .. تقريباً جافا تحتل المركز الاول في اسهل لغة برمجية ذ افكر اسوي تطبيق العاب بالجوال ومستقبلاً اسوي سكربتات مواقع للبيع .. اذا تبي تصير معي وتربح حياك الله وتعرف وين نتواصل نصيحة واحدة فقط صير محترف بـ لوا واي شيء ينقال لك تسويه بأسهل الطرق وبدون مساعدات صدقني هذا الشيء بيفيدك كثير لأن التشابه بلغة لوا والجافا كثير اذا بتتعلم لها علعموم انا ما اعارض ولا اعارض على هذا الشيء في نهاية هذا قرارك وانت الي بتندم او بتفرح بسبته
    2 points
  4. About our project Gameserver Sponsor is a project that started in April 2013 and ever since offers gameservers for free. Right from the start, we trusted in our self-made control panel and now reached version 3 of it. With the control panel of Gameserver Sponsor 3, we want to provide a control panel which has an extensive amount of features and is flexible, so future changes will be easier to establish. On our website, we offer a great variety of gameservers. Beside our gameservers, we provide account upgrades for, by way of example, more FTP-accounts. We offer the following games: Our GP system On our website, we decided to establish a simple point system to ensure that servers, who aren't currently used, don't worsen the performance. You can gain our points, also called GP, through your daily login, players on your server or a reflink. Gameserver administration During the development of our control panel, we paid special attention to the simplicty of administration. You can share your server with others by granting them the right to start it and to shut it down. (An account is required.) Dashboard On our dashbord, you can always find the latest informations related to our service. In addition, it is possible to look up the current memory usage. Community For more solidarity in our community, we added a new forum to our website. There, you can ask questions or just talk to someone, if you're up to it. We also are developing a bugtracker with a voting system at the moment. Did we convince you? Visit our website on http://www.gameserver-sponsor.de and get your own free server!
    1 point
  5. السلام عليكم ورحمة الله وبركاته بما اني بدات احس ان اللعبه ممله وكثير ناس زيي فحبيت اعرض على جميع المبرمجين من صغيرهم لكبيرهم فكرة عمل سيرفر موحد لكل العرب وفكونا من السيرفرات اللي تقلد ذي خلاص طفشنا من هجوله طفشنا من حرب عصابات حتى لو طورنا فيه كل ذا مافيه تجديد فقلت جاتني فكره جديده ما شفتها باي سيرفر وهي جيم مود تجاره اي نعم زي ما سمعت المهم المودات بتكون من الصفر كل شي بحيث ان جميع مبرمجين العرب بيجتمعون به نبي ذا السيرفر يكسر الدنيا يجيب جميع الزوار عليه اولا بنبدا بلغة عربيه ثم مع تحديث السيرفر يتم دعم اللغه الانجليزيه ونستمر في التطوير وفي الحاله ذي في شخصيات ادعوها لهذا الموضوع خصيصا @Abdul KariM @3NAD @iPrestege @MR.S3D @#Soking @!#Nsoor @<MR,Tanteal/> واللي نسيته في قلبي محفوظ ولك انت ياللي تقرا الموضوع حتى لو ما كانت تعرف تبرمج شارك بافكارك
    1 point
  6. I have launched a new, entirely free service that offers personal tutoring to anybody who wants to learn new MTA skills, including: Setting up an MTA Server Resources / scripts / meta.xml Writing Lua code MTA concepts such as events, timers, client-side interfaces, etc. SQL and other data storage methods I've been in the MTA community for coming up to 11 years now, and have worked with many of the 'big servers' that exist today, so the information will be delivered by people (including myself) with plenty of experience. The few students I'm already tutoring are well on their way to writing some basic MTA scripts already, after only a few days (totaling 4-5 hours). If you want to get involved, be sure to join the Discord server. You can also click here to see the recommended syllabus. If you know of anybody else who wants to learn to script, be sure to let them know of this great offer!
    1 point
  7. Wow .. i have never seen something like this before, keep it up, im waiting to release it
    1 point
  8. Its like Battlefield 2, Very Good Job bro, keep working ♥
    1 point
  9. يعني انته جايب الارتفاع حق المركبه ومسوي ان لو كان ارتفاع المركبه =ارتفاع المركبه الحالي+200 فمستحيل يزبط التحقق
    1 point
  10. ممكن اعطيها واحد ويروح ينشرها ويروح تعبك ع الفاضي الافضل انك تبيعها بالتوفيق
    1 point
  11. مشارك بأفكاري لحين ربنا يفرجها عليا بمهارات البرمجة
    1 point
  12. يعطيك العافيه تصدق للان ما كنت ادري ان في اكثر من متغير ل mta مشكور يقلبي
    1 point
  13. List of predefined variables.
    1 point
  14. اشتغل؟؟ eventName من وين جت
    1 point
  15. اني جالس افهمك ان الاصح انه يسوي الماركر داخل الفنكشن شيل اللوكال وبيزبط اللوكال اللي قبل الماركر مع العلمم لو في اكثر من سياره ما بيزبط
    1 point
  16. مازا تقول +_+ ما فهمتك
    1 point
  17. function mission() local myMarker = createMarker( 1987.87427, -2380.81665, 13.54688, "cylinder", 3, 155,0,0,200) for k,v in ipairs(getElementsByType('vehicle'))do if getElementModel(v)==592 and getVehicleController(v) then setElementVisibleTo ( myMarker, root, false ) setElementVisibleTo ( myMarker, getVehicleController(v), true ) end end end addEventHandler("onResourceStart",getRootElement(),mission) ترتيبك للاكواد خاطئ لا اكثر
    1 point
  18. اوه صح كلامك -.- رجعه الحدث زي ما كان واي مشكلة تواجهك قل لي ..
    1 point
  19. فقط بدل السورس بـ getVehicleController وعدل على الحدث وحطه نفس الي في الكود السابق
    1 point
  20. 1 point
  21. عاشت يديك اخي بس انا عايز اتعلم مش اخذ الكود كدة ممكن تقولي الغلط فين وانا بحاول اصلحه بنفسي في الكود دة function mission() local myMarker = createMarker( 1987.87427, -2380.81665, 13.54688, "cylinder", 3, 155,0,0,200) for k,v in ipairs(getElementsByType('vehicle'))do if getElementModel(v)==592 and getVehicleController(v) then setElementVisibleTo ( myMarker, source, true ) -- Then make the marker invisible to the whole dimension setElementVisibleTo ( myMarker, root, false ) end end end addEventHandler("onPlayerVehicleEnter",getRootElement(),mission) ولو معرفتش اصلحه راح اققولك وبتساعدني اخلصه مشكور @iMr.WiFi..!
    1 point
  22. بتوفيق لك ي كركر .. والله معك ي ماستر , أي خدمة بخصوص المواقع انا موجود ي كركر : ) "
    1 point
  23. I have never seen anything like this before in MTA and it's an amazing idea , wish you good luck.
    1 point
  24. changeGridListItemToPlayersName = function بعدين كل كلامك غلط ترا هو حاط بايند كاي لو تلاحظ : ===== بنسبة لطلب راعي الموضوع : local key = "F9" GUIEditor = { gridlist = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(436, 96, 358, 465, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(9, 31, 308, 417, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.9) changeGridListItemToPlayersName(GUIEditor.gridlist[1],1) guiSetVisible (GUIEditor.window[1], false) bindKey( key, "down",function() guiSetVisible (GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1]) ) showCursor ( guiGetVisible (GUIEditor.window[1]) ) end) changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do local Row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); -- Set New Values end; end; end; end; end;
    1 point
  25. I'll definitely use it if you release. You have my full support!
    1 point
  26. Before getting to started I suggest u first edit the turf system and gang system of community then start ur own turf systems and gang system I suggest u notepad ++ to edit them I think its impossible for u to make turfs or groups system so best is contact a developer who make turfs and gang system for u or if u suggest me which type turfs and gang system u want and there features i vll make one for u not for free xd!! Pm me if u want
    1 point
  27. Используйте оператор BINARY. Пример. SELECT * FROM `table` WHERE `column` = BINARY 'value'
    1 point
  28. local ids = {} function assignID() for i=1,getMaxPlayers() do if not ids[i] then ids[i] = source setElementData(source,"id",i) break end end end addEventHandler("onPlayerJoin",root,assignID) function startup() ids = {} for k, v in ipairs(getElementsByType("player")) do local id = setElementData(v,"id",k) ids[k] = v end end addEventHandler("onResourceStart",resourceRoot,startup) function freeID() local id = getElementData(source,"id") if not id then return end ids[id] = nil end addEventHandler("onPlayerQuit",root,freeID) function getPlayerID ( player ) return getElementData( player, "id") end function getPlayerFromId ( theID ) if theID then local theID = tonumber(theID) local theplayer for index,player in ipairs(getElementsByType("player")) do if getElementData(player ,"id") == theID then theplayer = player end end return theplayer else return false end end sistema de id,mais top que já vi kk sempre uso esse. Não sei quem fez mas Vlw ae!
    1 point
  29. انا بسوي القيم مود كامل + المهمات,, تحصلها جاهزه يوم القيامة بعد العصر
    1 point
  30. بيكون في الخاص بعد تكوين مجموعه عشان ما يجي متطفلين كالعاده ويزرفوها
    1 point
×
×
  • Create New...