Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/01/17 in all areas

  1. We really appreciate your interest in integrating FLA in MTA, but there are a few requirements that have to be met: Only one MTA version (2 versions would lead to fragmentation which is not our intention). The other main problem with a "moddable" version is also that such a version would be very prone to cheating and would lead to frustration due to cheaters on the long term It has to be integrated in a dynamic way. That means: No MTA restarts, but changing the limits on demand via a clientside function (or something similar) Since FLA would require modifications for MTA anyway, I don't see a reason to load FLA via an ASI loader. Instead, it should be merged with the Game SA/Multiplayer SA module. If you are still not deterred by these requirements and think it is affordable, we'd definitely appreciate a pull request on GitHub (and will accept it if the code quality is fine).
    5 points
  2. There is no reason to run MTA with different limit adjustments. Thus, easiest way would be to max out all (necessary) limits and run MTA with this configuration instead of making things more complex than they should be.
    2 points
  3. Have the MTA Team setup an official Discord server? I saw an unofficial one on a topic a few weeks back and joined it, but somebody speaks once every few days and it's full of weird bot scripts. Would be an idea to get one going, especially as it can link to IRC.
    1 point
  4. السلام عليكم , اليوم قررت اني ابرمج للي يبي بفلوس تقدر تطلب مود تجربة عشان تتأكد , المهم الاسعار ماهبالغ طبعا و اقول 10 و 15 و 20 السعر هيكون علي حساب السكربت اقصي سعر عندي 6 دولار طبعا ليك تستلم مني المود كامل في معاد تطلبو , + خالي من البقات او اي دي بق + هكون مسأول عن تصليحو لو حصل حاجة سكايبي ahmad.gaber25 + النصب و الأحتيال مو من صفاتي اظن في ناس هنا تعرفني كويس ,, الدفع باي بال او سعودي
    1 point
  5. Client addEventHandler ( 'onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[1] ) then local message = guiGetText ( GUIEditor.edit[1] ) local name = getPlayerName ( localPlayer ) if ( message and message ~= "" ) then guiSetEnabled( GUIEditor.button[1], false ) setTimer( guiSetEnabled, 1000, 1, GUIEditor.button[1], true ) triggerServerEvent ( 'Support;Send', localPlayer, message, name ) end end end ) function GridList ( msg, name ) if ( msg and name ) then local aRow = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], aRow, 1,' '..name..' : '..msg, false, false ) end end addEvent ( 'Support;AddGridlist', true ) addEventHandler ( 'Support;AddGridList', root, GridList ) Server addEvent ( 'Support;Send', true ) addEventHandler ( 'Support;Send', root, function ( msg, name ) triggerClientEvent ( root, 'Support;AddGridList', root, msg, name ) end )
    1 point
  6. أتمنى تقرا ردي زين وكامل ، قبل لا تقتبس كلامي أذا شفت أنا واحد غلطان وممكن يضحك على واحد ثاني تبيني أسكت ؟ ، لا طبعاً لازم أوضح له أنه غلط اللي يسويه وأنا ما قلت شيء غلط ، وكلامي صحيح لذلك الله لا يهينك ، قل خيراً أو أصمت
    1 point
  7. Use code instead of quote next time, it helps readability a lot. just a note (not an error!): getResourceRootElement(getThisResource()) = resourceRoot, getThisResource() = resource (these are predefined variables) Calling addEventHandler with Button when it's nil won't add the handler. Even the function teleportPlayer wasn't define at that point in the code. So below there's the code without these 2 errors, try it. As always, it's untested and read quickly, so tell us if it solved the issue and if it didn't also include errors, since both of the above said problems produce errors. Use debugscript 3 when scripting an testing, otherwise check the logs (clientscript.log and server.log) function createSpawningPanel() SpawnWindow = guiCreateWindow(319, 196, 408, 277, "Base Spawning Panel", false) guiWindowSetMovable(SpawnWindow, false) guiWindowSetSizable(SpawnWindow, false) guiSetVisible(SpawnWindow,false) Button[1] = guiCreateButton(17, 38, 376, 73, "Go to the base", false, SpawnWindow) addEventHandler("onClientGUIClick", Button[1], teleportPlayer, false) Button[2] = guiCreateButton(14, 161, 379, 71, "Kill yourself", false, SpawnWindow) addEventHandler("onClientGUIClick", Button[2], teleportPlayer, false) end addEventHandler("onClientResourceStart", resourceRoot, function () createSpawningPanel() end ) function openSpawnWindow() guiSetVisible( SpawnWindow, true ) showCursor( true, true ) end addCommandHandler( "teleportme", openSpawnWindow ) function teleportPlayer(button,state) if button == "left" and state == "up" then if source == Button[1] then triggerServerEvent("movePlayerToPosition",getLocalPlayer(),1479.6,-1612.8,14.0,0) elseif source == Button[2] then killPed(sourcePlayer,sourcePlayer) end guiSetVisible(SpawnWindow,false) showCursor(false) end end Remember that the more detailed and accurated the description of the problem is, the faster and better the fix, correction or workaround come.
    1 point
  8. Could possibly just use a table, and add / remove your weapon depending on where in the table you have selected. (Using scroll, and E / Q to select your weapon in that table)
    1 point
  9. تمت إزالة الردود السابقة وتمت مخالفة احد الاعضاء بسبب عدم إحترامه لـ عضو اخر ويرجي من الجميع الإلتزام بقوانين المنتدي لتجنب المخالفات وبالتوفيق للجميع
    1 point
  10. Exactly. We're lucky to have survived this far, in my honest opinion. (Seeing what they've done to other multiplayer modifications) They haven't done that to MTA in 11 years and I'm sure they know about MTA. If MTA team tries to talk to them, I'm sure they wouldn't need much to convince them. Yeah, GTA V, unlike GTA SA, has its own official multiplayer version and that's why they are shutting down any other rmodification. GTA SA, on the other side, doesn't have official modification and as I said in my previous post, MTA on Steam can only benefit to both Take 2 and Rockstar.
    1 point
  11. local missionData = {} function mark1Func(hitElement) if getElementType(hitElement) == "player" and missionData[hitElement] then local playerMissionData = missionData[hitElement] removeEventHandler("onMarkerHit", source, mark1Func) playerMissionData.mark1 = nil; local mark2 = createMarker(1167.412109375, -1741.021484375, 11.5, "cylinder", 8, 255, 69, 0, 150) playerMissionData.mark2 = mark2 addEventHandler("onMarkerHit", mark2, mark2Func) if isElement(source) then destroyElement(source) end end end function mark2Func(hitElement) if getElementType(hitElement) == "player" and missionData[hitElement] then local playerMissionData = missionData[hitElement] removeEventHandler("onMarkerHit", source, mark2Func) if isElement(source) then destroyElement(source) end missionData[hitElement] = nil -- clean up outputChatBox("Вы прибыли в точку назначения!", hitElement) -- finished? Can't read this... end end addEventHandler("onPlayerQuit", root, function () local playerMissionData = missionData[source] if playerMissionData then if isElement(playerMissionData.mark1) then removeEventHandler("onMarkerHit", playerMissionData.mark1, mark1Func) destroyElement(playerMissionData.mark1) end if isElement(playerMissionData.mark2) then removeEventHandler("onMarkerHit", playerMissionData.mark2, mark2Func) destroyElement(playerMissionData.mark2) end missionData[source] = nil end end) function seatRumpo(theVehicle, seat, jacked) if(getElementModel(theVehicle) == 440 and getTeamName(getPlayerTeam(source)) ~= "Водители") then local x, y, z = getElementPosition(theVehicle) local id = getElementModel(source) spawnPlayer(source, x-1, y-2, z, 90, id) setCameraTarget(source, source) outputChatBox("У вас нет прав для доступа в данное транспортное средство", source) elseif (getElementModel(theVehicle) == 440 and getTeamName(getPlayerTeam(source)) == "Водители") then outputChatBox("Начинаем работу", source) local mark1 = createMarker(1104.0576171875, -1740.830078125, 11.5, "cylinder", 8, 255, 69, 0, 150) missionData[source] = { mark1 = mark1--, -- you can add more data here for the mission } addEventHandler("onMarkerHit", mark1, mark1Func) end end addEventHandler("onPlayerVehicleEnter", getRootElement(), seatRumpo) Not tested. ALSO it doesn't work for multiple players at the same time yet. You will have to spend more time on it to fix that. (this is all I am doing for now) This will be the next step to improve your script: https://wiki.multitheftauto.com/wiki/SetElementVisibleTo
    1 point
  12. Changing the limits while the game is running cannot be done, the FLA makes changes, which are irreversible: all or none. The limit patching is an extremely complicated process. There's a valid reason, why the limits weren't hacked before. If you want some changes, (the FLA should do different changes according to different configuration?), obviously you need to run the game once again, with the FLA. There is no nothing to agree with. There is no better choice available. One idea is to make a launcher a launcher where you could choose a server. Like SA:MP Which starts the proxy_gtasa.exe only after you click Connect It only takes to understand the rule. How they implement it is completely their choice. The rule is that the FLA loads and changes the executable code in some places, when GTA SA starts. The choice is yours. You can complain saying that the design is still far from you'd want it to be and get stuck with it. Or you can actually do something and make the MTA better for many.
    1 point
  13. Hello dear forum users. i have a script and i should customize script , i can't read code, code like a luac file but this lua Someone help please sorry for bad english my from Turkey there is a script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=8092
    1 point
  14. جاري العمل على إصدار جديد للسكربت بخصائص جديدة, سيتم إضافة هذه الفقرة إن شاء الله, لو في إقتراحات ثانية اتمنى الكل يذكرها ليتم اضافتها والأخذ بها . كفووك يالغالي, نورت الموضوع, يسرني انك حملته اول واحد شكرا للدعم والكلام الجميل, حياك الله
    1 point
  15. (قال صلى الله عليه وسلم (من كان يؤمن بالله واليوم الآخر ، فليقل خيرا أو ليصمت
    1 point
  16. عهههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههعهههههههههههههههههههههههههههههههههههههههههههههههههههه @King BoyKa
    1 point
  17. Well if you really think about it you can slip a back door into an uncompiled script by messing with the encoding of the lua file (Trick I'll never tell a soul as to how to do)
    1 point
  18. function mark1Func() if isElement(mark1) then destroyElement(mark1) end mark2 = createMarker(1167.412109375, -1741.021484375, 11.5, "cylinder", 8, 255, 69, 0, 150) addEventHandler("onMarkerHit", mark2, mark2Func) end place your event handler in the scope of your variable
    1 point
  19. You win this time man.
    1 point
  20. I haven't used the card before, but you almost certainly can for sure.
    1 point
  21. Don't think they'll touch SA-MP and MTA:SA tho as that would be a suicide for GTA:SA's playerbase and T2/Rockstar's reputation as well considering that GTA:SA is 11 years old and still has a :~load of players that play it regulary.
    1 point
  22. Over the past year a lot of people have been migrating from TeamSpeak, Skype and IRC to Discord, myself included. Some great features are that you don't need to host it yourself, setup is very quick, easy and painless and there is support for both voice and text transmission.
    1 point
  23. I released a MTA version back in January of this year that was compatible with FLA. The only limit that was not resolved was the ID limit relating to the 16 bit limit(IDs couldnt be over 32767). I am currently working on a new version and with Fastmans help we were able to resolve the 16 bit limit(FLA 4.1+). Based on experience making the standard MTA code compatible with FLA was rather easy, it mostly included changing hard-coded values(addresses usually) to dynamic ones as suggested by Fastman. My release: http://gtaforums.com/topic/839261-saxvcxlc-mta-compatible-build/
    1 point
  24. لا خلاص يعطيكم العافيه ويعطيك العافيه ماستر لقيت شخص
    1 point
  25. Bravo man prin asta ai dovedit cat de matur esti la 8 ani ! 10 waa! EPIC!
    1 point
×
×
  • Create New...