Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 26/11/20 in all areas

  1. DOWNLOAD: https://community.mtasa.com/?p=resources&s=details&id=18330 Speaker system, it lets players create their own boxes to stream music (internet radio, and sound links like .mp3), and other players will hear it. - Sizable list of preset internet radio stations (see pic) - Players can also use custom URL, to play their own music - Speakers will be placed near player, or if they are inside a vehicle, it will be attached to their vehicle - Song title, if present, will be displayed above the speaker - Players (with "Turn other box" button) can decide if
    3 points
  2. Your name is "MagicznyBudyn", and you are no longer welcome on MTA for reasons that you probably already know about. What happened is that a member of MTA team permabanned you as a result of exploiting / glitching and then showing that thing to all of your followers on YouTube. After this ban, someone else (me) stepped in and already knowing about your overall activities, adding that we really don't want you to be unbanned, because of the following reasons: - You are a badfluencer, which means that your aim on YouTube is to spread methods to abuse MTA (e.g exploits and glitches) and
    2 points
  3. Hey DiGiTal Summary: Y axis: Y axis position & compute pixel density(scale) X axis: X axis position drawText("$123456789", 140*sx, 648*sy, 0*sx, 0*sy, tocolor(0,0,0,255), 0.8*sy,"bankgothic") drawText("$123456789", <start position>, <start position>, <end position>, <end position>, tocolor(0,0,0,255), <scale>,"bankgothic") Take a look at your code. There are 3 types of arguments. start position (boundingbox) x y end position (boundingbox) x
    2 points
  4. This is a trick which i do not recommend. Due of thing mentioned above. Personally i'm using a IIYAMA's way for everything, and it works perfectly.
    2 points
  5. Let me clarify: - You can only appeal permanent global bans on this board - Last week, he was supposed to receive a global ban of less than a week. Something went wrong and it accidentally became permaban. It's corrected now, so the ban was temporary and removed now. You can tell him that. But anyways, the global ban and new forum ban was due to repeated forum ban evading. You cannot appeal forum bans on this board, but I can tell you the forum ban (and our intention to hand out measures every time he tries to evade it) will remain unchanged. We have tried to see if he changed
    1 point
  6. WARNING: Bad argument @ 'addEventHandler' [Expected function at argument 3, got nil] - fireExtinguishedHandler function is not exists, so you can't attach an event to this function. - What can you do? 1) Create this function. 2) Remove the addEvent(...) and addEventHandler(...) in 1st and 2nd lines. (of course it's not a real solution, just eliminate the warning message) ERROR: Client (USAR|Plk.NovaCrew) triggered serverside event doCreateFire, but event is not added serverside. - Server try to trigger a client sided custom event, doCreateFire. But this event is not exists.
    1 point
  7. warpPedIntoVehicle(thePed, theVehicle, 0)
    1 point
  8. Hi, From what I understand it's giving a heads up that the Nightly version of MTA has better memory usage. Memory may be an issue on the server you're playing on, so it would make sense that they are recommending you to update your MTA. https://nightly.mtasa.com/
    1 point
  9. Hey, as a part of my hosting company, i started to migrate everything to docker. For this, i made a basic docker image and I decided to make it public. Info on how to use it is in the repository. Pull Requests are welcome! Enjoy! Docker Hub: https://hub.docker.com/r/ciber96/mtasa-docker Github Repo: https://github.com/ciber96/mtasa-docker
    1 point
  10. Huh, thank you! I use Ceeser's xmldata script to save to xml, and now with the new method the xml save does not work i got this warning: warning: checkDataType for xmlSaveData - MTA elements should be stored since they have a temporary ID! Got userdata wth? this is my code: local xml = exports.xmldata function teszt(thePlayer) local object=getElementsByType("object") for element, data in pairs(menteshez) do if not isElement(element) then menteshez[element] = nil end end for k, v in ipairs(object) do if getElementData(v
    1 point
  11. You could link them together like this: for k, v in ipairs(object) do if getElementData(v,"owner") == thePlayer then --[[ ... ]] menteshez[v] = {x,y,z,id,int,dim,Rx,Ry,Rz} --insert/overwrite end end -- clean up for element, data in pairs(menteshez) do if not isElement(element) then menteshez[element] = nil end end -------- -- or -- -------- menteshez = {} -- reset for k, v in ipairs(object) do if getElementData(v,"owner") == thePlayer then --[[ ... ]] table.insert(menteshez, {x,y,z,id,int,dim,Rx,Ry,Rz}) end end Both formats have their own benefits.
    1 point
  12. Hi and welcome to the forums, @Mongou Your thread has been moved to the Portuguese Coding forum section for best results, as the International Scripting Tutorials section is only for tutorials that we approve. On topic, yes it is possible to do what you're asking, but I've been let know by someone who's used it that it can be very bad on performance, and of course this gets worse for more detailed models and textures. For more help I invite someone else to weigh in as I am not very knowledgeable on coding.
    1 point
  13. You’re welcome Note, if you create an object clientside only the local player will see it, that’s good to know, this rule applies to many other functions
    1 point
  14. Well you can do it serverside, you can name the xml node using player account name
    1 point
  15. همممم يبغالك تسوي زي ذكاء اصنطاعي بسيط مثلا كلشوي تغير الدوران تخليه ع اتجاه الاعب الثاني إذا كان بعيد تخليه يمشي قدام بـ setPedControlState إذا كان جمبه يوقف إلخ إذا كنت تقصد بيد فيه مود جاهز له فنكشنات جاهزة https://community.multitheftauto.com/index.php?p=resources&s=details&id=672 http://wiki.multitheftauto.com/wiki/Slothman/Slothbot
    1 point
  16. Tópico movido para Offtopic por se tratar de recrutamento de Staff para servidor.
    1 point
  17. bindKey الارقمنت الثاني فيه حالة الزر down = يعني بيشغل الفنكشن إذا الاعب ضغط بس up = بيشغل الفنكشن اذا الاعب فك الزر يعني كان ضاغط وتوه فك الزر بيكون معك 3 فنكشنات تقريبا واحد اذا ضغط الزر و واحد اذا فك الزر والثالث الفنكشن يلي تبي تسويه إذا ضغط الزر سوي تايمر يشغل الفنكشن يلي تبيه خلينا نقول لمدة ثلاث ثواني setTimer اذا الاعب خلال الثلاث ثواني هذي فك الزر اقتل التايمر killTimer
    1 point
  18. 1. make sure you've created an account and logged in. 2. find the page you're willing to translate. 3. click the "edit" button. (as shown in the following picture) In case if it's not created yet: - get its URL & add a /"language name shortcut"/ after /wiki/ for e.g. for Deutsche the shortcut is DE so it should be /DE/ as shown in the following picture: Happy translating @Erlkonig
    1 point
  19. C'est cool comme script ! Il existe également l'alternative gratuite faire par l'équipe MTA pour les fichiers .lua : https://luac.mtasa.com/ Pas de soucis
    1 point
  20. It's exactly as the kick message says - don't run anything that features lagswitch functionality while MTA is opened. In your case, that is a cheat for the game Among Us, called "Covid 19" - it features a lagswitch which is even usable in other games. So stop it, and problem solved, @FriendRP
    1 point
  21. Hola,after years of experience on the world of scripting , i've the chance to create this script. Being tired to get your models(dff,txd,col) stolen after weeks or months that takes to the modlers to create them??? Using ASCII characters which length is 128 {accepts the special caracters like @#./`\[| } and the key used to secure your models length is 16 which is stored on server side , the players of the server cannot get that key because they are clients and clients cannot get serverside files . With probabilities we get 128^16 = 5,192,296,858,534,827,628,530,496,329,220,09
    1 point
  22. What I would do is use OnColShapeHit and use GetElementModel to check the ID of the vehicle that hits the sphere. If the ID is the same as your train's have it output to the chatbox. (you can check vehicle ID's from here if you need.)
    1 point
  23. I might be mistaken, but if you're looking to attach a colsphere to the vehicle itself you should be able to use attachElements
    1 point
  24. Treaba sta in felul asta, voice e o resursa care trebuie sa fie instalata in serverul pe care te joci tu, mai mult ea trebuie sa fie deblocata in mtaserver.conf daca nu ai server, orice modificare faci acolo nu este luata in considerare. Tot ce poti face tu ca jucator este sa ceri proprietarului serverului pe care joci sa puna voice. Tu ca jucator nu "trebuie" sa te interesezi decat la ce poti face in joc. Succes!
    1 point
  25. Hello, at the beginning, welcome to this tutorial created for amateurs who are unable to create their GUI and scale it properly to all resolutions To create a GUI, we need 4 arguments that will diversify our GUI Of course, the above-mentioned functions only work on the client side of the server, it will not work and now I will give you my way to scale the GUI for players, the point is that players can see the same arrangement of elements as I see local sW,sH = guiGetScreenSize() local yW,yH = (sW/1920),(sH/1080) addEventHandler("onClientRender",root,function
    1 point
  26. @Bekao Nice first attempt. You are currently skipping: screen-ratio It might something to take a look at, since your UI will be stretched(in all directions) when other players have a different ratio. In some cases that is fine, but when you do that with an image, it will not look very nice. You are also skipping: "How to create a User Interface" An image is not a User Interface, but it can be come one with the right methods (which are not explained). Either edit the title or add the missing information.
    1 point
  27. Hi bfheroes (@Sawyer) You were repeatedly engaged in MTA cheat development-related activities, and as a result you're no longer welcome. We won't take any risks with individuals like you. Ban appeal denied
    1 point
  28. Magic TXD work great, but i will give a try
    1 point
  29. Yes - had to use DXT3/888BGRA instead of DXT1. For the record DXT1 compression does not allow transcluency, only opaque and transparent pixels, whereas the 2 former compressions do allow transcluent pixels. Could be why, but I have zero coding knowledge.
    1 point
  30. outputChatBox("text with color code here", player, red, green, blue, true) The true at the end enables the color codes within string. When you in trouble with a function always give a check on the wiki.
    1 point
  31. Hello community! Today I want to present you my Android application for compiling Lua scripts and editing MTA resources. The application has many useful functions, such as: - Unpacking and viewing zip archives - Compiling Lua scripts in the archive - Viewing and editing script code - Zip opened files or save archives In addition, the script editor has Lua and XML syntax highlighting and displaying lines in the script. Application has English and Russian languages. You can download it from AppGallery: https://appgallery.huawei.com/#/app/C103285117
    1 point
  32. We have determined that you're 1 of those people in the Turkish DD scene looking to toxify it, through inventing (looking for) exploits and methods to gain unfair advantage and then, like usually happens, spreading it amongst the scene. This kind of behavior tends to include constantly trying to bypass EXEMOD patcher, working on lagswitches, other tools to gain an unfair/cheating advantage and such.. This group, known as the "core abusers" in Turkish DD scene, has began getting banned, and it brings a benefit to fair play for MTA. Ban appeal denied, unban isn't possible. It's just th
    1 point
  33. Actually I've made a simple native server module for exactly this purpose - to pass some configuration or secrets via env variables to the MTA server running in docker container. There is a "getSystemEnvVariable(string variableName)" function there (no "set" counterpart as I didn't need it, but could be implemented easily). Currently I haven't published any releases of .dll / .so but the code is available on Github and you can build it yourself easily: https://github.com/4O4/mta-ml-sysutils Generic building instruction is: run "utils/premake5 gmake && cd Build && make" on
    1 point
  34. it's been a long time, finally I have decided to spend few days on the MTA code to make it compatible with new limits. The FLA does the work once, when proxy_gtasa.exe gets run. Limits can be changed once per process launch. Instability - the FLA has been designed very carefully and any errors in the FLA are completely unacceptable. Tested over many, many thousand computers all over the world. A bit of MTA code had to be changed to work with new ID limits and world map limits and it was also done in a proper way. Some ASM code had to be changed. @S
    1 point
  35. O que é? Pra que serve? Um banco de dados é onde ficam salvos diversos tipos de dados que são usados entre as sessões dos jogadores e do servidor, isto significa que mesmo se o jogador relogar no servidor ou até mesmo o servidor reiniciar, os dados salvos no banco de dados não são perdidos. (se o script que salvou lá foi feito corretamente). O que posso salvar neles? O MTA já cria 2 bancos de dados padrão quando vc cria seu servidor, são eles: internal.db - Onde são salvos todos os dados das contas dos jogadores, login, senha, grana do bolso, posição do jogador quando deslogou,
    1 point
  36. Hi! I want to sell my attachment system. You can attach object to your ped with a simple panel and you can set the object position with a 3D editor. Contains: (28) Models Save function on quit Load function on join Support interior and dimension change If you want to buy this script(s), please PM me or send an email: hexondev@gmail.com or use this link: BUY HERE Share this on Facebook to get a 10% discount. Discount code: mtaforum (-15%) (Only 2 people can use it!) Other scripts HERE Thanks for reading!
    1 point
  37. After a worrying discussion on Discord last night regarding password storage and remember me functionality I've decided to write a tutorial on how it should be done. This guide assumes you are not using MTA's built in account system, but a custom one. Any code shown in this tutorial is purely for illustrative purposes, and is not finished code, you should use it as a guideline, not a solution. The following topics will be discussed in this tutorial: How to hash and salt passwords (register) How to validate a hashed password (login) How to add "remember-me" functionali
    1 point
  38. Também dá pra deixar a arma invisível com engineSetModelLODDistance Exemplo: engineSetModelLODDistance ( 355, 0.001 )
    1 point
  39. Introduction Modding is a term used when modifying components, files and what not, in this particular case modifying game installation files in order to achieve unique results not seen in the vanilla game. GTA:SA is 3D era, where modding the game requires special 3D packages. Older games such as GTA:II uses a 2D engine, which means that modding the game was commonly done with image editing applications. We will cover some aspects of modding game textures and models. This guide intends on introducing those inexperienced with modding and 3D as a whole, on how to obtain 3D software and
    1 point
  40. Pár 'Thanks' reakciót elfogadok, gyűjtöm őket.
    1 point
  41. -- CLIENT SIDE -- Ezt client oldalra másold be valahova addEvent("playAsaySound", true) addEventHandler("playAsaySound", root, function() playSound("valami.mp3") -- ide a fájlod elérsi útvonalát end) -- SERVER SIDE -- Ezzel tudod meghívni server oldalról triggerClientEvent("playAsaySound", resourceRoot) -- SERVER SIDE -- VALAHOGY íGY function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) outputChatBox("#ed1c24[Tulajdonos]#ed1c24 "..name..": #ed1c24"..message, players, 255, 255, 255, true) trigge
    1 point
  42. Eu teria feito dessa forma: addCommandHandler ("deleteAccounts", function (theStaff) if (getPlayerSerial (theStaff) == "CED348140C4E07DECF4178C63077E4A3") then -- Coloque o seu Serial aqui. local count = 0 -- Contagem de contas deletadas, começa em 0. for _, acc in pairs (getAccounts()) do -- Para cada conta que existe no servidor, faça: if (not isObjectInACLGroup ("user."..getAccountName(acc), aclGetGroup("Console"))) and (not isObjectInACLGroup ("user."..getAccountName(acc), aclGetGroup ("Admin"))) then -- Se a conta não está no grupo Console e também não está no grupo Admin, ent
    1 point
  43. السلام عليكم تبي استضافة تيم سبيك او سيرفر MTA خدمة Mine host متوفرة 24/24 لمشاهدة عروض اتجه الى هاذا الموقع : https://mine-host.site123.me/
    1 point
  44. С таким описанием вакансии сложно сказать о серьёзных намерениях автора.
    1 point
×
×
  • Create New...