Jump to content

Leaderboard

Popular Content

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

  1. guiGridListSetItemColor guiGridListGetItemText guiGridListGetSelectedItem triggerServerEvent -- getElementPosition createVehicle
    2 points
  2. Settings are in MTA\config\coreconfig.xml
    2 points
  3. 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
  4. Happy Spring Break! We have got a new release for you - Multi Theft Auto: San Andreas 1.5.4! This release includes security updates for the server that protect both you and us, so we recommend all server owners to upgrade as soon as possible - see the steps below for tips on that. Failure to do so may affect your server's visibility on the Master Server List in the ingame server browser. Aside from security fixes, there are some feature updates in this version for the client as well, so regular players are more than welcome to update. What do you need to do to upgrade your server properly Stop your server, then upgrade your server binaries like usual. You can also upgrade your server resources if you use any of the default MTA:SA ones. Start your server, and when it is running, stop your server again (This will step will ensure mtaserver.conf is upgraded) Edit your mtaserver.conf file, and find <owner_email_address> (it should be just below the <servername> parameter) and insert a valid e-mail address that we can use to contact you, should there be an issue with your server. This e-mail address IS NOT visible publicly and will only be used for means listed earlier. That is, only if those occur. Save the mtaserver.conf file, then start your server again. Release Highlights Authorized Serial Account Protection is now enabled by default. To put it simply, this feature prevents players from logging in to an account on the server if their serial differs from the serial associated with that account. Naturally, this feature is configurable so you can restrict it to specific account groups and you can authorize more than just one serial for a specific account. You can also disable this in the mtaserver.conf file if you are sure you do not need the feature. Database Credentials Protection is now enabled by default. passwordHash() & passwordVerify() can now be used to store and verify passwords securely and efficiently fetchRemote() now supports parallel downloads with the queue name parameter setWorldSpecialPropertyEnabled() now has settings for "sniper moon", "random foliage" and "extra air resistance" New scripting functions: get/setVehicleLODDistance() setElementDimension() now supports element omnipresence, which means that an element can be in all dimensions at once fixes for weapons/fists desync Corona markers should now have a correct attach offset position SQLite or MySQL no longer makes the server freeze if the connection is lost (#9520) Goggles no longer stay after player was killed (#9477) updates for CEF and other dependencies and redists fakelag command for testing sync issues fixes for some crashes and improvements for error handling for installation and startup issues removed max password length limit for server account passwords added server option to allow locally modified (gta3.img) vehicles added world special property "extraairresitance" to remove speed limiter on certain road sections (#7546) resource pack: various changes in acpanel, editor, freeroam, killmessages, playerblips, race and webbrowser ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r10623 upwards). List of changes to the resource pack can be found here (starting from and including Oct 29, 2016 upwards). Want to download MTA:SA 1.5.4? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with the 1.5.3 (also 1.5.2, 1.5.1 and 1.5). If you use these versions, then you may as well upgrade to the newest one. Credits for this release: 4O4, Arran, Dutchman101, einheit-101, Fernando, lopezloo, Necktrox, next, Noki_, qaisjp, ZReC ^ (Have you contributed to MTA:SA 1.5.4's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added ASAP) ^ Oh, and did you know that we have got our very own Discord server now? Click here for details on how to join our server. Take care. -- MTA Team
    1 point
  5. table = {} isElement destroyElement
    1 point
  6. table = {} بالجداول table[element] = createVehicle(...)
    1 point
  7. Explain what u want in briefly were u want to start server Vps?what faction ?
    1 point
  8. The basic idea is the same. Use this as an example and edit it to be with the maths you showed in screen shot instead of the random letters: https://www.mediafire.com/download/k5cyc67jocjtdxt
    1 point
  9. addEventHandler("onCleintGUIClick",root, function () if source == buton then guiSetText(buton,"Freeze") triggerServerEvent("GUIFreeze",localPlayer) else guiSetText(buton,"UnFreeze") triggerServerEvent("GUIUnFreeze",localPlayer) end end) تفضل اخي الكود تقدر تغير مش مجرب
    1 point
  10. if guiGetText(....) == "freez" then guiSetText(...,"unfreez" else guiSetText(...,"freez") end ? (♥ω♥*)(◍•ᴗ•◍)❤(●♡∀♡)(。♥‿♥。)(●♡∀♡)
    1 point
  11. Pretty vague question but if you mean a resource called like that which you THOUGHT existed; it does not. but I suspect you mean a text editor to edit/write MTA scripts (.lua) for that I would advise using ''Notepad++'' (https://notepad-plus-plus.org/download) because of its versatility.
    1 point
  12. استخدم الايفينت onVehicleExit or onVehicleStartExit
    1 point
  13. https://wiki.multitheftauto.com/wiki/OnClientElementColShapeHit
    1 point
  14. For test videos, you can run a simple script file that'll assign LODs to all of them then, later on, create the low poly ones.
    1 point
  15. function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] end end return iter end function aktualizujKontakty() lista={} for i,v in ipairs(getElementsByType("player")) do if v~=localPlayer then lista[getPlayerName(v)]={v,getElementData(localPlayer,"PW:"..getPlayerName(v)) or ""} end end end function wyswietlKontakty() guiGridListClear(gridlist[1]) for i,v in pairsByKeys(lista) do -- see this line r=guiGridListAddRow(gridlist[1]) guiGridListSetItemText(gridlist[1],r,1,skipColorCode(i),false,false) guiGridListSetItemData(gridlist[1],r,1,i) if nieodczytane[i] then guiGridListSetItemColor(gridlist[1],r,1,0,255,0) end if zablokowany[i] then guiGridListSetItemColor(gridlist[1],r,1,255,0,0) end end end This will sort table by key and will add players automatically
    1 point
  16. Edited 1 hour ago by L3yr Like this يا انه معدل يا انه كان يبي يكتب L3yr4 ------- function L3yr2 ( ) local acc = getPlayerAccount ( source ) if ( acc ) and not isGuestAccount ( acc ) then setAccountData ( acc, "scoreData", ( getAccountData ( acc, "scoreData" ) ) or 1 ) end end addEventHandler ( "onPlayerQuit", root, L3yr4 )
    1 point
  17. L3yr4 مافي وظيفة كيف ماطلعلك غلط
    1 point
  18. المود طويل وتحتاج خبرة بالسكل او قواعد بيانات- عشان تنشئ عصابة او تجيب الخ .. setElementData getElementData .... ... .&..-.- H fvdjssiz 7383873
    1 point
  19. So... there are a lot of ways, you can make a Gang system with territory, you can use grups, element data, sql, acl and the method depends on the environment you make this system. So... think a bit more about this, explain it and then you might get HELP.
    1 point
  20. A zone capture i guess
    1 point
  21. وش شارب انت متاكد من قراارك د وشغل حق سيرفرك وتعب!!!
    1 point
  22. If I were you, I'd make a script on client side, with what I'd check the vehicle's turn velocity on it's y axis on every frame, and if it's bigger than X then apply a little bit more to it. The other thing. Turn velocity is basically spin. So resetting that means you set it to 0. getVehicleTurnVelocity() setVehicleTurnVelocity()
    1 point
  23. السلام عليكم اهنيك يا بطل بالتوفيق لك و لسيرفرك
    1 point
  24. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله تعالى وبركاته اليوم جايب لكم شرح تفصيلي فيه ناس جات سكايب وتسأل ابي مود الي يكتب ف اليمين هو مو مود هو تعديل بسيط تابع أول شي تفتح المود الي تبيه بعدين تدور على outputChat وهذا مثال ل الكود ذا outputChatBox("#00FF00[تم تشغيل الطيران بالسيارة]",255,255,255,true) هذا هو الكود لاحظو في الاول مكتوب outputChatBox كيف نخليه ع اليمين ؟؟ اول شي تمسح كلمة outputChatBox وحط مكانها exports.killmessages:outputMessage كذا بيصير exports.killmessages:outputMessage ("~| (F7) آلرجآء من جميع آلزوآر + الأدمنية قراءة الشروط والقوانين |~" ,255, 255,0,true ) ملاحظة : لازم تشغل المود killmessages عشان يطلع لك الكلام ع اليمين وهذا كان شرح اليوم والسلام عليكم ورحمة الله تعالى وبركاته
    1 point
×
×
  • Create New...