Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/03/22 in all areas

  1. Hello. I'm just searching for a Scripter and Mapper. Budget is not a problem. Based on the prices I saw on the forum. And I'm not in a hurry, it's a quiet job. There is nothing special about what I order. Except that it is a Spanish-speaking server. I can do the translations personally. It's a role play.
    1 point
  2. No, SQL is not meant to replace element data, it is way slower than element data. What should replace element data is custom lua table using element as indices. SQL is meant to persist data so that (for example) one player can load back his data. Like on an RP server, when someone leaves the server, his position, health, money weapons etc are saved into SQL tables, and when he joins back the next day (or even a month later) you load back his data so he can start from where he left. Element data are only in RAM and are destroyed when the element is destroyed (for player elements, when they leave the server). Element data are hated because by default, they are synced with all clients and the server so if a data is modified, even if only 1 player should care about that modification which is a waste of resources and bandwidth. One should replace them with lua tables and syncing them when needed using triggerServer/ClientEvent so you have control over what is synced and what isn't and its better for performance. Imo if they are used correctly, they are perfect to store data regarding an element on said element using elementData . For example, if I had to implement a trunk system, I'll defintely use elementData to store what is inside the trunk. EDIT: Want to point out again that SQL queries are expensive, for the cell phone example, I would use SQL when the player logs in so I can load all his account data (and so the doIHaveCellphone value) and will call setElementData(player, "doIHaveCellphone", sqlrow['doIHaveCellphone'] or false) and then will only use setElementData to modify it (if needed) during his entire game session. Once the player leaves (or crash, or anything that makes the player disconnect => onPlayerQuit) I'll make the needed SQL queries to save all his data into SQL tables from the elementData. You can't affort to make SQL queries for every data you need to get. Per player it will adds up and you will end making 100+ SQL queries per second with only 25 players and your server will cry. SQL queries are way more expensive than element data.
    1 point
  3. Hi, and welcome to MTA! Unfortunately no, there is no way to directly convert Pawn scripts to LUA. Though there are plenty of open-source roleplay gamemodes available to the public, and plenty of developers that take on paid services. There's an advertisements section called "Looking for Staff", that'll be the place to start if you decide to take the latter route.
    1 point
  4. What's the server about? What sort of RP? You could give more details @pervysage?
    1 point
  5. Thanks. The object is 5993 (lawnmalstripTR) positioned at 1110.89844, -1328.81250, 13.85156 - if you add that into a remove world object code, it will remove the object for you. We will be looking at updating the collision patches shortly
    1 point
  6. An new version on the test resource is getting a little bit out of hand in my local server. ? Creating a 101 aircrafts With very very little network usage. With very little Lua performance impact because of the similar method of the test resource. (This sample resource will be available on the community if there are more people interested in it)
    1 point
  7. LIBERACIÓN DE GM DE COLORADO ROLEPLAY Buenas noches, comunidad de MTA. El día de hoy me gustaría realizar la liberación de una antigua GM realizada por mí para mi servidor Colorado Roleplay, el cual cerró hace ya un año o incluso más. Tras el cierre, la GM fue vendida a un fiel usuario del servidor. Lamentablemente, la GM le fue robada de su hosting por un usuario llamado Rydex (Rydex, Vaydex, Darko y mil cuentas que tiene), el cual se ha dedicado a revenderla a más no poder (además de engañar a no se cuántos proyectos diciendo que era scripter y lo único que hacía era decir que su PC estaba roto y necesitaba dinero para arreglarlo, pidiendo dinero así a la propia comunidad). No he podido llegar a ningún acuerdo con nadie, ni siquiera con el equipo de MTA, por lo que mi última opción para dejar que esto siga rulando y revendiéndose es liberándola definitivamente tal y cómo se está vendiendo ahora (con la mayoría de recursos totalmente compilados). No voy a dar ningún tipo de soporte ya que al fin y al cabo, es una GM que fue robada y la libero para que no se siga estafando a la gente. Espero que se pueda comprender. Esta GM nunca se vendió ni compartió sin compilar. La versión vendida y robada fue la versión compilada por lo que "nuevas versiones" o versiones sin compilar no existen. Los scripts más importantes o que más caracterizaban al servidor están compilados y nadie (excepto yo) tiene la versión sin compilar de ellos. Que nos os engañen. FOTOS DEL SERVIDOR DESCARGA Link de descarga: https://www.mediafire.com/file/94xelwh9h4ovzi0/CRP-11-07-2019.rar/file Que la disfrutéis. Tened cuidado a la hora de comprar GM's baratas y movidas. Suerte.
    1 point
  8. ★ Multi Theft Auto Wiki - الويكي ★ السلام عليكم ورحمة الله وبركاته ≔≏≕ الويكي يعتبر المرجع الأول بعد ويكي لغة لوا في برمجة لوا داخل ملتي تيفت اوتو فهوا المرجع الاساسي للإتطلاع على كيفية عمل "سكربت" او "ريسورس" وايضاً استخدام و عمل الوظائف والعناصر, فالويكي يتضمن الفنكشنات "الوظائف البرمجية" و الالمنتز وايضاً الايفنتز .او "الاحداث" بصيغة عامة ≔≏≕ :الترجمة الحرفية لمحتويات الويكي ≔≏≕ الرابط
    1 point
  9. آتمنى لو كان الويكى معرب بالكامل كان هيسهل كتير على الناس شكراً على الشرح
    1 point
×
×
  • Create New...