Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 26/11/16 in all areas

  1. That's right because the definition of an MTA contributor/developer (someone who actively develops our codebase) is different from MTA team, which is a title you get by broad recognition that only the devs who play(ed) a key role in making MTA what it is /those who lay MTA's foundation have (not of added value while developing for MTA). As a contributor, which you're looking for to become, you can create pull requests with your patches/feature implementations. Your chances to ever get any official status such as on forums depend on your own performance, if you become well known for your good quality code and judgement/self-review capabilities (realiably and structurally knowing how stable and desired certain patches are) you could be granted commit rights to cut the code review by other developers. While you're at it you can be granted additional tools and statuses if required for your assignments. (Especially don't take this literally, I'm just trying to draw an image for you of how it works here) Any current ''MTA Team'' or ''Contributor'' member around here has walked through this whole chain of reputation and recognition building which takes time, and is very informal (not needed to actually develop for MTA or contribute code as mentioned before) The conclusion: you're already part of a team if you start contributing code, and being formally part of it attachs zero value, if you deserve it over time it'll get to you and as you advance some groups such as Contributor until (theoretically) MTA team it only increases your recognition/honour. fastman92 by the way you're widely known within the GTA:SA modder community so you do have experience with GTA mechanics, which is of immense added value to developing MTA. Currently we can use some developer manpower and if you want to improve MTA utilizing your present skills you're very much welcome (as any contributor would be though, skilled with GTA internals already or not)
    4 points
  2. ! مرحبا بك في حرب الشوارع, ايها المحارب هذا شرح مختصر عن السيرفر بالأسفل " Next " إضغط للذهاب للصفحة التالية Next = التالي في حرب الشوارع هناك ثلاث فرق - Ballas - Police- Grove Street بعد اختيار فريقك اذهب لإحتلال الأراضي من اجل فريقك وحارب الأعداء :الأحداث المميزه والمخدرات المخدرات تعطيك مميزات مثل السرعه , زيادة الدم- F4 لفتح لوحة المخدرات إضغط TDMتستطيع الحصول على المخدرات بمشاركتك في حدث ال - LS الذي يبدأ كل ساعة في مستشفى الأيقونه بالرادار !هل أنت جاهز أيها المحارب ؟ F1 اذا تحتاج الى المزيد من المعلومات إضغط ! حارب
    4 points
  3. I'd advise against TortoiseSVN, there's no need for it. Probably something like GitHub for Windows is much easier to get up and running. This guide has more or less everything you need to know: https://wiki.multitheftauto.com/wiki/Compiling_MTASA There's really more much to developing on a large project than simply applying patches. MTA's codebase is very large in nature, and there are likely to be some integration challenges involved as well as harmonizing with our own coding standards. Good luck.
    3 points
  4. Thanks alot, I expect I traslated it rightly cause it's hard to copy-paste from arabic
    3 points
  5. Finished OceanView Hotel *New Vegetation *New Model *New Textures *Original Interior (Will change asap when i will find a good texture)
    2 points
  6. Finally fixed it. I loaded the default textures as shaders in the "radaroff" function. This way they overwrite the gta v shaders and radar looks like default one (it kinda is). And since I had trouble with unloading, I decided that I'll only load shaders and it worked Thanks to @Wojak, @LoPollo and @xiti for the help. Now everything's running fine! As always I'll post my working code below so that if others have the same problem or just wanna learn stuff, they'll be able to from it: local tiles = {} local timer local visible = true local ROW_COUNT = 12 --# Textures table local blips_textures = { { "arrow", "blips/arrow.png" }, { "radardisc", "blips/radardisc.png" }, { "radar_airYard", "blips/radar_airYard.png" }, { "radar_ammugun", "blips/radar_ammugun.png" }, { "radar_barbers", "blips/radar_barbers.png" }, { "radar_BIGSMOKE", "blips/radar_BIGSMOKE.png" }, { "radar_boatyard", "blips/radar_boatyard.png" }, { "radar_bulldozer", "blips/radar_bulldozer.png" }, { "radar_burgerShot", "blips/radar_burgerShot.png" }, { "radar_cash", "blips/radar_cash.png" }, { "radar_CATALINAPINK", "blips/radar_CATALINAPINK.png"}, { "radar_centre", "blips/radar_centre.png" }, { "radar_CESARVIAPANDO", "blips/radar_CESARVIAPANDO.png" }, { "radar_chicken", "blips/radar_chicken.png" }, { "radar_CJ", "blips/radar_CJ.png" }, { "radar_CRASH1", "blips/radar_CRASH1.png" }, { "radar_dateDisco", "blips/radar_dateDisco.png" }, { "radar_dateDrink", "blips/radar_dateDrink.png" }, { "radar_dateFood", "blips/radar_dateFood.png" }, { "radar_diner", "blips/radar_diner.png" }, { "radar_emmetGun", "blips/radar_emmetGun.png" }, { "radar_enemyAttack", "blips/radar_enemyAttack.png" }, { "radar_fire", "blips/radar_fire.png" }, { "radar_Flag", "blips/radar_Flag.png" }, { "radar_gangB", "blips/radar_gangB.png" }, { "radar_gangG", "blips/radar_gangG.png" }, { "radar_gangN", "blips/radar_gangN.png" }, { "radar_gangP", "blips/radar_gangP.png" }, { "radar_gangY", "blips/radar_gangY.png" }, { "radar_girlfriend", "blips/radar_girlfriend.png" }, { "radar_gym", "blips/radar_gym.png" }, { "radar_hostpital", "blips/radar_hostpital.png" }, { "radar_impound", "blips/radar_impound.png" }, { "radar_light", "blips/radar_light.png" }, { "radar_LocoSyndicate", "blips/radar_LocoSyndicate.png" }, { "radar_MADDOG", "blips/radar_MADDOG.png" }, { "radar_mafiaCasino", "blips/radar_mafiaCasino.png" }, { "radar_MCSTRAP", "blips/radar_MCSTRAP.png" }, { "radar_modGarage", "blips/radar_modGarage.png" }, { "radar_north", "blips/radar_north.png" }, { "radar_OGLOC", "blips/radar_OGLOC.png" }, { "radar_pizza", "blips/radar_pizza.png" }, { "radar_police", "blips/radar_police.png" }, { "radar_propertyG", "blips/radar_propertyG.png" }, { "radar_propertyR", "blips/radar_propertyR.png" }, { "radar_qmark", "blips/radar_qmark.png" }, { "radar_race", "blips/radar_race.png" }, { "radar_runway", "blips/radar_runway.png" }, { "radar_RYDER", "blips/radar_RYDER.png" }, { "radar_saveGame", "blips/radar_saveGame.png" }, { "radar_school", "blips/radar_school.png" }, { "radar_spray", "blips/radar_spray.png" }, { "radar_SWEET", "blips/radar_SWEET.png" }, { "radar_tattoo", "blips/radar_tattoo.png" }, { "radar_THETRUTH", "blips/radar_THETRUTH.png" }, { "radar_TORENO", "blips/radar_TORENO.png" }, { "radar_TorenoRanch", "blips/radar_TorenoRanch.png" }, { "radar_triads", "blips/radar_triads.png" }, { "radar_triadsCasino", "blips/radar_triadsCasino.png" }, { "radar_truck", "blips/radar_truck.png" }, { "radar_tshirt", "blips/radar_tshirt.png" }, { "radar_waypoint", "blips/radar_waypoint.png" }, { "radar_WOOZIE", "blips/radar_WOOZIE.png" }, { "radar_ZERO", "blips/radar_ZERO.png" }, { "siteM16", "blips/siteM16.png" }, { "siterocket", "blips/siterocket.png" } } local old_blips_textures = { { "arrow", "oldblips/arrow.png" }, { "radardisc", "oldblips/radardisc.png" }, { "radar_airYard", "oldblips/radar_airYard.png" }, { "radar_ammugun", "oldblips/radar_ammugun.png" }, { "radar_barbers", "oldblips/radar_barbers.png" }, { "radar_BIGSMOKE", "oldblips/radar_BIGSMOKE.png" }, { "radar_boatyard", "oldblips/radar_boatyard.png" }, { "radar_bulldozer", "oldblips/radar_bulldozer.png" }, { "radar_burgerShot", "oldblips/radar_burgerShot.png" }, { "radar_cash", "oldblips/radar_cash.png" }, { "radar_CATALINAPINK", "oldblips/radar_CATALINAPINK.png"}, { "radar_centre", "oldblips/radar_centre.png" }, { "radar_CESARVIAPANDO", "oldblips/radar_CESARVIAPANDO.png" }, { "radar_chicken", "oldblips/radar_chicken.png" }, { "radar_CJ", "oldblips/radar_CJ.png" }, { "radar_CRASH1", "oldblips/radar_CRASH1.png" }, { "radar_dateDisco", "oldblips/radar_dateDisco.png" }, { "radar_dateDrink", "oldblips/radar_dateDrink.png" }, { "radar_dateFood", "oldblips/radar_dateFood.png" }, { "radar_diner", "oldblips/radar_diner.png" }, { "radar_emmetGun", "oldblips/radar_emmetGun.png" }, { "radar_enemyAttack", "oldblips/radar_enemyAttack.png" }, { "radar_fire", "oldblips/radar_fire.png" }, { "radar_Flag", "oldblips/radar_Flag.png" }, { "radar_gangB", "oldblips/radar_gangB.png" }, { "radar_gangG", "oldblips/radar_gangG.png" }, { "radar_gangN", "oldblips/radar_gangN.png" }, { "radar_gangP", "oldblips/radar_gangP.png" }, { "radar_gangY", "oldblips/radar_gangY.png" }, { "radar_girlfriend", "oldblips/radar_girlfriend.png" }, { "radar_gym", "oldblips/radar_gym.png" }, { "radar_hostpital", "oldblips/radar_hostpital.png" }, { "radar_impound", "oldblips/radar_impound.png" }, { "radar_light", "oldblips/radar_light.png" }, { "radar_LocoSyndicate", "oldblips/radar_LocoSyndicate.png" }, { "radar_MADDOG", "oldblips/radar_MADDOG.png" }, { "radar_mafiaCasino", "oldblips/radar_mafiaCasino.png" }, { "radar_MCSTRAP", "oldblips/radar_MCSTRAP.png" }, { "radar_modGarage", "oldblips/radar_modGarage.png" }, { "radar_north", "oldblips/radar_north.png" }, { "radar_OGLOC", "oldblips/radar_OGLOC.png" }, { "radar_pizza", "oldblips/radar_pizza.png" }, { "radar_police", "oldblips/radar_police.png" }, { "radar_propertyG", "oldblips/radar_propertyG.png" }, { "radar_propertyR", "oldblips/radar_propertyR.png" }, { "radar_qmark", "oldblips/radar_qmark.png" }, { "radar_race", "oldblips/radar_race.png" }, { "radar_runway", "oldblips/radar_runway.png" }, { "radar_RYDER", "oldblips/radar_RYDER.png" }, { "radar_saveGame", "oldblips/radar_saveGame.png" }, { "radar_school", "oldblips/radar_school.png" }, { "radar_spray", "oldblips/radar_spray.png" }, { "radar_SWEET", "oldblips/radar_SWEET.png" }, { "radar_tattoo", "oldblips/radar_tattoo.png" }, { "radar_THETRUTH", "oldblips/radar_THETRUTH.png" }, { "radar_TORENO", "oldblips/radar_TORENO.png" }, { "radar_TorenoRanch", "oldblips/radar_TorenoRanch.png" }, { "radar_triads", "oldblips/radar_triads.png" }, { "radar_triadsCasino", "oldblips/radar_triadsCasino.png" }, { "radar_truck", "oldblips/radar_truck.png" }, { "radar_tshirt", "oldblips/radar_tshirt.png" }, { "radar_waypoint", "oldblips/radar_waypoint.png" }, { "radar_WOOZIE", "oldblips/radar_WOOZIE.png" }, { "radar_ZERO", "oldblips/radar_ZERO.png" } } local shaders = {} function radaron() visible = true if visible then for i = 2, #blips_textures do shaders[i] = dxCreateShader("texture.fx") engineApplyShaderToWorldTexture(shaders[i], blips_textures[i][1]) dxSetShaderValue(shaders[i], "gTexture", dxCreateTexture(blips_textures[i][2])) end handleTileLoading() if isTimer(timer) then killTimer(timer) end timer = setTimer(handleTileLoading, 500, 0) end visible = false end addCommandHandler("on", radaron) function radaroff() if visible == false then for i = 2, #old_blips_textures do shaders[i] = dxCreateShader("texture.fx") engineApplyShaderToWorldTexture(shaders[i], old_blips_textures[i][1]) dxSetShaderValue(shaders[i], "gTexture", dxCreateTexture(old_blips_textures[i][2])) end if isTimer(timer ) then killTimer(timer) end for name, data in pairs(tiles) do unloadTile(name) end end end addCommandHandler("off", radaroff) function handleTileLoading ( ) local visibleTileNames = table.merge ( engineGetVisibleTextureNames ( "radar??" ), engineGetVisibleTextureNames ( "radar???" ) ) for name, data in pairs ( tiles ) do if not table.find ( visibleTileNames, name ) then unloadTile ( name ) end end for index, name in ipairs ( visibleTileNames ) do loadTile ( name ) end end function table.merge ( ... ) local ret = { } for index, tbl in ipairs ( {...} ) do for index, val in ipairs ( tbl ) do table.insert ( ret, val ) end end return ret end function table.find ( tbl, val ) for index, value in ipairs ( tbl ) do if ( value == val ) then return index end end return false end function loadTile ( name ) if type ( name ) ~= "string" then return false end if ( tiles[name] ) then return true end local id = tonumber ( name:match ( "%d+" ) ) if not ( id ) then return false end local row = math.floor ( id / ROW_COUNT ) local col = id - ( row * ROW_COUNT ) local posX = -3000 + 500 * col local posY = 3000 - 500 * row local file = string.format ( "sattelite/sattelite_%d_%d.png", row, col ) local texture = dxCreateTexture ( file ) if not ( texture ) then outputChatBox ( string.format ( "Failed to load texture for %q (%q)", tostring ( name ), tostring ( file ) ) ) return false end local shader = dxCreateShader ( "texreplace.fx" ) if not ( shader ) then outputChatBox ( "Failed to load shader" ) destroyElement ( texture ) return false end dxSetShaderValue ( shader, "gTexture", texture ) engineApplyShaderToWorldTexture ( shader, name ) tiles[name] = { shader = shader, texture = texture } return true end function unloadTile ( name ) local tile = tiles[name] if not ( tile ) then return false end if isElement ( tile.shader ) then destroyElement ( tile.shader ) end if isElement ( tile.texture ) then destroyElement ( tile.texture ) end tiles[name] = nil return true end
    1 point
  7. with that way will be agpear error unknow sybol near = also error is at line 5 not ther
    1 point
  8. Well that only works within a resource, not globally for all resources. If you do something like this: _createObject = createObject function createObject() --now whenever a scriptfile within that resource calls createObject this function will be used instead so you can handle things end If you still want to create the object you have to use _createObject inside there too.
    1 point
  9. ops You are right, i thought that you were @External sorry. I got worried since the code should (and do) work, but since i though that was the code @External was using, i had no idea where the error was. That's why i stated what's below: Sorry
    1 point
  10. Not really sure what you're trying to say but what I've written does work tho, I've used this in my code as well.
    1 point
  11. So you basicly want to make THIS (https://forum.multitheftauto.com/topic/88462-fastman92-limit-adjuster-and-stream-memory-fix) possible? Read the wiki on how to use GIT, easy explanation: create a Github account, fork (sort of clone) the project repo, and use SVN software such as TortoiseSVN to fetch the repo to your PC. Start making those changes you want now, and I advise you to make it a new branch in consultation with MTA team members, as integration of something like this could need extensive testing/integrating all those commits at once by later merging the repositories after code and stability reviews are done. Make sure to read the Wiki about using our Git before my explanation, it was only meant to show you it's not all that complicated.
    1 point
  12. من المستحيل عمل الفكرة التي تفكر بها !
    1 point
  13. Excuse me, but this code is very confusing.
    1 point
  14. Hi! Thank you for taking an interest in contributing to our project. Multi Theft Auto: San Andreas is an Open Source software, so anyone who feels confident in C++ (and/or possibly other utility languages we use) can contribute to the code base. A good start would be to check out our project page at GitHub, or more specifically - our README: https://github.com/multitheftauto/mtasa-blue/blob/master/README.md. After giving that a read, you might want to read our Coding Guidelines as well (which are also mentioned in the README): https://wiki.multitheftauto.com/wiki/Coding_guidelines. These guidelines explain the structure of our code, how to write your code so it can be accepted by us, and what you should try to focus on when submitting your first patches/pull requests to us, amongst other things. Having read both of these, you should get the general idea of how this project operates. Now, to answer the rest of your questions: You do not need to be a MTA Team member in order to submit your code to us. You have to be registered on GitHub though (don't worry, it's completely free of charge) and should know how to use Git. Obviously, you will be listed as an author of any code you contribute to us (provided that we accept it). You can find a list of our developers here: https://forum.multitheftauto.com/staff/, (ones with a Godfather (The MTA Team) rank, although not everyone is active), but you do not need to contact anyone individually per se (unless it's a confidential question eg. regarding a security issue). If you have any other questions then feel free to ask. Good luck.
    1 point
  15. Did you just post passwords of players from your server? That doesn't really look hashed
    1 point
  16. A day ago one of my friends said that i need to fix that.... and here it is
    1 point
  17. B4: After: Redone More trees:
    1 point
  18. The text will be shown for 3 seconds (3000 ms). Check the timer function. As for the borders, just play around with the draw functions. All I did was make a copy of the dxDrawText line and add +1 the x,y, width and height. Make another copy on top of it and do -1, then another copy and just do -1 on the y and another one and do +1 on the y. Check this post of mine from 2015: Hope this helps.
    1 point
  19. Use mod downloader to allow clients to download mods separately.
    1 point
  20. Добро пожаловать на Уличные Войны, Боец! Прочтите краткую помощь по серверу Нажмите кнопку “Далее”, для перехода к следующей странице. Далее Вы можете выбрать одну из трех фракций - Ballas (Don't traslate this line) - Police (Don't traslate this line) - Grove Street (Don't traslate this line) После выбора фракции вы сможете воевать за территории для вашей фракции, и участвовать в перестрелках Медикаменты Медикаменты дают вам; скорость движения, больше здоровья... Для открытия меню медикаментов нажмите F4 Медикаменты можно получить в специальном мероприятии проходящем каждый час в Больнице Лос-Сантос отмечено иконкой на карте Ты готов, Боец? Для дополнительной информации нажмите F1! Погнали!
    1 point
  21. Yeah I am typing this on my phone so everything is written by mind not by Wiki. So yeah you'll need a couple of functions. One for the spawn and one for the set location. Although my explanation was More about the theory than the script itself. They way of thinking since that'll get you the furthest.
    1 point
  22. I'm pretty sure it's because OOP was not enabled.
    1 point
  23. Use onPlayerWasted event. Don't do setElementPosition for spawning, as @ViRuZGamiing said. As wiki says on 'setElementPosition': Attention: Do not use this function to spawn a player. It will cause problems with other functions like warpPedIntoVehicle. Use spawnPlayer instead.
    1 point
  24. احس البعض لو عليه بيحذف الامثله من الويكي ويجلس يتفلسف ويقول تعلم من نفسك ترا كود ماركر بسيط يقراه ويفهمه جاهز ويفهم كيف اكواد اللعبه كيف تشتغل والمشكلة نص الي متعلمين هنا كذا بدايتهم يفتح مودات مو مشفره ويقرا ويعدل لين فهم , ويوم احترف قام يتفلسف ويقول لا تعطوا جاهز Lua لغة الجافا سكربت الي تعتبر اصعب من lua فهمت الاساسيات وبديت اتعلم عليها وافهمها اسهل من بسبب المدرسين والمبرمجين الي يعطوا امثله توصل لبناء موقع كامل ويقلك كيف لو تبي تسوي الشي الفلاني و يعلمك طريقة تفكيره وانت تبدا تبحر وتتعمق الفكره باللي يبي يتعلم والي ما يبي يتعلم ماله دخل الكود جاهز ولا مو جاهز الي يبي يتعلم بيتعلم والي ما يبي مالنا دخل فيه . انت اذا خايف ع المبتدئ ومسوي تبي تطلع ناس مبرمجين ويتطوروا تقدر تنصحه انه لا تعتمد ولا ترجع لطلب كود او تقرا كود جاهز من اي مود الا بعد ما تحاول مره واثنين وثلاث الى ما تفقد الامل واذا ضبط معك الكود تبدا تقارنه بكودات ثانيه وهو حر عاد يسوي النصيحه ولا لا . كلام طالع من قلب
    1 point
  25. يعني افضل برنامج للمنتديات وان شاء الله نتوفق فية vbulletin أخوي نطمح أنة يكون المنتدى من افضل المنتديات لذلك ثبتنا نسخة مدفوعه و نسخة
    1 point
  26. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة .. .. مجتمع - العرب بمناسبة افتتاح المنتدى نبحث عن اعضاء متفاعلين ومجتهدين في المنتدى - يسرنآ تسجيلك معنآ . http://www.mtaarabs.com/vb/register.php فايده من منتدى : ؟ مودات حصرية - مابات - طلبات - تصاميم - وناسة - العاب اخره - طلبات مودات - جميع ما تريده بختص بلعبه ام تي اي و يوجد بعض اقسام اخره .. مجتمع العرب - www.mtaarabs.com طلبات اشراف : http://mtaarabs.com/vb/showthread.php?p=48#post48 اداره المنتدى : برستيج نكست سعد الغامدي ---------------------------------------------------- الى يعرف لـ برمجة او تصاميم الخ .. يقدر يقدم طلب رتبة مبرمج محترف .. وان شاء الله ما نقصر معه و بتوفيق للجميع ----------------------------------------------------- و نقول الحمدالله قدرنا نوصل 50 عضو بـ 24 ساعه . واتمني من الجميع التسجيل وشكرا لكم .. ------------------------------------------------------ في امان الله
    1 point
  27. مو كل شخص فاضي انه يضيع وقته يبرمج سكربت عشان ينسحب عليه وينشره كمثال انا او أي شخص يأخذ طلبات كثيره للبرمجه, بغض النظر عن ضيق وقتك اليومي للبرمجه والأيام الي تروح وماتقدر تبرمج فيها, ماتقدر تضيع وقت تبرمج فيه سكربت وماتاخذ عليه شي وكنت تقدر تبرمج سكربت او سكربتين بنفس الوقت وتستلم عليهم. يمكن ماقدرت أوصل فكرتي بشكل مناسب بس ان شاء الله تكون مفهومه
    1 point
  28. What you can do, which will be very unpopular with your players and generally a very big liability, is store the plaintext password the user entered when registering (for example, in setAccountData). This is very insecure, as whenever you'll get hacked, passwords will leak out in plaintext. This would also cause privacy concern for those who use the same password for a range of servers, forums or other services. I urge you not to do what I outlined above.
    1 point
  29. بنسبة لـ كلامك .. افضل تعديل علي ستيلات متاحة .. نعدل عليها حبه حبه و نغير فيها و الخ افضل من شراء ستايل .. لنه بلاخير لو شرينا ستايل يتاخر شوي اسبوعين - شهر لـ عمله .. و يمكن ما يجي دعم منتدى .. فـ افضل تعديل ثم شفنا فيه دعم من جميع لاعبين .. ذيك ساعه نشتري ستايل لعيون الاعضاء : )
    1 point
  30. for example <filefolder src="folder/blips/.*" /> -- select folder and include all files using regex .* and can be attribute subfolders="true" then include all folder like script/folder/blips/subfolder it will be awasome, now i must look that http://screenshot.sh/oB6bqJi4YdTba yes, i can create php script, module, use bash etc to get all files in folder
    1 point
  31. example button=guiCreateButton(...) button:on("click",function() outputChatBox("lel") end) button=guiCreateButton(...) button:on("change",function() outputChatBox("lel") end)
    1 point
×
×
  • Create New...