Search the Community

Showing results for tags 'help'.



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 600 results

  1. Вообщем суть проблемы в следующем: Машины в гараже не перекрашиваются,стикеры не клеятся. Пробовал разные модели, разбирал Txd файлы, ошибок в дебаге нет. Незнаю уместно ли. Но может кто знает , ктото юзал этот мод. Вообщем интересно будет услышатьрешение проблемы.
  2. Hi. I am now writing a launcher with authorization, etc., there was a question about the launch of Mta, whether there are keys ( parameters ) launch MTA? Let's say nick change or automatic connection when launching the game? Thanks for the reply, sorry for my English, used translator😀 function doUser_bottom_lClickLeft(UXMouseEvent $e = null) { execute('D:\Games\mt\Multi Theft Auto.exe', false); } P.S -> Another question, where can I get the source code of mta? And what programs will be required for compilation?
  3. Hoje recebi uma sugestão para melhorar meu servidor o seguinte mod : Ligar para tal jogador . Se tiver como pfv me respondam e oque devo usar para fazer esse mod se não tiver como pode falar . !!
  4. GLC

    PLS HELP MEE

    --------------------- -- Player Ranking List -- --------------------- WindowSiralama2 = guiCreateWindow(245, 115, 450, 500, "Sıralama", false) guiSetProperty(WindowSiralama2, "CaptionColour", "FF1C90E1") guiWindowSetSizable(WindowSiralama2, false) guiWindowSetMovable(WindowSiralama2,false) guiSetVisible(WindowSiralama2, false) guiSetAlpha(WindowSiralama2, 1) centerWindow(WindowSiralama2) KapatButonSiralama2 = guiCreateButton(340, 466, 100, 24, "Kapat", false, WindowSiralama2) guiSetProperty(KapatButonSiralama2, "NormalTextColour", "FF2CFB03") LevelSiralamaButton = guiCreateButton(10, 466, 100, 24, "Level", false, WindowSiralama2) guiSetProperty(LevelSiralamaButton, "NormalTextColour", "FF2CFB03") ParaSiralamaButton = guiCreateButton(120, 466, 100, 24, "Para(Banka)", false, WindowSiralama2) guiSetProperty(ParaSiralamaButton, "NormalTextColour", "FF2CFB03") ZamanSiralamaButton = guiCreateButton(230, 466, 100, 24, "Zaman", false, WindowSiralama2) guiSetProperty(ZamanSiralamaButton, "NormalTextColour", "FF2CFB03") WindowSiralamaList2 = guiCreateGridList(5, 20, 440, 440, false, WindowSiralama2) local column = guiGridListAddColumn(WindowSiralamaList2, "Sıra", 0.20 ) local column1 = guiGridListAddColumn(WindowSiralamaList2, "Oyuncu Adı", 0.40 ) local column2 = guiGridListAddColumn(WindowSiralamaList2, "Level", 0.30 ) guiGridListSetSortingEnabled(WindowSiralamaList2, false) WindowSiralamaList3 = guiCreateGridList(5, 20, 440, 440, false, WindowSiralama2) local column = guiGridListAddColumn(WindowSiralamaList3, "Sıra", 0.20 ) local column1 = guiGridListAddColumn(WindowSiralamaList3, "Oyuncu Adı", 0.40 ) local column2 = guiGridListAddColumn(WindowSiralamaList3, "Para", 0.30 ) guiGridListSetSortingEnabled(WindowSiralamaList3, false) guiSetVisible(WindowSiralamaList3,false) WindowSiralamaList4 = guiCreateGridList(5, 20, 440, 440, false, WindowSiralama2) local column = guiGridListAddColumn(WindowSiralamaList4, "Sıra", 0.20 ) local column1 = guiGridListAddColumn(WindowSiralamaList4, "Oyuncu Adı", 0.40 ) local column2 = guiGridListAddColumn(WindowSiralamaList4, "Zaman", 0.30 ) guiGridListSetSortingEnabled(WindowSiralamaList4, false) guiSetVisible(WindowSiralamaList4,false) addEvent("SetData",true) addEventHandler("SetData",root,function ( Table ) guiGridListClear( WindowSiralamaList2 ) for i = 1,30 do local row = guiGridListAddRow ( WindowSiralamaList2 ) if ( Table [ i ].score ) then ---> fr_client.lua:2192 guiGridListSetItemText( WindowSiralamaList2, row, column, Table[i].sira , false, false ) guiGridListSetItemText( WindowSiralamaList2, row, column1, tostring(Table[i].name) , false, false ) guiGridListSetItemText( WindowSiralamaList2, row, column2, Table [ i ].score , false, false ) guiGridListSetItemColor(WindowSiralamaList2, row, column1, 255, 255, 0) guiGridListSetItemColor(WindowSiralamaList2, row, column2, 0, 180, 255) guiGridListSetItemColor(WindowSiralamaList2, row, column, 255, 0, 0) end end end) addEvent("SetData2",true) addEventHandler("SetData2",root,function ( Table ) guiGridListClear( WindowSiralamaList4 ) for i = 1,30 do local row = guiGridListAddRow ( WindowSiralamaList4 ) if ( Table [ i ].score ) then ---> fr_client.lua:2208 guiGridListSetItemText( WindowSiralamaList4, row, column, Table[i].sira , false, false ) guiGridListSetItemText( WindowSiralamaList4, row, column1, tostring(Table[i].name) , false, false ) guiGridListSetItemText( WindowSiralamaList4, row, column2, Table [ i ].score , false, false ) guiGridListSetItemColor(WindowSiralamaList4, row, column1, 255, 255, 0) guiGridListSetItemColor(WindowSiralamaList4, row, column2, 0, 180, 255) guiGridListSetItemColor(WindowSiralamaList4, row, column, 255, 0, 0) end end end) addEvent("updateTopMoney",true) addEventHandler("updateTopMoney",root,function ( Table ) guiGridListClear( WindowSiralamaList3 ) for i = 1,30 do local row = guiGridListAddRow ( WindowSiralamaList3 ) if ( Table [ i ].score ) then ---> fr_client.lua:2224 guiGridListSetItemText( WindowSiralamaList3, row, column, Table[i].sira , false, false ) guiGridListSetItemText( WindowSiralamaList3, row, column1, tostring(Table[i].name) , false, false ) guiGridListSetItemText( WindowSiralamaList3, row, column2, "$"..formatNumber(tostring(Table[i].score)).."" , false, false ) guiGridListSetItemColor(WindowSiralamaList3, row, column1, 255, 255, 0) guiGridListSetItemColor(WindowSiralamaList3, row, column2, 0, 180, 255) guiGridListSetItemColor(WindowSiralamaList3, row, column, 255, 0, 0) end end end) addEventHandler ( "onClientGUIClick", resourceRoot,function() if source == KapatButonSiralama2 then guiSetVisible(WindowSiralama2,false) elseif source == LevelSiralamaButton then if not durum1 then triggerServerEvent("getTop4", localPlayer) durum1 = true setTimer(function() durum1 = false end,60000,1) end if guiGetVisible(WindowSiralamaList3) then guiSetVisible(WindowSiralamaList3,false) end if guiGetVisible(WindowSiralamaList4) then guiSetVisible(WindowSiralamaList4,false) end guiSetVisible(WindowSiralamaList2,true) elseif source == ParaSiralamaButton then if not durum2 then triggerServerEvent("getTop3", localPlayer) durum2 = true setTimer(function() durum2 = false end,60000,1) end if guiGetVisible(WindowSiralamaList2) then guiSetVisible(WindowSiralamaList2,false) end if guiGetVisible(WindowSiralamaList4) then guiSetVisible(WindowSiralamaList4,false) end guiSetVisible(WindowSiralamaList3,true) elseif source == ZamanSiralamaButton then if not durum3 then triggerServerEvent("getTop4", localPlayer) durum3 = true setTimer(function() durum3 = false end,60000,1) end if guiGetVisible(WindowSiralamaList2) then guiSetVisible(WindowSiralamaList2,false) end if guiGetVisible(WindowSiralamaList3) then guiSetVisible(WindowSiralamaList3,false) end guiSetVisible(WindowSiralamaList4,true) end end) function formatNumber(n) if (not n) then return "Error catching data" end local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right end Can you edit it, please? ERROR: [gameplay]\freeroam\fr_client.lua:2192 attempt to index field '?' (a nil value) ERROR: [gameplay]\freeroam\fr_client.lua:2208: attempt to index field '?' (a nil value) ERROR: [gameplay]\freeroam\fr_client.lua:2224 attempt to index field '?' (a nil value)
  5. samagonka

    Help me plz

    Please help me when logging into the server, I crash this error, and what to do in this situation https://otvet.imgsmail.ru/download/183352687_eabad3fb6df52700d4962b54b74402c7_800.jpg
  6. https://pastebin.mtasa.com/327976493 tell what is the problem please
  7. Othydn74

    Help

    theVeh = getPedOccupiedVehicle(localPlayer) function printGear(value) currentGear2 = print(getVehicleCurrentGear(theVeh)) end addEventHandler ("onClientPreRender", root, printGear) function updateGearPosition() if theVeh and printGear == 1 then local rx, ry, rz = getVehicleComponentRotation(theVeh, "handbrake_ok") setVehicleComponentRotation(theVeh, "handbrake_ok", rx+12, 0, 0) end end not debugging Calculating current gear but 2.function not working so not rotating
  8. Othydn74

    Help

    theVeh = getPedOccupiedVehicle(localPlayer) function printGear(value) currentGear2 = print(getVehicleCurrentGear(theVeh)) end addEventHandler ("onClientPreRender", root, printGear) function updateGearPosition() if theVeh and printGear == 1 then local rx, ry, rz = getVehicleComponentRotation(theVeh, "handbrake_ok") setVehicleComponentRotation(theVeh, "handbrake_ok", rx+12, 0, 0) end end not debugging, Calculating current gear, but 2.function not working so not rotating
  9. No caso quero mostrar quantos staffs estão online em 10 em 10 minutos e não fasso ideia
  10. This is my problem ERROR: dayzmode/lib/team/s_team.lua:1: call: failed to call 'dayzconnect:MySQL' ERROR: dayzmode/lib/system/player.lua:1: call: failed to call 'dayzconnect:players' Im using this call ( getResourceFromName ( "dayzconnect" ), "MySQL", 1, "2", "three" ) <export function="MySQL"/> <include resource="dayzmap"/> <include resource="dayzmode"/> <include resource="dayzbase"/> <include resource="dayzcache"/> <include resource="object_preview"/> I do not know what to do anymore
  11. I want know what fail in my script because i'm new in LUA Scripting and if a "professional" resolve my problem maybe i can learn of that In this script i want make math problems and if the players resolve this gain $2k setTimer(function() x1 = math.random(500) x2 = math.random(600) outputChatBox("#1860F1[Math]#ffffff " .. x1 .. " + " .. x2 .. " = ", root, 255, 255, 255, true) end, 30000, 0) function mathSystem(text, source) outputChatBox(text, source, 255, 255, 255, true) if text == x1 + x2 then givePlayerMoney(source, 2000) end end addEventHandler("onPlayerChat", root, mathSystem)
  12. Парни! Нужна помощь с прицелом! Он пропал абсолютно у всех игроков! Подмогните пожалуйста, буду очень благодарен! Guys! We need help with the scope! He disappeared absolutely all players! Please help me, I will be very grateful!
  13. Hey 😊 I have question about edit gamemode race thes i mean how i can do that? and my edit like very stupid😢 in final got message winner players like Winner: NamePlayer but i want to do 3 message win like Example:🤔 ---------------------------------------------------------------------------------------------- 1st:🥇 Nickname 2nd:2️⃣ Nickname 3rd:3️⃣ Nickname ---------------------------------------------------------------------------------------------- and i test code like these i know code have mistake but how i add 2nd and 3rd? Code: function winnerMessenger ( text, playerName) win.text = text win.name = playerName win.name2 = playerName win.name3 = playerName removeEventHandler("onClientRender",root,winMsg) addEventHandler("onClientRender",root,winMsg) race.mapInfo.infos = {} end addEvent("winnerMessage",true) addEventHandler("winnerMessage",getRootElement(),winnerMessenger) function winMsg() win.pro2 = win.pro2 + 0.005 race.alpha = interpolateBetween(race.alpha,0,0,0,0,0,win.pro2,"Linear") win.pro = win.pro + 0.01 x1, x2, win.alpha = interpolateBetween(-s,s,win.alpha,0,0,255,win.pro,"Linear") local alpha = win.alpha/255 fadeCamera( false, 4, 0, 0, 0) if not getElementData(localPlayer,"login") then return end dxDrawText(win.name, 564*sx, 341*sy, 717*sx, 380*sy, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false, true) dxDrawText(win.name2, 352*sx, 292*sy, 505*sx, 331*sy, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false, true) dxDrawText(win.name3, 773*sx, 292*sy, 926*sx, 331*sy, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "top", false, false, false, true) end function remWin () win.text = "" win.name = "" win.name2 = "" win.name3 = "" removeEventHandler("onClientRender",root,winMsg) win.pro = 0 win.pro2 = 0 win.alpha = 0 end
  14. João Santos

    SD #15 SIGN

    So when I try to enter in a specific server it says that it requires driver signing to be enabled. It appears that error code is SD #15 SIGN. I don't know what does that means but I have already reinstalled Gta San Andreas and MTA and did update my drivers. Help me please.
  15. I want to make a server on wich I can play with my friends but I need help making it not local only so it can be accsessed outside my network.
  16. sevenlwo

    freeroam help

    Hello, i'm trying to create a checkbox to enable and disable the ghost-mode on my F1(freeroam) panel on MTA server, but actually i dont know how to do it. someone can help me?
  17. I'm trying to make a resource that obtain the name of a player like this line: local who = getPlayerName(playerSource), playerSource(who) but i got this GetPlayerName [expected element at argument 1, got nil] lua:13: attempt to call global 'playerSource' (a nil value) I need help :'c the script is of the type server
  18. This is the code: requestBrowserDomains({"www.convertmp3.io"}) local browser = createBrowser( 0, 0, false ) local currentSound = {} function start(_,link) fetch(link) end addCommandHandler("play",start) function fetch(url) if (url) then fetchRemote("http://www.convertmp3.io/fetch/?format=JSON&video="..url, callback) end end function callback(data, error) if (error ~= 0) then return outputChatBox(error) end if (data == "ERROR") then return outputChatBox("data error") end local data = fromJSON("["..data.."]") if (data) then outputChatBox("Title: "..data.title) outputChatBox("Length: "..data.length) outputChatBox("Link: "..data.link) loadBrowserURL( browser, data.link ) end end addEventHandler( "onClientBrowserNavigate", browser, function( link ) if not link:find("www.convertmp3.io") then local vehicle = getPedOccupiedVehicle ( localPlayer ) local x, y, z = getElementPosition(vehicle) currentSound[localPlayer] = playSound3D( link, x, y, z ) attachElements(currentSound[localPlayer],vehicle) setSoundMaxDistance(currentSound[localPlayer],30) setSoundVolume(currentSound[localPlayer],50) end end ) How to synchronise to all players?
  19. Grupo = "Mecanico" function Verificar_Emprego_Atual ( ) for i, player in ipairs(getElementsByType("player")) do local acc = getPlayerAccount(player) if acc and not isGuestAccount(acc) then local accName = getAccountName (acc) if isObjectInACLGroup ("user."..accName, aclGetGroup ( Grupo ) ) then if getElementData ( player, "Emprego" ) == false then setElementData ( player, "Emprego", "Mecanico" ) end else if getElementData ( player, "Emprego" ) == "Mecanico" then setElementData ( player, "Emprego", false ) end end end end end setTimer ( Verificar_Emprego_Atual, 5000, 0 ) Alguem ajuda estou querendo tira acl do script mais quando eu tento tira da erro
  20. Hi I started a few days ago lua scripting, my first project is an scoreboard. But i have an issue. I can't test my job, because don't have enought players on my custom server. I can join from my laptop, but this is just 2 player ( my pc and laptop). My question, that how can i set scoreboard bots (just a few, example 10) for the test?
  21. I want attach images to my message in default mta chat with a word, but i dont know how to attach the image to the message.. Anyone can help, and show me a example?
  22. How to add time limit? elseif source == can then if getPlayerMoney() >= 5000 then if getElementHealth(localPlayer) ~= 100 then setElementHealth(localPlayer,100) triggerServerEvent("TakeMoney",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında canın dolduruldu!",0,255,0,true) else outputChatBox("Canın zaten dolu!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,canimg,g-132,2,false) setTimer(guiSetPosition,60,5,canimg,g-128,1,false) and elseif source == zirh then if getPlayerMoney() >= 5000 then if getPedArmor(localPlayer) ~= 100 then triggerServerEvent("setPlayerArmor",localPlayer) outputChatBox("#888888 5000$ #FFFFFFkarşılığında çelik yelek giydin!",0,255,0,true) else outputChatBox("Çelik yeleğin zaten sağlam!",255,0,0,true) end else outputChatBox("Paran yetmiyor!",255,0,0,true) end setTimer(guiSetPosition,50,5,zirhimg,g-132,2,false) setTimer(guiSetPosition,60,5,zirhimg,g-128,1,false)
  23. NickAge

    VF#4 JR9Z

    out of sudden got kicked with this message, now cant join any server at all. what do i do? http://tinypic.com/view.php?pic=zvdkhz&amp;s=9#.XIbnWXxbk0Q
  24. I need some help with inventory, i dont know how i can make, somebody can help me