Search the Community

Showing results for tags 'roleplay'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 112 results

  1. Here are some details about the RWS Server - Available jobs in the server: - Officer job officer - Farmer function - Fireman Job - Fish trap function - Mechanical function - Physician function - Miner job - Cleaner function - Bus driver function - Truck driver function - Woodcutter function - Factory worker function - FBI function - Military function (army) - Pilot job ------ How do I get one of these jobs? First you go to the job place you specify via F4 After 2 press F11 to receive a specific Line position - After two days walk with the red line to you was determined to go to the place of the job - After that opens a panel with information about the job and how it works After this Congratulations Congratulations you become an employee take your car or depending on the nature of work --- Some general explanations How do I change the language to Arabic instead of English? Go to F1 and enter on Server Settings Choose Arabic and then Save and Congratulations ------------ How to take a driver's license? Press F11, and go to the D marker - There will be 2 training and 1 final test The first training would have a specific share for you if you came out of it The second training If you skip the signal or line that you have chosen to return The test re-training the former if a small error was missed once again from the first training - Side of some images on the server ----- Some side effects of the server: There are fats + salts, obesity and others If your fat is high You'll be fat, of course, and you'll need a sport - There is a shop in the server and you can build a house full of this shop - There is a system of shops incomplete, you can buy goods for your hand and you will receive within 24 hours By closing some of the information you may be interested in: - mtasa://134.119.177.122:22003 -contact@neutrinox.co - The server was opened the first time 2012 (on behalf of the second) and was changed to RWS2014 -------
  2. Hey guys, I am part of a team that are aiming to get feedback from the roleplaying community of MTA, or those who have any sort of roleplaying background from similar sort of games. The point of the survey is to see what people think of roleplaying communities and servers that have popped in the past, and those that are currently present. Overall with the previous roleplaying communities that have cropped up in MTA, not many have stuck around and generally lasted a few months, if not weeks. We are planning on releasing a new roleplaying community over the coming months that is built from the ground up, using scripts that have been in development over the past few years and never publicized. It would be really great if we can get as much feedback as possible to ensure that we begin the right way, and that is getting the feedback of the community, especially those who have past roleplay experience - we want to revolve our server around what the players want. The survey takes only a few minutes, it is completely confidential and will only be reviewed by a small team. Link To Survey: https://goo.gl/forms/r3JMKsuZb6rLOmya2 We want to make it absolutely clear that this community will revolve around what the players want, and giving each and everyone a fair chance just as the next. We promise the most healthy criminal roleplaying biome, and a fair share of concentration put into legal roleplay to keep everyone happy. Past and present communities in our opinion have failed in keeping all sides happy, or focusing too much on one end, this is where the voice of the players will help in making sure we stick to the right track. A system will be put in place to ensure continuous development of the community and community rules based on player feedback to maintain stability and prevent an unhealthy or provocative environment. At the end of the day, we roleplay for fun and a lot of communities in the past have lost touch with that grasp and it has become too much about competition, assets, social status, or superiority over another. This topic should serve as a discussion ground for what you think about a new community being started. Considering the fact that MTA is an old game and we're seeing GTA:V clients in continuous development, do you think it's still possible for a new community to take off? Is a new roleplay server ideal for MTA, or are you comfortable with what there already is? What would you like to see in a roleplay server that hasn't been attempted before, or previously never worked out? What are your experiences with roleplaying on MTA? What did you like/dislike? Thanks for reading!
  3. Muy buenas, hoy les vengo a mostrar un proyecto en el cual he estado trabajando hace algunas semanas, un servidor Roleplay. El servidor cuenta con trabajos, casas, clanes, turf, VIP, sistema de vehículos, shaders realistas de bajos recursos. Antes de empezar a describir las cosas que tiene el servidor, quisiera dejar en claro que está en CONSTANTE mejoramiento. Dicho esto... Trabajos: -Taxista. -Conductor de trenes. -Conductor de autobús. -Barrendero. -Médico. -Piloto. -Pescador. -Ladrón. -Policía. -Mecánico. Compras: Vehículos, casas, clanes, armas, comida, reparo de vehículo. Sistema de clanes, sistema de casas, sistema de vehículos y mejoras, sistema de robo, panel del servidor (de usuario), Pay'n'Spray, turfing. Extra: Shaders. sistema de mensajes privados con número de ID (NO con nombre de jugador). Gimnasio (estilo de pelea) Cambio de skin (tiendas binco) Clues, (maletínes random, con pistas). PayDay. Banco (depositar, extraer, transferir) GHOSTS: Mucha gente dirá que esto no tiene mucho que ver con servidores RPG, pero anda, que hay que agregar algo irreal y divertido que sino, pa algo está la vida real jaja, es broma. El sistema de ghosts es realmente muy sencillo, puedes ir a Verdant Meadows y matar fantasmas, ganaras POCO dinero, puesto que no es la idea vivir de esto. IMAGENES Contacto e información: Nombre: ✘ | RolStar 1.0 | Roleplay ES 24/7 | Latino | Trabajos | Clanes | Turf | Eventos | RPG | ✘ IP: mtasa://45.58.126.46:22033 Muchísimas gracias por tomarse el tiempo de leer y espero apoyen mi proyecto, saludos y buenos días, tardes, noches.
  4. Предисловие: Давно еще думал,году там в 2011м играя на всяких самп рп,как бы выглядел рп сервер в мире пост апокалипсиса,вдохновляясь играми вроде дейз,сталкер,фаллаут.И был уверен что такой сервер увидит своё рождение.И что-то вроде того и увидело,такие проекты как ластлайф,сектор 2 и просто серверы дейз МТА.Но мне по факту Дейз'а в МТА хватает минут на 15,при любом раскладе,будь то полный лут и куча друзей,либо же смерть за смерть,а в сампе меня просто не устраевает функционал игры.Проблема в том что в МТАшных Дейз не хватает развития,ты просто лутаешь ради лута,и всё.А на проектах по типо ластлайф и сектора просто кривовато всё,и странно ввиду того что это самп,и дух пост апокалипсиса тяжело передать даже с маппингом и ветерсэтом,и я стал размышлять о сервере который возьмет в себя всё хорошое с проектов для выживания,и не будет представлять себя тупые пострелушки ради лута,либо ради того что-бы доказать,мол:"я тебя убил ха-ха" и вот около 2х месяцев,стал думать о том как должен выглядеть сервер который вобрал бы в себя и выживание и РП,ну и выдумал баланс,вообще смысл и тд,объясню на поверхности об особенностях сервера,но всё дописывать не буду(И оно понятно почему). Сервер: В изначальной идеей планировал сделать открытыми все 3 города,но ввиду того что скорее всего первое время,даже с рекламой людей будет не особо много,да и пост апокалиптический мир и не нуждается в 1000+ игроках,решил оставить на первое время только Лас Вентурас и его окрестности(Деревни).Но не от количества повышения онлайна на сервере будут открываться другие города,а при определенном выполнении тайного квеста.Таким образом любые игроки которые его пройдут будут известны как герои сервера,а сами города,такие как Сан Фиеро и Лос Сантос,будут покрыты большым уровнем радиации,и ядов.Над самим игровым лором еще думаю,но могу точно сказать что акцент будет сделан не на зомби апокалипсисе,а на выживании после ядерной войны. Изначально будет 2 спауна,спаун для новичков.Зона 51 переделанная по лору под бомбоубежище-Где от различных НПС вы будете ознакомляться с механикой сервера,лором и тд,путём выполнения квестов по работе,и квеста по которому вы выйдите на пустошь,и спаун для более опытных игроков,он будет в рандомном более менее безопасном месте.(Со своим балансом,т.е. в убежище есть оружие и броня,но они имеют слабый урон и прочность,а на поверхости у вас есть больше шансов найти хороший пистолет,броню,одижду и тд.) У игроков будет несколько жизней,убив того или иного игрока из его инвентаря вы сможете взять только 2 вещи(До среднего качества).Когда количество жизней у игрока кончится то из его инвентаря можно будет взять до 5 вещей любого качества.Таким образом,урезав лут с смерти,я думаю что ДМа станет меньше,да и масс дм без определенных отыгровок,либо биографии рейдера будет наказано.Суть всего сервера,не только выжить,но и отстроить новую цивилизацию на руинах старой,а что-бы это сделать,игроки должны будут собираться в группы,но одних групп мало,для создания своей фракции нужно будет сделать специальную процедуру,по заполнению таких пунктов как:1)Название фракции 2)Идеология 3)Дипломатия.Создание фракции поможет вам захватывать новые территории,на которых будут различные ресурсы(вода,провизия,оружие,патроны,броня,одежда и тд.) В своей фракции вы можете отыгрывать любых персонажей,и представлять любые принципы нового мира(В рамках разумного).Баланс по системе с завоеванием территорий уже есть,он готов на 95% но его я оглашу только будущей команде,как и другое. Локации,карта территорий,ресурсов,спавнов,опасных зон и тд есть,и по поводу доната...Я понимаю что если даже сервер можно сделать на энтузиазме,то держать его на энтузиазме долго не получиться,по этому и донатские фишки,которые никак не портят игровой процесс,а лишь дополняют возможности вашего персонажа,либо фракции есть. Послесловие: Буду честен,и не уверен даже что кто-то откликнется,разве что найдется единомышленник,я для начала хотел бы работать на энтузиазме,и по этому,в первую очередь я жду людей,которые хотели бы увидеть данный сервер в стадии - жизни.Я не моддер,не коддер,у меня просто полно идей,которые я сам не в состоянии воплотить,насчет хостинг,первое время у меня есть идея насчет бесплатного хостинга,я знаю кто бы мог мне помочь в этом(тут вопросов нету).Да и деньги хотелось бы оставить,для грамотной рекламы,и у людей которые не испортят аудиторию сервера,приводя за собой недекватов,а наоборот,есть на примете пара таких людей,но боюсь с МТА они не особо связанны.По сути:Нужен в команду человек в состоянии написать нормальный мод,маппер,возможно "скинодел".Думаю такой командой мы в состоянии будем сделать ядерную пост апокалиптическую конфетку,либо как вариант,я могу вступить в имеющуюся команду разработчиков и если им моя идея пришлась по душе,я оглашу её в полной мере,так как я тут затронул лишь поверхность,и написал около 15% имеющегося материала,связаться со мной можно по ссылке в контакте: https://vk.com/g15ya
  5. howdy.i just hosted my server "RP" and i dont know why i cant connect with Mysql.i tired to put Mysql.so and lib in Modules but it didnt work on windows works. If u dont know how to help me i can give my PHP because anything i have there ist special
  6. Community's Website:( http://www.Infinity-Roleplay.com) || Discord: (https://discord.gg/jrSypBY) || Forums:(http://infinity-roleplay.com/forums/index.php) Our community welcomes every roleplayer out there - roleplay veterans, casual roleplayers, even those who have never roleplayed before. Our community is astonishingly active - staff and players will help you if you have any questions, any time of the day. The server has come a long way from it's development launch in June, 2017. During this incredible journey we have had as a community, we have finally found our place, and you will as well. If you don't know where to even begin roleplaying, guess what - that is OK. We will help you through the process of learning, we will guide you into the direction of awesome and memorable roleplay. We're all about being a community, a family. Here, new roleplayers aren't treated in a negative manner. Instead, new roleplayers are treated like students who have a passion to learn and improve. From the very moment you join, you have a way of contacting our staff momentarily in-game and they will answer any questions you need answers to. It's not necessarily staff who can answer your questions either - the vast majority of players will help you with whatever you need help with, you just need to ask. And remember - there are no "stupid questions" in Infinity Roleplay. The server receives constant updates, who are made by talented and passionate developers. Updates are always polished, and if something does break, the developers make sure it is fixed before the majority of the players even become aware that something was broken. Our script is leaning to make a advanced turn with us heading into a great year so far, when compared to other Multi Theft Auto Roleplay servers, which means there is a LOT of stuff to try and do. Our staff is comprised of an active administrator team, vehicle management team, and our support team, which will happily answer any questions or help with technical issues. Anything ranging from Poker to Drug Dealing, from Garbage Delivery to being a Mechanic, from Evading the Police to Chasing a Crook with your Police Interceptor - you will find it here. Alongside the standard government factions such as the San Andreas Sheriff Department and EMS, you will also find opportunities to become a Taxi Driver, a Mechanic or even a News Reporter. There are a ton of different ways you can partake in roleplay, and even more ways to develop your character. If you can think of it - you can do it here. We pride ourselves that we give the best experience possible in Grand Theft Roleplay. We know what features everyone likes to have and what they want to see, throwing in some unexpected ones too. New Updated Help Center For Roleplayers New Updated Right Click Interface & Smooth Dynamic Map Texture For GPS New Updated Scoreboard
  7. Hello guys, i know there are outside ar a lot of people who domt know how to set up a server so i am offering help to those who need it.
  8. Muy buenas gente. Actualmente estoy buscando jugadores de roleplay interesados en participar en el equipo administrativo de un proyecto que se encuentra bajo desarrollo. Para más información pueden emplear las siguientes vías para contactarme: Skype: killer.68x Discord: Simple01#2215 Foro MTA: @Simple01
  9. Hola. Les vengo a recomendar un servidor RolePlayGame (RPG) SANG:RPG IP: mtasa://190.100.29.160:22003 FORO: http://sangrpg.foro.la/ STAFF El equipo STAFF Actualmente esta compuesto por dos jugadores, Podrás encontrarlos en el juego como: SANG>Funs SANG>Rucio SANG>Juan SANG>Moises CONTENIDO En SANG:RPG podrás encontrar una gran cantidad de contenido, como los siguientes Civiles Camionero: Deberás llevar tus Trailes a distintas zonas de San Andreas, La cantidad de dinero Varia según: La lejanía desde donde te encuentres y si la carga es Legal o No. Piloto: Al spawnear de Piloto deberás transportar tu avión a diferentes Aeropuertos en San Andreas, Nuevamente la ganancia de dinero variara dependiendo la lejanía, pero No ganaras estrellas. Mecánico: Tu deber es reparar los vehículos, Los jugadores solicitaran tu ayuda a través del chat. (Hay aun mas trabajos de civil, solo que estos se están modificando u desarrollando, Los podrás encontrar dentro del juego pero no tendrán impacto sobre ti) Criminales Vendedor de armas: Si quieres conseguir dinero de una forma independiente al Houserob (Robo de Casa) Puedes usar el comando /Vender, Distintos criminales o civiles compraran Armamento para Defensa de los Policías. Vendedor de droga: Para vender droga se utiliza nuevamente el comando /Vender, Cada droga tiene su efecto y su precio. Podrás usar Algunas drogas para tu beneficio y otras podrán afectar a tu desempeño como criminal. Ladrón: Con tu arma recibida al spawnear podrás asaltar a distintos jugadores de distintos roles, Sacando le una significante cantidad de dinero, mientras mas "apuntes" con tu arma mas dinero le arrebataras al otro jugador. (Podrás encontrar mas trabajos de criminal dentro del servidor, entra y encuentralos) Policías Hay un una gran variación de policías como, Policía oficial, Policía de transito, Sheriff, Jefe de policía, etc. Pero tu principal objetivo es impedir a los criminales que roben casas, maten, asalten o vendan u compren mercancías ilegales. Con tus elementos dados en el spawn (Tazer, Porra y escopeta) Deberás arrestar a los criminales y civiles que lleven con sigo Estrellas. La cantidad de estrellas que tenga el arrestado influirá en tus ganancias (ejemplo: 46 estrellas son equivalentes a $46.000) Recomendacion Si estas en una persecución fuera de vehículos y el perseguido esta muy alejado de ti y sigue corriendo, aturdelo con la escopeta, esto ocasionara que pare de correr durante unos segundos, Cuando lo tengas mas cerca utiliza tu Tazer para electrocutarlo, Esto hará que caiga por unos segundos. Luego de este proceso cuando lo tengas en tu lugar utiliza la porra, golpealo con esta, así lo mandaras directo a prición. Gangs Son una variante de los criminales, estos estarán mas armados y con mejor equipacion que un criminal normal. Si quieres crear el tuyo utiliza el comando /create e introduce el nombre que llevara. Squads Los Squads o Escuadrones son una variante mejorada de la policía, actualmente no hay Squad operando, si quieres crear un escuadrón utiliza el comando /create y el nombre de este Compañías Estas son una variante de los civiles, con mas herramientas. Si quieres crear una nuevamente utiliza el comando /create y el nombre Fuerzas Élite Esta es una fuerza bélica fuertemente armada encargada de combatir a la fuerza terrorista "Atlant Terrorist" Atlant Terrorist Como se menciono antes, esta es una fuerza terrorista cuyo objetivo es atacar a las fuerzas elite. Gobierno Se encarga de establecer reglas en distintas ciudades de San Andreas, Esta conformado por: Presidente: Es el mayor cargo político, este creara las reglas principales. Vicepresidente: Se encarga de ayudar al presidente para crear nuevas leyes. Alcaldes Las principales ciudades (Los santos, Las venturas y San fierro) Tienen un alcalde al cual se encarga de tomar la decisión de si su ciudad permitirá las leyes creadas por el presidente. Esto y mucho mas en SANG:RPG, Te esperamos hay junto a los jugadores y el equipo STAFF, seras muy Bienvenido. Únete a nuestro grupo de Facebook: SANG:RPG Original. Link: https://www.facebook.com/groups/337541010024256/ Si te quedo alguna duda antes de entrar puedes contactar con el administrador a través de la red social "Facebook" . Te dará un buen y respetuoso servicio. Contacto: https://www.facebook.com/NahuelCerdaGD?fref=gc&dti=337541010024256
  10. Hola, soy un jugador que está en el último año de mi año y todo ese tiempo estoy tratando de hacer un juego de rol del servidor y estoy planeando hacer un servidor. pero necesito un scripter que me haga unos scripts del tipo: Policia Basurero Camionero Taxista, etc. Sistema de venta de vehiculos Y otros scripts mas SI quieres contactarme mi skype es: [AlexLycan] Y si no tienen skype el discord es:https://discord.gg/zQbp3e
  11. 2017 Senesinde Açılmış Olan Mahzen Roleplay'da Kaliteyi İliklerinize Kadar Yaşayacaksınız. Mal Varlıklarınız Tekrar Verilmektedir. Eşit Ve Kaliteli Bir Ortam Arıyorsanız Mahzen Roleplay Tamda Sizlere Göre Hepinizi Bekliyoruz.. Sunucu Sürümü : 1.4 Sunucu Adresi : mtasa://185.132.127.24:22003 Durum : Online Medium Roleplay ! Kamyon,Taxi,Otbüs,Balikci, Gibi Sistemler Sabit'dir Extra Meslekler Eklenecektir Gelip Bir Bakabilirsiniz.
  12. @ I Need A Scripter Roleplay MTA | احتاج الى مبرمج حياة واقعية مُحترف. @ I Will Pay To the scripter If help me | وبدفع اذا ساعدني المبرمج.. @ Thanks "| شككراًء.
  13. How can I add music to the login panel. My english :~, I apologize for this.
  14. Merhaba Türk kardeşlerim. Başlıkta da yazdığı gibi owl scriptleri üzerine login panele nasıl müzik koyabilirim.
  15. Hello I created this program that will detect files/script that may have backdoor commands such as making your self admin if you type it, it is still in an early stage I will keep updating this program so it can find more backdoors. Download Program Thank you
  16. Alguién me ayuda a solucionar el NETWORK TROUBLE?... =( Siempre que refrescan los items me da un lagaso... local h1,h2,h3 = debug.gethook() debug.sethook() timetorefresh = math.random(2700000,3600000) local itemTable = { farm = { { "Madera", 1463, 0.4, 0, 13 }, { "Vendaje", 1578, 0.5, 0, 4 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 6 }, { "Lata de Pasta", 2770, 1, 0, 6 }, { "Lata de Judías", 2601, 1, 0, 6 }, { "Hamburguesa", 2768, 1, 0, 6 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 2.2 }, { "Coca Cola", 2647, 1, 0, 9 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 10 }, { "Cuchillo", 335, 1, 90, 4 }, { "Caja de Cerillas", 328, 0.4, 90, 8 }, { "Revólver", 348, 1, 90, 0.2 }, { "Morfina", 1579, 1, 0, 4 }, { "Tienda de Campaña", 1279, 1, 0, 0.5 }, { "Makarov PM", 346, 1, 90, 4 }, { "Analgésico", 2709, 3, 0, 3.5 }, { "M14 AIM", 357, 1, 90, 0.3 }, { "Remington 870", 349, 1, 90, 0.3 }, { "Rueda", 1073, 1, 0, 2 }, { "Depósito", 1008, 1, 0.8, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Mapa", 1277, 0.8, 90, 6 }, { "GPS", 2976, 0.15, 0, 2 } }, residential = { { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Makarov PM", 346, 1, 90, 1.5 }, { "British Assault Pack", 2406, 1, 0, 1.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 1.5 }, { "Vest Pouch Pack", 2408, 1, 0, 1.2 }, { "M9 SD", 347, 1, 90, 1.9 }, { "Remington 870", 349, 1, 90, 0.1 }, { "PDW", 352, 1, 90, 1 }, { "Cuchillo", 335, 1, 90, 3 }, { "Hacha", 339, 1, 90, 1 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 9 }, { "Bengala", 324, 1, 90, 9 }, { "Leche", 2856, 1, 0, 7 }, { "Assault Pack (ACU)", 3026, 1, 0, 4 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "Granada", 342, 1, 0, 0.01 }, { "Revólver", 348, 1, 90, 0.4 }, { "Escopeta Recortada", 350, 1, 90, 0.3 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 0.4 }, { "MP5A5", 353, 1, 90, 0.4 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 0.3 }, { "Alice Pack", 1248, 1, 0, 1.5 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 0.8, 0, 1 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 9 }, { "Mapa", 1277, 0.8, 90, 10 }, { "GPS", 2976, 0.15, 0, 3 }, { "Lata de Pasta", 2770, 1, 0, 7 }, { "Lata de Judías", 2601, 1, 0, 7 }, { "Hamburguesa", 2768, 1, 0, 7 }, { "Palo de Golf", 333, 1, 90, 3 }, { "Bate", 336, 1, 90, 3 }, { "Pala", 337, 1, 90, 3 } }, military = { { "Caja de Cerillas", 328, 0.4, 90, 2 }, { "Makarov PM", 346, 1, 90, 5 }, { "M9 SD", 347, 1, 90, 4 }, { "Remington 870", 349, 1, 90, 3 }, { "PDW", 352, 1, 90, 4 }, { "Cuchillo", 335, 1, 90, 2.4 }, { "Hacha", 339, 1, 90, 2.1 }, { "Pizza", 1582, 1, 0, 2 }, { "Coca Cola", 2647, 1, 0, 2 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 4 }, { "Bengala", 324, 1, 90, 4 }, { "Leche", 2856, 1, 0, 1 }, { "Analgésico", 2709, 3, 0, 4 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "Granada", 342, 1, 0, 0.5 }, { "Escopeta Recortada", 350, 1, 90, 2.3 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 2.3 }, { "MP5A5", 353, 1, 90, 2.8 }, { "Reloj", 2710, 1, 0, 4 }, { "Bolsa Térmica", 1576, 5, 0, 3 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 3.5 }, { "Alice Pack", 1248, 1, 0, 4 }, { "Visión Nocturna", 368, 1, 90, 4 }, { "Prismáticos", 369, 1, 0, 4 }, { "Rueda", 1073, 1, 0, 2 }, { "Depósito", 1008, 0.8, 0, 2 }, { "Morfina", 1579, 1, 0, 4 -- }, -- { -- "Camouflage Clothing", -- 1247, -- 2, -- 0, -- 4.5 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3 }, { "AKS-74 Kobra", 355, 1, 90, 3.8 }, { "GPS", 2976, 0.15, 0, 3 }, { "Mapa", 1277, 0.8, 90, 7 }, { "Caja de Herramientas", 2969, 0.5, 0, 1 }, { "Motor", 929, 0.3, 0, 2 }, { "Tienda de Campaña", 1279, 1, 0, 4.5 -- }, -- { -- "Ghillie Suit", -- 1213, -- 2, -- 0, -- 0.3 -- }, -- { -- "Ghillie[F] Suit", -- 1213, -- 2, -- 0, -- 0.4 }, { "M4A3 CCO", 356, 1, 90, 2.4 }, { "CZ 550", 358, 1, 90, 0.4 }, { "Visión Térmica", 369, 1, 90, 3 }, { "Assault Pack (ACU)", 3026, 1, 0, 5 }, { "Czech Backpack", 2472, 1, 0, 2 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Coyote Backpack", 1575, 1, 0, 0.9 }, { "CMRA Backpack", 2405, -- ID DO OBJETO QUE IRÁ FICAR NAS COSTAS, E O QUE NÓS IREMOS SUBISTITUIR PELA BACKPACK 1, 0, 5 -- NIVEL DE RARIDADE DA BACKPACK }, { "Army Backpack", 2404, -- ID DO OBJETO QUE IRÁ FICAR NAS COSTAS, E O QUE NÓS IREMOS SUBISTITUIR PELA BACKPACK 1, 0, 5 -- NIVEL DE RARIDADE DA BACKPACK -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Pala", 337, 1, 90, 1 } }, industrial = { { "Alambrada", 933, 0.25, 0, 7 }, { "Caja de Herramientas", 2969, 0.5, 0, 3 }, { "Rueda", 1073, 1, 0, 4 }, { "Motor", 929, 0.3, 0, 3.5 }, { "Depósito", 1008, 1, 0.8, 4 }, { "Remington 870", 349, 1, 90, 3 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 4 }, { "Lata de Pasta", 2770, 1, 0, 4 }, { "Lata de Judías", 2601, 1, 0, 4 }, { "Hamburguesa", 2768, 1, 0, 4 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 10 }, { "Coca Cola", 2647, 1, 0, 4 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 6 }, { "Bidón de Gasolina LLeno", 1650, 1, 0, 1.5 }, { "Mapa", 1277, 0.8, 90, 3 }, { "Reloj", 2710, 1, 0, 2 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 2 }, { "Makarov PM", 346, 1, 90, 1.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 2 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 5.2 }, { "Hacha", 339, 1, 90, 1.5 }, { "Pizza", 1582, 1, 0, 4 }, { "Bengala", 324, 1, 90, 5 }, { "Leche", 2856, 1, 0, 4 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Coyote Backpack", 1575, 1, 0, 0.5 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Palo de Golf", 333, 1, 90, 1.5 }, { "Bate", 336, 1, 90, 1.5 }, { "Pala", 337, 1, 90, 1.5 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Visión Nocturna", 368, 1, 90, 1.5 } }, supermarket = { { "Carne Cruda", 2804, 0.5, 90, 8 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 }, { "Makarov PM", 346, 1, 90, 3.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 3 }, { "Hacha", 339, 1, 90, 2.1 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 5 }, { "Bengala", 324, 1, 90, 6 }, { "Leche", 2856, 1, 0, 7 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Lata de Pasta", 2770, 1, 0, 7 }, { "Lata de Judías", 2601, 1, 0, 7 }, { "Hamburguesa", 2768, 1, 0, 7 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "MP5A5", 353, 1, 90, 0.5 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 0.2 }, { "Alice Pack", 1248, 1, 0, 0.5 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 1, 0.8, 2 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Mapa", 1277, 0.8, 90, 4 }, { "GPS", 2976, 0.15, 0, 1 }, { "Dispositivo de Radio", 330, 1, 0, 6 }, { "Palo de Golf", 333, 1, 90, 1.9 }, { "Bate", 336, 1, 90, 1.4 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 2.5 }, { "Pala", 337, 1, 90, 0.3 } }, other = { { "Carne Cruda", 2804, 0.5, 90 }, { "Carne Cocinada", 2806, 0.5, 90 }, { "Bidón de Gasolina LLeno", 1650, 1, 0 }, { "Cantimplora de Agua Vacía", 2683, 1, 0 -- }, -- { -- "Survivor Clothing", -- 1577, -- 2, -- 0 }, { "Visión Nocturna", 368, 1, 90 }, { "Visión Térmica", 369, 1, 90 }, { "Remington 870 Cartuchos", 2358, 2, 0 }, { "Esc. Recortada Cartuchos", 2358, 2, 0 }, { "SPAZ-12 Pellet", 2358, 2, 0 }, { "MP5A5 Mag", 2358, 2, 0 }, { "30Rnd. AK", 1271, 2, 0 }, { "30Rnd. STANAG", 1271, 2, 0 }, { "Makarov Mun.", 3013, 2, 0 }, { "M9SD Mun.", 3013, 2, 0 }, { ".45 ACP", 3013, 2, 0 }, { "CZ 550 Mag", 2358, 2, 0 }, { "DMR Mun.", 2358, 2, 0 }, { "PDW Mag", 2041, 2, 0 }, { "MP5A5 Mag", 2041, 2, 0 }, { "Caja de Cerillas", 328, 0.4, 90, 5 }, { "Madera", 1463, 0.4, 0, 5 }, { "Makarov PM", 346, 1, 90, 3.5 }, { "PDW", 352, 1, 90, 2 }, { "Cuchillo", 335, 1, 90, 2.5 }, { "Hacha", 339, 1, 90, 1.8 }, { "Pizza", 1582, 1, 0, 7 }, { "Coca Cola", 2647, 1, 0, 7 }, { "Bidón de Gasolina Vacío", 1650, 1, 0, 5 }, { "Bengala", 324, 1, 90, 6 }, { "Leche", 2856, 1, 0, 5 }, { "Assault Pack (ACU)", 3026, 1, 0, 6 }, { "Analgésico", 2709, 3, 0, 7 }, { "Latas Vacías", 2673, 0.5, 0, 12 }, { "Basura", 2675, 0.5, 0, 12 }, { "MP5A5", 353, 1, 90, 1.5 }, { "Reloj", 2710, 1, 0, 3 }, { "Bolsa Térmica", 1576, 5, 0, 6 }, { "Alambrada", 933, 0.25, 0, 1 }, { "M14 AIM", 357, 1, 90, 1.5 }, { "Alice Pack", 1248, 1, 0, 1.5 }, { "Coyote Backpack", 1575, 1, 0, 0.7 }, { "Rueda", 1073, 1, 0, 1 }, { "Depósito", 1008, 1, 0.8, 4 }, { "Morfina", 1579, 1, 0, 2 -- }, -- { -- "Civilian Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Mapa", 1277, 0.8, 90, 4 }, { "Caja de Herramientas", 2969, 0.5, 0, 3 }, { "Motor", 929, 0.3, 0, 3.5 }, { "Remington 870", 349, 1, 90, 2 }, { "Cantimplora de Agua LLena", 2683, 1, 0, 4 }, { "M9 SD", 347, 1, 90, 5 }, { "Granada", 342, 1, 0, 0.5 }, { "Escopeta Recortada", 350, 1, 90, 2 }, { "SPAZ-12 Combat Shotgun", 351, 1, 90, 1.9 }, { "Prismáticos", 369, 1, 0, 4 -- }, -- { -- "Camouflage Clothing", -- 1247, -- 2, -- 0, -- 4.5 }, { "AKS-74 Kobra", 355, 1, 90, 0.9 }, { "M136 Rocket Launcher", 359, 1, 90, 0 -- }, -- { -- "Ghillie Suit", -- 1213, -- 2, -- 0, -- 0.01 }, { "M4A3 CCO", 356, 1, 90, 0.9 }, { "CZ 550", 358, 1, 90, 0.3 }, { "Heat-Seeking RPG", 360, 1, 90, 0 }, { "Vendaje", 1578, 0.5, 0, 4 }, { "Lata de Pasta", 2770, 1, 0, 5 }, { "Lata de Judías", 2601, 1, 0, 6 }, { "Hamburguesa", 2768, 1, 0, 2 }, { "Tienda de Campaña", 1279, 1, 0, 0.5 }, { "Makarov PM", 346, 1, 90, 3 }, { "Revólver", 348, 1, 90, 3 }, { "GPS", 2976, 0.15, 0, 1 }, { "Kit Médico", 2891, 2.2, 0 }, { "Bolsa de Sangre", 1580, 1, 0 }, { "Dispositivo de Radio", 2966, 0.5, 0, 5 }, { "Palo de Golf", 333, 1, 90, 1.9 }, { "Bate", 336, 1, 90, 1.4 }, { "British Assault Pack", 2406, 1, 0, 2.5 -- }, -- { -- "Patrol Pack", -- 2407, -- 1, -- 0, -- 3.5 }, { "Vest Pouch Pack", 2408, 1, 0, 5.2 -- }, -- { -- "Civilian[F] Clothing", -- 1241, -- 2, -- 0, -- 3.5 -- }, -- { -- "Ghillie[F] Suit", -- 1241, -- 2, -- 0, -- 2.5 -- }, -- { -- "Survivor[F] Clothing", -- 1241, -- 2, -- 0, -- 3.5 }, { "Pala", 337, 1, 90, 1.5 } } } weaponAmmoTable = { ["Makarov Mun."] = { {"Makarov PM", 22} }, ["M9SD Mun."] = { {"M9 SD", 23} }, [".45 ACP"] = { { "Revólver", 24 } }, ["PDW Mag"] = { {"PDW", 28} }, ["MP5A5 Mag"] = { {"MP5A5", 29} }, ["30Rnd. AK"] = { {"AKS-74 Kobra", 30} }, ["30Rnd. STANAG"] = { {"M4A3 CCO", 31} }, ["Remington 870 Cartuchos"] = { { "Remington 870", 25 } }, ["Esc. Recortada Cartuchos"] = { { "Escopeta Recortada", 26 } }, ["SPAZ-12 Pellet"] = { { "SPAZ-12 Combat Shotgun", 27 } }, ["CZ 550 Mag"] = { {"CZ 550", 34} }, ["DMR Mun."] = { { "M14 AIM", 33 } }, ["M136 Rocket"] = { { "Heat-Seeking RPG", 36 }, { "M136 Rocket Launcher", 35 } }, ["others"] = { {"Paracaídas", 46}, {"Satchel", 39}, {"Bomba de Humo", 17}, {"Granada", 16}, { "Cuchillo", 4 }, {"Hacha", 8}, {"Prismáticos", 43}, { "Bate", 5 }, {"Palo de Golf", 2}, {"Pala", 6}, { "Dispositivo de Radio", 1 } } } function getWeaponAmmoType(weaponName, notOthers) if not notOthers then for i, weaponData in ipairs(weaponAmmoTable.others) do if weaponName == weaponData[1] then return weaponData[1], weaponData[2] end end end for i, weaponData in ipairs(weaponAmmoTable["Makarov Mun."]) do if weaponName == weaponData[1] then return "Makarov Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["M9SD Mun."]) do if weaponName == weaponData[1] then return "M9SD Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable[".45 ACP"]) do if weaponName == weaponData[1] then return ".45 ACP", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["PDW Mag"]) do if weaponName == weaponData[1] then return "PDW Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["MP5A5 Mag"]) do if weaponName == weaponData[1] then return "MP5A5 Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["30Rnd. AK"]) do if weaponName == weaponData[1] then return "30Rnd. AK", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["30Rnd. STANAG"]) do if weaponName == weaponData[1] then return "30Rnd. STANAG", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["Remington 870 Cartuchos"]) do if weaponName == weaponData[1] then return "Remington 870 Cartuchos", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["Esc. Recortada Cartuchos"]) do if weaponName == weaponData[1] then return "Esc. Recortada Cartuchos", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["SPAZ-12 Pellet"]) do if weaponName == weaponData[1] then return "SPAZ-12 Pellet", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["CZ 550 Mag"]) do if weaponName == weaponData[1] then return "CZ 550 Mag", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["DMR Mun."]) do if weaponName == weaponData[1] then return "DMR Mun.", weaponData[2] end end for i, weaponData in ipairs(weaponAmmoTable["M136 Rocket"]) do if weaponName == weaponData[1] then return "M136 Rocket", weaponData[2] end end return false end function createItemPickup(item, x, y, z, tableStringName) if item and x and y and z then do local object = createObject(itemTable[tostring(tableStringName)][item][2], x, y, z - 0.875, itemTable[tostring(tableStringName)][item][4], 0, math.random(0, 360)) setObjectScale(object, itemTable[tostring(tableStringName)][item][3]) setElementCollisionsEnabled(object, false) setElementFrozen(object, true) local col = createColSphere(x, y, z, 0.75) setElementData(col, "item", itemTable[tostring(tableStringName)][item][1]) setElementData(col, "parent", object) setTimer(function() if isElement(col) then destroyElement(col) destroyElement(object) end end, 900000, 1) return object end end end function table.size(tab) local length = 0 for _ in pairs(tab) do length = length + 1 end return length end function math.percentChance(percent, repeatTime) local hits = 0 for i = 1, repeatTime do local number = math.random(0, 200) / 2 if percent >= number then hits = hits + 1 end end return hits end function createItemLoot(lootPlace, x, y, z, id) col = createColSphere(x, y, z, 1.25) setElementData(col, "itemloot", true) setElementData(col, "parent", lootPlace) setElementData(col, "MAX_Slots", 12) for i, item in ipairs(itemTable[lootPlace]) do local value = math.percentChance(item[5], math.random(1, 2)) setElementData(col, item[1], value) local ammoData, weapID = getWeaponAmmoType(item[1], true) if ammoData and value > 0 then setElementData(col, ammoData, math.random(1, 2)) end end refre:~emLoot(col, lootPlace) return col end function refre:~emLoot(col, place) local objects = getElementData(col, "objectsINloot") if objects then if objects[1] ~= nil then destroyElement(objects[1]) end if objects[2] ~= nil then destroyElement(objects[2]) end if objects[3] ~= nil then destroyElement(objects[3]) end end local counter = 0 local obejctItem = {} for i, item in ipairs(itemTable.other) do if getElementData(col, item[1]) and getElementData(col, item[1]) > 0 then if counter == 3 then break end counter = counter + 1 local x, y, z = getElementPosition(col) obejctItem[counter] = createObject(item[2], x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, item[4]) setObjectScale(obejctItem[counter], item[3]) setElementCollisionsEnabled(obejctItem[counter], false) setElementFrozen(obejctItem[counter], true) end end if obejctItem[1] == nil then local x, y, z = getElementPosition(col) obejctItem[1] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[1], 0) setElementCollisionsEnabled(obejctItem[1], false) setElementFrozen(obejctItem[1], true) end if obejctItem[2] == nil then local x, y, z = getElementPosition(col) obejctItem[2] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[2], 0) setElementCollisionsEnabled(obejctItem[2], false) setElementFrozen(obejctItem[2], true) end if obejctItem[3] == nil then local x, y, z = getElementPosition(col) obejctItem[3] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[3], 0) setElementCollisionsEnabled(obejctItem[3], false) setElementFrozen(obejctItem[3], true) end setElementData(col, "objectsINloot", { obejctItem[1], obejctItem[2], obejctItem[3] }) end addEvent("refre:~emLoot", true) addEventHandler("refre:~emLoot", getRootElement(), refre:~emLoot) function createPickupsOnServerStart() iPickup = 0 for i, pos in ipairs(pickupPositions.residential) do iPickup = iPickup + 1 createItemLoot("residential", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart2, 5000, 1) end function createPickupsOnServerStart2() for i, pos in ipairs(pickupPositions.industrial) do iPickup = iPickup + 1 createItemLoot("industrial", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart3, 6000, 1) end function createPickupsOnServerStart3() for i, pos in ipairs(pickupPositions.farm) do iPickup = iPickup + 1 createItemLoot("farm", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart4, 7000, 1) end function createPickupsOnServerStart4() for i, pos in ipairs(pickupPositions.supermarket) do iPickup = iPickup + 1 createItemLoot("supermarket", pos[1], pos[2], pos[3], iPickup) end setTimer(createPickupsOnServerStart5, 8000, 1) end function createPickupsOnServerStart5() for i, pos in ipairs(pickupPositions.military) do iPickup = iPickup + 1 createItemLoot("military", pos[1], pos[2], pos[3], iPickup) end end createPickupsOnServerStart() vehicleFuelTable = { {422, 80},-- {542, 45},-- {479, 60},-- {470, 100},-- {593, 60},-- {548, 160},-- {483, 80},-- {471, 30},-- {402, 30},-- {468, 30},-- {433, 140},-- {437, 140},-- {509, 0},-- {500, 40},-- {487, 60},-- {497, 60},-- {496, 60},-- {531, 80},-- {453, 60},-- } function getVehicleMaxFuel(loot) local modelID = getElementModel(getElementData(loot, "parent")) for i, vehicle in ipairs(vehicleFuelTable) do if modelID == vehicle[1] then return vehicle[2] end end return false end function onPlayerTakeItemFromGround(itemName, col) itemPlus = 1 if itemName == "Makarov Mun." then itemPlus = 7 elseif itemName == "M9SD Mun." then itemPlus = 15 elseif itemName == ".45 ACP" then itemPlus = 7 elseif itemName == "PDW Mag" then itemPlus = 30 elseif itemName == "MP5A5 Mag" then itemPlus = 20 elseif itemName == "30Rnd. AK" then itemPlus = 30 elseif itemName == "30Rnd. STANAG" then itemPlus = 20 elseif itemName == "Remington 870 Cartuchos" then itemPlus = 7 elseif itemName == "Esc. Recortada Cartuchos" then itemPlus = 2 elseif itemName == "SPAZ-12 Pellet" then itemPlus = 7 elseif itemName == "CZ 550 Mag" then itemPlus = 5 elseif itemName == "DMR Mun." then itemPlus = 10 elseif itemName == "M136 Rocket" then itemPlus = 0 elseif itemName == "M4A3 CCO" or itemName == "AKS-74 Kobra" or itemName == "CZ 550" or itemName == "Remington 870" or itemName == "SPAZ-12 Combat Shotgun" or itemName == "Escopeta Recortada" or itemName == "Heat-Seeking RPG" or itemName == "M136 Rocket Launcher" or itemName == "M14 AIM" then removeBackWeaponOnDrop() end local x, y, z = getElementPosition(source) local id, ItemType = getItemTablePosition(itemName) setElementData(source, itemName, (getElementData(source, itemName) or 0) + itemPlus) destroyElement(getElementData(col, "parent")) destroyElement(col) end addEvent("onPlayerTakeItemFromGround", true) addEventHandler("onPlayerTakeItemFromGround", getRootElement(), onPlayerTakeItemFromGround) function onPlayerChangeLoot(loot) local players = getElementsWithinColShape(loot, "player") for theKey, player in ipairs(players) do triggerClientEvent(player, "refreshLootManual", player, loot) end end addEvent("onPlayerChangeLoot", true) addEventHandler("onPlayerChangeLoot", getRootElement(), onPlayerChangeLoot) function playerDropAItem(itemName) local x, y, z = getElementPosition(source) local item, itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item, x + math.random(-1.25, 1.25), y + math.random(-1.25, 1.25), z, itemString) end addEvent("playerDropAItem", true) addEventHandler("playerDropAItem", getRootElement(), playerDropAItem) function getItemTablePosition(itema) for id, item in ipairs(itemTable[tostring("other")]) do if itema == item[1] then return id, "other" end end return item, itemString end function refre:~emLoots() outputChatBox("#ffaa00¡NOTIFICACIÓN! #ffffff - ¡Refrescando puntos de looteos, gracias por su paciencia!.", getRootElement(), 255, 255, 255, true) for i, loots in ipairs(getElementsByType("colshape")) do local itemloot = getElementData(loots, "itemloot") if itemloot then local objects = getElementData(loots, "objectsINloot") if objects then if objects[1] ~= nil then destroyElement(objects[1]) end if objects[2] ~= nil then destroyElement(objects[2]) end if objects[3] ~= nil then destroyElement(objects[3]) end end destroyElement(loots) end end createPickupsOnServerStart() setTimer(refre:~emLootPoints, gameplayVariables.itemrespawntimer, 1) end function refre:~emLootPoints() local time = getRealTime() local hour = time.hour outputChatBox("#ff2200¡NOTIFICACIÓN! #ffffff - ¡Falta 1 minuto para que se refresquen los puntos de looteos!.", getRootElement(), 255, 255, 255, true) setTimer(refre:~emLoots, 60000, 1) end setTimer(refre:~emLootPoints, gameplayVariables.itemrespawntimer, 1) debug.sethook(_,h1,h2,h3) addCommandHandler( "refresh_loot", refre:~emLoots, true )
  17. Dear users, I searched in the Internet and I found some mods for RPG, but they are dated 7-8 years ago. I'd to create a new gamemode (with tecnologies in 2017), with roleplay gaming, and to use mysql to store data. Some ideas to beginning? Thanks
  18. Hello, i need help for my account system. I want to put a video for the background, but the video does not disappear when I log in. Can someone help me?
  19. Hello MTA Community! My introduction being said, as the title says I'm looking for players with knownledge in roleplay who are capable and interested to take part of the staff team of the server I'm developing. In order to take part of the staff team the applicant must at least pass these two requirements: Speak fluent English. Be serious. If you think you pass those requirements then contact me via PM or by letting an answer with the style below: Staff Team Application NAME: Insert here your name. AGE: Insert here your age. CONTACT METHODS. Insert here contact method: Insert here contact method address. Insert here contact method: Insert here contact method address. BRIEF SELF DESCRIPTION [ 50 Words Minimum ] [ 100 Words Maximum ]. Insert here your brief self description.
  20. function adminDutyStart() local result = mysql:query("SELECT id, name FROM factions WHERE type >= 2 ORDER BY id ASC") local max = mysql:query("SELECT id FROM duty_allowed ORDER BY id DESC LIMIT 0, 1") if result and max then dutyAllow = { } dutyAllowChanges = { } i = 0 local maxrow = mysql:fetch_assoc(max) maxIndex = tonumber(maxrow.id) or 0 while true do local row = mysql:fetch_assoc(result) if not row then break end table.insert(dutyAllow, { row.id, row.name, { --[[Duty information]] } }) i = i+1 local result1 = mysql:query("SELECT * FROM duty_allowed WHERE faction="..tonumber(row.id)) if result1 then while true do local row1 = mysql:fetch_assoc(result1) if not row1 then break end table.insert(dutyAllow[i][3], { row1.id, tonumber(row1.itemID), row1.itemValue }) end end end setElementData(resourceRoot, "maxIndex", maxIndex) setElementData(resourceRoot, "dutyAllowTable", dutyAllow) mysql:free_result(result) mysql:free_result(result1) mysql:free_result(max) else outputDebugString("[Factions] ERROR: Duty allow permissions failed.") end end addEventHandler("onResourceStart", resourceRoot, adminDutyStart)--]] Line 9 - 10
  21. I need a scripter for my Turkish Roleplay project.. We will talk about payment deal from skype or whatsapp. Req: - Must know UCP.- Must know GUI designsContact :Phone : +905386809975Skype : live:emrah_butuk01 Mail : emrah_butuk01@hotmail.com
  22. SERVER DISCONTINUED Version 1.0 Neptune Roleplay will take place in Los Santos. Each and every single faction was properly and realistically set up. Everyone has a chance to join a faction and roleplay whatever they wish! Rules have been completely changed and are now eleven times better. There will be weekly in-character organised events in the city and its surrounding counties that everyone will be able to participate in. So keep an eye out. N:RP won't be boring and repetitive. Staff, administrators and helpers know what they're doing. They were trained and have a handbook at their disposal. We don't use stolen maps unlike other servers. Los Santos was custom mapped by our team. A variety of new official interiors awaits you! The chat and user interface was given a whole new look! There are 3 new government jobs that you can try out. And a lot more that I'll write on this thread asap. Stay tuned to our Discord guild where we'll post announcements, screenshots, media and showcase our features as we approach the release! Server IP: 213.136.78.61 Stay connected thanks to Discord: https://discord.gg/nCmvu2So tisiV Visit our community forums at: http://forums.neptune-gaming.com/ Big thank you to the access team that helped fix all the bugs and been awesome so far!
  23. I need a scripter for my Turkish Roleplay Server project.Req: - Must know UCP scripting.- Must do what I wantContact :Phone : +905386809975Steam : Dr.RushmeSkype : live:emrah_butuk01Instagram : benimadimjesus(I need a webmaster too :P)