Jump to content

Search the Community

Showing results for tags 'scripts'.

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

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

  1. Hi Guys, I have a question... I have this resource I want to use in my server. It is a car dealership, but what happens is, every car that a player buys disappear when the server or the resource is restarted. I was hoping that someone could help me with this. or at least give me a clue on how to prevent this to happen again. Thanks
  2. Hola hago este mensaje para ver si alguien me puede ayudar pasandome o vendiendome un resource de creacion de bases para un servidor de DayZ de mta desde ya muchas gracias
  3. QUERIA SABER SE TEM COMO MUDAR AS PROPRIEDADES DE UMA ARMA NO MTA POR EXEMPLO.: COLOCAR AS MESMA FUNÇÕES DA M4 ATIRAR, MODO DE ANDAR, MIRAR ETC... NO LANÇA CHAMAS OU RPG OU BASTÃO OU EM OUTRA ARMA ! I WANTED TO KNOW IF YOU HAVE TO CHANGE THE PROPERTIES OF A WEAPON IN THE MTA FOR EXAMPLE: PUT THE SAME FUNCTIONS OF THE M4 SHOOT, WAY OF MOVING, AIMING ETC ... IN FLAME OR RPG OR BAT OR OTHER WEAPON!
  4. function centerWindow ( center_window ) local sx, sy = guiGetScreenSize ( ) local windowW, windowH = guiGetSize ( center_window, false ) local x, y = ( sx - windowW ) / 2, ( sy - windowH ) / 2 guiSetPosition ( center_window, x, y, false ) end dblip = createMarker(1640, -1092, 24,"cylinder",0.1,0,0,0,205) createBlipAttachedTo(dblip, 24) local customCarNames = -- Aqui voce coloca o nome e id dos veiculos ! { [426] = 'Carro 1'; [517] = 'Carro 2'; [400] = 'Carro 3'; [580] = 'Carro 4'; [439] = 'Carro 5'; [436] = 'Carro 6';
  5. Boa tarde gente, estou com um problema muito chato! Quando entro em algum servidor, funciona tudo normalmente, porém na maioria das vezes eu não consigo usar algumas funções do jogo/servidor, por exemplo o celular pois não aparece os escritos dos menus no jogo, apenas o layout... alguém já passou por isso? sabe como resolver? segue algumas fotos: https://ibb.co/2q7BBPM https://ibb.co/qmrGvQB https://ibb.co/2q7BBPM https://ibb.co/qmrGvQB Good afternoon guys, I have a very annoying problem! When I enter a server, everything works normally, but most of the time I am unable t
  6. This is the dumbest question I've ever asked on this forum, but I have problem even not only with this. So, how can I add scripts from different folders in my meta.xml? And in these scripts, how can I load xml files from different folders, too? Any idea? If yes, please, show me example I know, that I would use xml = xmlLoadFile("filename.xml") But how to load xml in different folders? Same <script src="script.Lua" type="server"/> But how to tell MTA to load script from different folder?
  7. local g = 0 function giveGold() local g = g+1 end addCommandHandler("giveG", giveGold) function showGold(source) outputChatBox(tostring(g), 255, 255, 0) end addCommandHandler("showG", showGold) I mean, I want the "showG" command to show the Player amount of gold, and the "giveG" command wants it to add the Player amount of gold. It is on the client side. PLS HELP
  8. ola, estou desenvolvendo um sistema de garagem ligado com a concessionaria, porem, estou tendo problema na parte de vender os carros, junto ao inventario de carros. ultilizei o debugscript 3 e o seguinte erro aparece: ERROR: [DevMods]\Eagle-Concessionaria\Inventario_C.Lua:188:attempt to call global 'triggerClientEvent' (a nill value). gostaria que me ajuda-sem, pois ja fiz de tudo e nao resolveu. aqui esta o codigo. function Vender_Carro ( _,state ) local id = DGS:dgsGridListGetSelectedItem(Invetario_Car) local NickPlayer = getElementData(Nick_Jogador, "text"
  9. --[[ ################################################ # # # Script Criado Por # # FACEBOOK.COM/AIRNEWSCR # # # # # ################################################ --]] removeWorldModel ( 1412, 30, 207.5, -248.69999694824, 1.57813 ) -- Cercas removeWorldModel ( 781, 3, 196.66397, -268.06937, 1.57813 ) -- Arvore removeWorldModel ( 13437, 50, 195.24310, -236.23383, 1.36875 ) -- Arvore MecanicoPickup = cr
  10. Why not see another players my messages? And how to add built-in, and addCommandHandler commands to this chat system? Client: Server: Thanks the help!
  11. Need RPG scripter he will do something and i'll give him steam account have coast 180$ have CS:GO , GTA V , Rocket League , Arma3 and Rainbow Six Siege and more the steam account level 10 add me on discord : Smoker#8738 Facebook : https://www.facebook.com/profile.php?id=100009745308181
  12. Hello! I started lua programming in MTA so, I got a problem, and I don't understand the other topics. Just send the code, and I will read it, and understand it. And if you can descript it pls do it. How to optimize this code on every screen? local x,y = guiGetScreenSize() oX, oY = 1920, 1080 function mainRender() local health, armor = getElementHealth(localPlayer), getPedArmor(localPlayer) local h, m = getTime() if h < 10 then h = "0" .. h end if m < 10 then m = "0" .. m end dxDrawRectangle(1590/oX*x, 30/oY*y, 300/oX*x, 100/oY*y 0x7F000000) dxDrawRectangle(1600/oX*x, 40/oY*
  13. Olá, estava fazendo um painel de inicio e queria que ele rodasse um video não uma imagem e eu fiz está função: local sW, sH = guiGetScreenSize() local x, y = (sW/1366), (sH/768) local font = dxCreateFont("font.ttf", x*15) editBox = {} editBox.__index = editBox editBox.instances = {} function onClientResourceStart() tick = getTickCount() g = {} g.user = editBox.new() showCursor(true) showChat(false) setPlayerHudComponentVisible("all", false) addEventHandler("onClientRender", root, dxLoginS) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), on
  14. I'm having trouble understanding the code I type / level the nick and the amount xp more does not work the code if someone could help me thank you Code function DAR_XP_AIRNEWSCR (source, cmd, pname, Quantity) if pname and tonumber then local client = getPlayerFromPartialName (pname) if isElement (client) then if getElementData (source, "Console_AirNewSCR") == "Yes" then setElementData (client, "Level", Quantity) exports.Scripts_Dxmessages: outputDx (source, "You Set the Player's Level" ..getPlayerName (client) .. "# ffffff for" ..Quantity .. "Success!", "success") export
  15. Eu queria separar as funções de um script de bar ( Separar uma função pra cada bebida, Catuaba, Vodca e Cerveja ) pois é muito desorganizado e tambem porque coloquei um painel novo nesse script... ja tentei varias e varias vezes e todas deram errado; c.lua ( A Parte das funções que quero separar Antes ) Esse aqui funciona normalmente, mas o proximo que eu separei não funciona.. function clickEffectDrink(button,state) if button == "left" and state == "up" then if isMouseInPosition(drawDrinksBVS.bgCatuabaX, drawDrinksBVS.bgCatuabaY, drawDrinksBVS.bgCatuabaW, drawDrinksBVS.bgCatua
  16. I bring the GM DayZ 0.6.7 of Marwin totally free of bugs (fixed by me) and errors. Ready to edit to your liking. I hope you enjoy it! DOWNLOAD! https://hadesmta.blogspot.mx/2018/04/mtadayz-067-simplificada-limpia.html
  17. GalaxyExx

    clan panel

    hey , i want make a clan list that are showed in panel ( each clan has informations like xp , leader , kills , members , online , members .. ) can anyone help me ?
  18. Hi, Fortnite building system for sell put your offer (: - you can test scripts if you want. https://youtu.be/wlxe1g1oMDQ
  19. Welcome, Fellow Multi Theft Auto players Introduction: Screenshots about our server: Some of our server Features :
  20. Tengo errores en esta funciones dentro de mi sistema de nivel me ayudarían a solucionarlo por favor?. ---EN EL SERVER TENGO ESTE ERROR AQUI: getPlayerEXP = function(l_13_0) if not tonumber(getElementData(l_13_0, "exp")) then -- return not l_13_0 or type(l_13_0) ~= "userdata" or getElementType(l_13_0) ~= "player" or 0 -- do return end -- AQUI end outputDebugString("Bad argument @ 'getPlayerEXP' [Expected player element at argument 1, got " .. tostring(l_13_0) .. "]", 2) return false end -- EN EL CLIENTE TENGO ESTE ERROR AQUI EN LAS MIMAS LINEAS: getPlayerEXP = function(l_
  21. Preciso de uma Verificação para Somente o dono do veículo poder entrar na direção do veículo. De preferência por setelementdata, alguem pode me ajudar?? Tentei assim Quando criar ----- VeiculoPainel[source] = createVehicle... setElementData ( VeiculoPainel[source], "Dono", ""..accname.."" ) setElementData ( source, "Dono", ""..accname.."" ) Quando for entrar ----- Jogador = getElementData( source, "Dono" ) Veículo = getElementData( VeiculoPainel[source], "Dono" ) If Jogador == Dono then --Nada, apenas entrar no veículo normal e
  22. Login con fondo editable Un sistema de login y creación de cuentas creado enteramente con dxDrawing. Este posee un background de un vídeo de YouTube a elegir por el cliente. PRECIO: 7,00$ Negociable. PayPal Pack de Trabajos Este pack, incluye: Piloto de Aviones Conductor de Buses Conductor de Trenes Granjero Mecánico Minero Repartidor de Pizza Policía (con su respectivo sistema de búsqueda, arresto y prisión) Conductor de Tax
  23. Basicamente um script que tem em quase todo servidor, parece que pra quem tem Pc fraco, digita /pcfraco e ele diminui os gráficos ou algo do tipo, e /pcfoda faz o oposto, em alguns servidores o comando e diferente ( /lag )
  24. السلام عليكم ورحمة الله وبركاته طبعا انا خلاص تقريبا باقيلي شهر واجيب جهازي الجديد ف خلاص ليش اقعد ب MTA ويلا خلي اساطير للنوبات يفرحوو فيها ويعدلو براحتهم لاني ما رح ارجع ثاني الي بده باك اب سيرفري مقابل : حساب كلاش اوف كلانس تاون هول عالي 9 او 10 او 11 ويبشر بالباك اب كامل وما بعطيه لاحد غيره ................... يلا استودعكم في الله @!#NssoR_) -- يرجي نقل الموضوع للقسم العام
  25. Why the table disappears after the cycle? Never this was not. shel = {} local shelPlaces = { [1] = { [1] = {x=0,y=0,z=0}, [2] = {x=0,y=0,z=0}, [3] = {x=0,y=0,z=0}, }, } function createShelters(gameId, players) local gameId = tonumber(gameId) shel[gameId] = {} for i=1,#shelPlaces do --outputDebugString("table "..shel[gameId]) shel[gameId][i] = { ["places"] = { [1] = {x=shelPlaces[i][1].x,y=shelPlaces[i][1].y,z=shelPlaces[i][1].z,["object"]="craftTable"}, }, } outputChatBox(shel[1][1]["places"][1]["object"]) -- WORKING for pI=2,#shelPlaces[i] do shel[gameId
×
×
  • Create New...