Jump to content

Search the Community

Showing results for tags 'spawn'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me





  1. Eai galera, de boa? preciso de uma ajuda de alguém que saiba como resolver, toda vez que dou spawn em algum veículo de duas rodas (moto e bicicleta) do meu server no mta eles ficam girando e alguns bugs de sombra ocorrem, só param alguns segundos depois, o mesmo ocorre na concessionaria quando clica para vizualizar a moto...gira em todos os ângulos por alguns segundos, ou então após sair de algum interior (agência, cnh...) também gira. Se alguém souber como resolver fico muito grato. Segue anexo uma imagem para exemplificar. https://ibb.co/BN9jrN4
  2. Como faço, para quando o player logar novamente no server, ele spawnar no ultimo lugar onde esteve antes de sair.
  3. Boa noite, É possivel adicionar um spawn de armas/skin dentro de algum interior? Lembrando: O interior está liberado devido um certo mod. Aguardo.
  4. Hello, everybody! I'm following this tutorial to make a GUI with a car spawning function. Copy/pasting everything works up until the gridlist. The click doesn't. Could there be a mistake? I recreated the script on my own following step by step: - Client-side - And here is the problematic part: The GUI elements are the same. The only thing that changes are the names. Naturally, it should work by simply replacing the names. However, I believe there might be a mistake on the original script. With everything as it is, I can show and hide the GUI, and click on any v
  5. I have this: -- 2 points on each city. local spawnCoords = { {1125, -2036, 69.89, -90}, {2504, -1686, 13.55, 45}, {-1972, 643, 46.57, -45}, {-2720, -317, 7.85, 45}, {2023, 1008, 10.83, -90}, {1298, 2084, 12.83, -90}, } -- all skins. local validSkins = {0, 1, 2, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 89, 90, 91, 92, 9
  6. I'm daring myself to add more little things to the tutorials shown here. It's of great pleasure to announce that the following code works. I know it is not much, but it's one more step closer to my dream server. So, function joinHandler() spawnPlayer(source, 2023, 1008, 10.83, -90, math.random (1,288)) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("¡Bienvenido!", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) You can skip the spanish words. The result is as expected: when the player joins, the chatbox shows the text
  7. Boa noite a todos, eu sou bem leigo em Lua, e toda vez que venho aqui fico feliz com a maneira que vocês fazem a gente entender pelo menos o minimo dos scripts que estamos tentando alterar, isso é sensacional. enfim. Hoje eu to com um problema em um sistema de spawn de vtr por acl. Queria que se possível me ajudassem a alterar o que quero nele. Spawn1 = createMarker(-65.258903503418, -343.11831665039, 5.4296875 -1,"cylinder", 1.9, 0, 0, 200, 40) Destroy = createMarker(-65.258903503418, -371.39807128906, 5.4296875 -2,"cylinder", 5.0, 128, 0, 0, 99) func
  8. Quero por outro marcador e outro spawn de carro, pra ficar 2 spawns, mais sempre buga e fica somente 1 ou buga e fica 2 marcadores e 1 veiculo, aqui esta o script com 1 spawn de carro, eu quero colocar outro spawn iniMarker = createMarker( 163.7912902832, 1808.8654785156, 16.640625, "cylinder", 3.5, 200,225,1,50) destroyM = createMarker( 127.0807723999, 1809.0919189453, 16.640625, "cylinder", 3.9, 255,255,255,100) function msg(player) outputChatBox("#FFD700»Você Pegou Um Carro Do #00FF00Exécito Brasileiro«", player, 255,255,255,true) end addEventHandler("onMarkerHit", iniMarker,
  9. Glr continuando aki meus estudos em script . oque estou fazendo de erado ? me ajudem function inicio (player) caminhao = createVehicle (515, 1194.816, -1297.128, 13.384+1) trailer = createVehicle (584, 1204.033, -1299.422, 13.386+1) outputChatBox("teste",root,255,255,255,true) end addEventHandler("setTimer", inicio, 10000, 0)
  10. Yes, I saw the wiki and it'd be awesome if I could make it real.. So I just copied it and replaced "float x float y float z" with my custom location but the server did not even find the resource itself. I had meta.xml next to it but nothing. I want as many guarding enemy slothbots as I want. Slothbot is also running but nothing.. please help! element spawnBot ( float x, float y, float z, int rotation = 0, [ int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil, int weapon = 0, string theMode = "hunting", element theModesubject = nil ] )
  11. Hi everyone, im need help ! How can I change the way spawn is that after I respond, I get parachute! How can I get the parachute spawn?
  12. I'm trying to spawn in every hospital in GTA S.A, I want the player to be born in the nearest hospital. What band could I add in my script to work this function? I'm sorry for my english xD
  13. Quisiera como pudiera hacer que mi panel cuando muera alguien se abra automaticamente ya que solo abre cuando entras al sv x,y = guiGetScreenSize() JobsWin = guiCreateWindow(x/3 - 170,y/3 - 20,200,320,"Selecciona Tu Equipo",false) teamsList = guiCreateGridList(0,22,186,255,false,JobsWin) column = guiGridListAddColumn( teamsList, "Teams", 0.85 ) for id, team in ipairs(getElementsByType("team")) do local row = guiGridListAddRow ( teamsList ) guiGridListSetItemText ( teamsList, row, 1, getTeamName ( team ), false, false ) guiGridListSetItemColor ( teamsList, row, 1, getTeamCo
  14. Hello, I have a server and I would like to use a spawn by Groups I want the clan members to be able to activate and deactivate this spawn with a command. If you can help me, I thank you --------------------------------------------------------------------------------------------------------------------------- local GroupName = 'KILLERS' function onWasted () if getElementData(source,'Group') == 'KILLERS' then setTimer( function (source) setElementDimension( source, 0 ) setElementPosition( source, 2478.705078125+math.random(1,1), -16
  15. Hello guys .So my problem is that i can't spawn added vehicle to the DayZ v0.9.9.5a . It can't spawn itself but spawned from admin panel show how much part's it need etc . But it must spawn itself .And how do i change cars names ? I know u guys can help me so let's do it . PS Sorry for bad english
  16. local Veiculos = {494} -- IDs dos Veículos. Tulio = {} function CreateVehicle (source) if getElementData (source, "Pegou", true) then outputChatBox ('#c1c1c1Aguarde #ffffff20 #ffffffsegundos para pegar novamente.',source,255,255,255,true) return end if isElement(Tulio[source]) then destroyElement (Tulio[source]) Tulio[source] = nil end local x,y,z = getElementPosition (source) local Cars = Veiculos[math.random(#Veiculos)] Tulio[source] = createVehicle (Cars,x,y,z) setElementData (source, "Pegou",true) setTimer (setElementData, 20000, 1, source, "Pegou", false) end addCommandHandler ("494", C
  17. Saludos a todos. Hace dos días que tengo el mismo problema y no puedo solucionarlo.. Resulta que tengo dos ordenadores, uno lo utilizo para mis creaciones y testear el servidor (PC sobremesa) Y el otro lo utilizo unicamente como host para el servidor. Dentro del ordenador de testeo todo funciona bien y sin errores. Pero al momento de transladar el servidor al ordenador que utilizo como host, aparece el siguiente error: ERROR: DayZ\Vehicle_spawns.lua:1805: attemp to call global 'getvehicleMaxFuel' <a nil value> Sé que es un error conocido por muchos, se for
  18. Hello guys, I would like to know if anyone could help me with the spawn and respawn system on my roleplay mta server? *When I enter the server for the first time, I'm going to the city hall next to the police station in LS. *the problem comes up when I die and instead of going to a hospital, I go to the city hall in the standard spawn. * I die in any city, I return to the LS hospital and after 1 second I go back to the normal spawn in city hall. * Another problem is that I can not remove the car spawn on the map that comes standard with mta. (On spawn locations) *** I'm usi
  19. hello community members i created a team panel with moving camera function the moving camera and panel works fine and get team player to scoreboard also working only the player spawn not working , but when it comes to select (choose)team it must spawn me at the positions , but its not working the screen go black and i stuck in the black screen below r some pics see it , Team panel pic : https://imgur.com/nTKFprq https://imgur.com/a/NG5mp Black screen when i click on select team : https://imgur.com/a/PS5pm https://imgur.com/LzoQWhN Scoreboard w
  20. Buenas, recién estoy aprendiendo a scriptear y hay cosas que no entiendo (aparte de tener un inglés muy malo) y quisiera saber si me pueden ayudar a hacer que al spawnear o entrar al server el jugador adquiera un estilo de pelea y forma de caminar en específico. Esto lo he sacado de la wiki pero no le he entendido nada y he intentado con los addEventHandler pero no sé como poner un estilo en específico. style = {STYLE_KUNG_FU, 6} function joinFight ( thePlayer ) if thePlayer and style then -- If player and ID are
  21. The resource starts, but the bot does not spawn. function bot () team = createTeam ("AngryBots", 255,255,255) exports [ "slothBot" ]:spawnBot ( 2002.5241699219,1546.9384765625,13.5859375, 90, 124, 0, 0, 29, "waiting", true ) end addCommandHandler("bots",bot) <meta> <info author="Falke" version="2.0.0" type="misc" name="angrybots" description="This script will add Silent Hill to San Andreas" /> <script src="server.lua" type="server" /> <include resource="slothbot" /> </meta> Why does not the bot spawn?? Please, help me! Neither the "nemesi1"
  22. Bonjour je suis en train de crée un serveur mta dayz mais j'ai un soucis les voitures spawn l'une sur l'autre que faire http://hpics.li/dcb49fd
  23. Hello as set in this script https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 to zombie spawn only at the military base?
  24. Hey, just scoped around the forum and I've seen that solidsnake14 has submitted a script that upon death it respawns you to the nearest hospital: hospitalsTable = { { 1177.7994384766, -1323.0667724609, 14.088536262512 }, { -2656.2421875, 635.99420166016, 14.453125 }, { 1607.1225585938, 1817.8732910156, 10.8203125 }, } function findNearestHostpital(thePlayer) local nearest = nil local min = 999999 for key,val in pairs(hospitalsTable) do local xx,yy,zz=getElementPosition(thePlayer) local x1=val[1] local y1=val[2] local z1=v
  25. Hi i'm newbie on server création and i don't know how to disable maps when i'm join the server. Thank you for the help you bring me
  • Create New...