1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.
      50,284
      posts
    2. User Guides

      These guides are a good place to start learning how to achieve certain things within MTA in an efficient and well mannered way.

      6
      posts
    3. Open Source Contributors

      This space is for contributors to discuss the development of MTA. No user suggestions/support.

      1,202
      posts
    4. Suggestions

      Suggestions and requests go here. Please note that actual feature requests must be filed on our GitHub.

      7,501
      posts
    5. Ban appeals

      Use this forum to appeal your GLOBAL MTA:SA bans. Permanent bans only - appeals for timed ones (eg. 24 hours) will be refused.

      Do not use it for appealing server-specific bans as we do not have power over these specific servers.

      508
      posts
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.
      9,434
      posts
    2. Media

      User-made screens and movies go here.

      4,189
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5,162
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!
      1,799
      posts
    5. 312,259
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      246,293
      posts
    2. Maps

      Discussions for maps on various gamemodes.
      12,831
      posts
    3. Resources

      Everything else about resources.
      26,656
      posts
    4. Other Creations & GTA modding

      This section includes things such as GUI themes, forum userbars, user-created MTA logos, etc. Also contains topics which cover general GTA modding areas that can be used in MTA, such as modelling.

      1,623
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.
      26,784
      posts
    6. Servers

      Looking for a server to play on? Looking for someone to host your server? Looking for a place to discuss with other server owners? Here's where to look.
      13,410
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.
      38,095
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.
      617
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.
      768
      posts
  5. Archive

    1. 144,330
      posts
    2. Trash

      These posts have broken forum rules. They are stored here temporarily so offending users can see what they have done wrong.
      1,551
      posts
  • Posts

    • If I had a resource, then it would be possible to test. And so, most likely, you will have to create weapon objects separately and synchronize the paintjob for each player to an individual weapon object.
    • Hello everyone , today i'm trying to do weapon paintjob and i added a custom weapon of m4  and i wanna to added paintjob with shader substitute for txd , i have a problem , the weapon paint job is not shows when i added the shader to object it running ,  but when i trying to added it to my hand is not running ! code : local myShader_raw_data = [[ texture tex; technique replace { pass P0 { Texture[0] = tex; } } ]] local myShader6 = dxCreateShader(myShader_raw_data) -- create shader from raw data local myTexture6 = dxCreateTexture("image5.png") -- create texture from image file engineApplyShaderToWorldTexture(myShader6, "hk416_d") dxSetShaderValue(myShader6, "tex", myTexture6) pic :
    • Hello these days i made a pretty beginner handling panel but unfortunately i got stuck as i can't load my handling.who can help please thx [Im noob :(] Script: local hand1 = "#1 Drift" local hand2 = "#2 Drift" local hand3 = "#3 Drift" local hand4 = "#4 Drift" local hand5 = "#5 Drift" local hand6 = "#6 Drift" local hand7 = "#7 Drift" local hand8 = "#8 Drift" local hand9 = "#9 Drift" local screenH, screenW = guiGetScreenSize() local x, y = (screenH/1366), (screenW/768) local Font = dxCreateFont("gfx/Roboto-Condensed.ttf", 13) ---<< Criando a fonte ..  cor = {} function PainelDc()     --1sor     cor[1] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*460, y*320, x*100, y*30) then         cor[1] = tocolor(255, 109, 0, 240)     end     cor[2] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*460, y*370, x*100, y*30) then         cor[2] = tocolor(255, 109, 0, 240)     end     cor[3] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*460, y*420, x*100, y*30) then         cor[3] = tocolor(255, 109, 0, 240)     end     --2sor     cor[4] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*580, y*320, x*100, y*30) then         cor[4] = tocolor(255, 109, 0, 240)     end     cor[5] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*580, y*370, x*100, y*30) then         cor[5] = tocolor(255, 109, 0, 240)     end     cor[6] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*580, y*420, x*100, y*30) then         cor[6] = tocolor(255, 109, 0, 240)     end     --3sor     cor[7] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*700, y*320, x*100, y*30) then         cor[7] = tocolor(255, 109, 0, 240)     end     cor[8] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*700, y*370, x*100, y*30) then         cor[8] = tocolor(255, 109, 0, 240)     end     cor[9] = tocolor(0, 0, 0, 180)     if isCursorOnElement(x*700, y*420, x*100, y*30) then         cor[9] = tocolor(255, 109, 0, 240)     end     dxDrawRectangle(x*450, y*312, x*400, y*150, tocolor(0, 0, 0, 180), false)     dxDrawRectangle(x*450, y*290, x*400, y*22, tocolor(255, 109, 0, 240), false)     dxDrawText("M.D.SZ - Handling Panel", x*520, y*291, x*800, y*312, tocolor(255, 255, 255, 255), x*0.9, Font, "center", "center", false, false, false, false, false)     dxDrawRectangle(x*460, y*320, x*100, y*30, cor[1], false)--gomb 1     dxDrawRectangle(x*460, y*370, x*100, y*30, cor[2], false)--gomb 2     dxDrawRectangle(x*460, y*420, x*100, y*30, cor[3], false)--gomb 3         dxDrawRectangle(x*580, y*320, x*100, y*30, cor[4], false)--gomb 2sor 4         dxDrawRectangle(x*580, y*370, x*100, y*30, cor[5], false)--gomb 2sor 5         dxDrawRectangle(x*580, y*420, x*100, y*30, cor[6], false)--gomb 2sor 6             dxDrawRectangle(x*700, y*320, x*100, y*30, cor[7], false)--gomb 3sor 7             dxDrawRectangle(x*700, y*370, x*100, y*30, cor[8], false)--gomb 3sor 8             dxDrawRectangle(x*700, y*420, x*100, y*30, cor[9], false)--gomb 3sor 9     dxDrawText("#1 Drift", x*200, y*358, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 1     dxDrawText("#2 Drift", x*200, y*460, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2     dxDrawText("#3 Drift", x*200, y*560, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 3         dxDrawText("#4 Drift", x*445, y*358, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1         dxDrawText("#5 Drift", x*445, y*460, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1         dxDrawText("#6 Drift", x*445, y*560, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1             dxDrawText("#7 Drift", x*690, y*358, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1             dxDrawText("#8 Drift", x*690, y*460, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1             dxDrawText("#9 Drift", x*690, y*560, x*820, y*312, tocolor(255, 255, 255, 255), x*1.00, Font, "center", "center", false, false, false, true, false)-- kiiras gombra 2sor 1 end Painelstt = false --<<<<  Status do painel(PainelDc) function OpenPainel()  --<<<<< Todo if significa == se for ..     if Painelstt == false then --<<<< Verifica se o painel está fechado e logo após o abre e poe seu status como true(aberto)         addEventHandler("onClientRender", getRootElement(), PainelDc)         Painelstt = true         showCursor(true)     else --<<<< else(significa o contrario) se não for ..          removeEventHandler("onClientRender", getRootElement(), PainelDc)         Painelstt = false         showCursor(false)     end  end  addCommandHandler("hpan", OpenPainel) local handlings1 = "1300 2979.7 2 0 0.1 -0.8 70 0.6 0.66 0.66 5 150 25 10 4 p 5 0.66 false 75 0.85 0.15 0 0.15 -0.16 0.5 0 0.37 0 35000 A02800 730000C 1 1 0" --1 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*460, y*320, x*100, y*30) then             setVehicleHandling (element "429", string "property", "..handlings1..")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand1.." #ffffffHandling betöltve!", 255, 255, 255, true)              removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --2  function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*460, y*370, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand2.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --3 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*460, y*430, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand3.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --4 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*580, y*320, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand4.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --5 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*580, y*370, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand5.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --6 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*580, y*420, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand6.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --7 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*700, y*320, x*100, y*30) then             setClipboard(""..hand2.."")              outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand7.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --8 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*700, y*370, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand8.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) --9 function onClientButtonClick(Button, State)     if Painelstt == true and Button == "left" and State == "down" then          if isCursorOnElement(x*700, y*420, x*100, y*30) then             setClipboard(""..hand2.."")             outputChatBox("[#ff8f00Handling - Info#ffffff] #82f9fc"..hand9.." #ffffffHandling betöltve!", 255, 255, 255, true)             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         elseif isCursorOnElement(x*797, y*290, x*23, y*22) then             removeEventHandler("onClientRender", getRootElement(), PainelDc)             Painelstt = false             showCursor(false)         else         end      end  end  addEventHandler("onClientClick", getRootElement(), onClientButtonClick) function isCursorOnElement( posX, posY, width, height ) --<< Funçao que verifica a posiçao do Cursor (mouse)     if isCursorShowing( ) then         local mouseX, mouseY = getCursorPosition( )         local clientW, clientH = guiGetScreenSize( )         local mouseX, mouseY = mouseX * clientW, mouseY * clientH         if ( mouseX > posX and mouseX < ( posX + width ) and mouseY > posY and mouseY < ( posY + height ) ) then             return true         end     end     return false end  
    • Please. Format the code correctly (code tags--they add line numbers and are much more readable) and give more information. Just saying "giving interference" and posting a :~load of code isn't helping anyone find the issue. Tell us what you intended, what you got, why that is an issue and what have you tried already.
    • I creator server samp