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
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • community.mtasa.com
    • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Gang


Location


Occupation


Interests

Found 566 results

  1. 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)
  2. adrian enigma

    Ligar para player

    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 . !!
  3. for index, info in ipairs(blips) do dxSetRenderTarget(MiniMap["RenderTarget"], true) local bx = info.x local by = info.y local actualDist = getDistanceBetweenPoints2D(playerX, playerY, bx, by) local dist = actualDist/(worldMaxSize/((worldWidth+worldHeight)/2)) local rot = findRotation(bx, by, playerX, playerY)-camZ local blipX, blipY = getPointFromDistanceRotation( (MiniMap_x+MiniMap["width"]+MiniMap_x)/2, (MiniMap_y+MiniMap_y+MiniMap["height"])/2, math.min(dist, math.sqrt((MiniMap_y+MiniMap_y+MiniMap["height"])/2-MiniMap_y^2 + MiniMap_x+MiniMap["width"]-(MiniMap_x+MiniMap["width"]+MiniMap_x)/2^2)), rot ) local blipX = math.max(MiniMap_x, math.min(MiniMap_x+MiniMap["width"], blipX)) local blipY = math.max(MiniMap_y, math.min(MiniMap_y+MiniMap["height"], blipY)) local color = 255 dxDrawImage(blipX - blipSize/2, blipY - blipSize/2, blipSize, blipSize, "blips/".. info.blipID ..".png",0,0,0,tocolor(255,2555,255,255)) dxSetRenderTarget() end Why not working? No errors/warnings..
  4. 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
  5. jorginthebeast

    HOW TO FIX THIS

    The executable file of GTA: SA is named incorrect Log: 23:32:36 - [DEBUG] BeginEventLog 23:32:36 - [DEBUG] DLL_PROCESS_ATTACH 00000000 23:32:36 - [DEBUG] Localization set to 'pt_BR' 23:32:36 - [DEBUG] PatchRequirementEntryPoint: Need to change entry point 23:32:36 - [DEBUG] Using proxy_sa because: EntryPoint AltTabFix 23:32:36 - [DEBUG] Nvightmare patch: Can not apply due to unknown file bytes 23:32:36 - [DEBUG] UpdatePatchStatusAltModules: Can't find module names (0,0) 23:32:36 - [DEBUG] Unable to set AddressOfEntryPoint [FilePosition=0xe0 EntryPoint=0x290c] 23:32:37 - [DEBUG] AV health: not_monitored (1) 23:32:40 - [DEBUG] DLL_PROCESS_DETACH 00000001
  6. riad

    mta can't find gta sa

    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. adrian enigma

    Staffs Online

    No caso quero mostrar quantos staffs estão online em 10 em 10 minutos e não fasso ideia
  10. Before the multi-theft allowed the use of ReShade was blocked more recently, the Rehade and nothing else wants an ENB series for weak PCs like mine I hope you do
  11. br99pedro

    [HELP] Failed to call

    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
  12. 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)
  13. Парни! Нужна помощь с прицелом! Он пропал абсолютно у всех игроков! Подмогните пожалуйста, буду очень благодарен! Guys! We need help with the scope! He disappeared absolutely all players! Please help me, I will be very grateful!
  14. liwahadri

    question :thinking:

    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
  15. Renazz

    Ajuda com script

    Oi , estou criando um script para o jogador chamar a polícia. porém quando ele chama a policia usando o comando /190 a mensagem aparece tanto para os jogadores do servidor quanto os policiais. Queria deixar a mensagem apenas aparecendo para quem estivesse na ACL da Policia . Tem como? function help (player) outputChatBox("#FF0000190: Cidadão ID "..id.." #bebebeChamou a Polícia, atenda o chamado!",player,255,255,255,true) <<<< Mensagem. end addCommandHandler ( "190", help ) Se alguém puder ajudar agradeço demais!
  16. br99pedro

    help with MySQL - Dayz Server

    Hello, I bought a Russian gamemode, but the files came strange, and I do not know where to put each file. I would like to know how to create a MySQL based server and where to put the files. After the purchase, I received these files. https://imgur.com/uN0eBnB https://imgur.com/HavvDGn The server is from DayZ Standalone. Thankful.
  17. ~A~

    An object help

    Hello everybody, I want to change this object with another, any tips?
  18. 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.
  19. 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.
  20. valerca

    Help verdana.ttf

    help, mta does not see the fonts verdana.ttf! This font is installed, all screens will be lower, please help me! I've already tried all the available options that are on the Internet https://ibb.co/gPgVsp https://ibb.co/kaR8dU https://ibb.co/nn5jJU
  21. 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?
  22. Andres99907

    My code doesn't work :(

    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
  23. sevenlwo

    VehicleLights UP/DOWN function

    Hello Pls, someone help me to do an script to attach the "up-down lights" function from car "zr350" to any other ID, i really dont know how to do this, and i've searched for all internet for this, just want to know how to do lights up and down at any vehicle ID.
  24. I was looking for a script that could run videos on my server on some screen, I found this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=11851 However, since I wanted to take the video to another place, I used the modifications that my friend suggested here: https://forum.mtasa.com/topic/81334-cinema-problem-xyz/?tab=comments#comment-744381 But on my server nothing worked, it keeps playing music but the video does not appear on Drive-in. I was wondering how to put the command to open the video panel just for admin. Here is the script: local cWindow = guiCreateWindow(337, 177, 816, 762, "CINEMA", false) local browser = guiCreateBrowser(0, 0, 800, 600, false, false, false, cWindow) local theBrowser = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, "http://www.youtube.com") end ) CINEMA = { button = {}, window = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() guiWindowSetSizable(cWindow, false) guiSetProperty(cWindow, "CaptionColour", "FF0309FB") guiSetVisible(cWindow,false) CINEMA.button[1] = guiCreateButton(9, 608, 388, 35, "GET URL", false, cWindow) guiSetFont(CINEMA.button[1], "default-bold-small") guiSetProperty(CINEMA.button[1], "NormalTextColour", "FFFF0000") CINEMA.button[2] = guiCreateButton(427, 608, 381, 35, "PUT VIDEO IN CINEMA", false, cWindow) guiSetFont(CINEMA.button[2], "default-bold-small") guiSetProperty(CINEMA.button[2], "NormalTextColour", "FFFF0000") CINEMA.button[3] = guiCreateButton(10, 653, 388, 35, "CLOSE", false, cWindow) guiSetFont(CINEMA.button[3], "default-bold-small") guiSetProperty(CINEMA.button[3], "NormalTextColour", "FFFF0000") CINEMA.button[4] = guiCreateButton(425, 654, 383, 34, "VIEW VIDEO IN FULL SCREEN MODE", false, cWindow) guiSetFont(CINEMA.button[4], "default-bold-small") guiSetProperty(CINEMA.button[4], "NormalTextColour", "FFFF0000") CINEMA.edit[1] = guiCreateEdit(11, 700, 796, 52, "", false, cWindow) guiEditSetReadOnly(CINEMA.edit[1], true) end ) function geturl() if source == CINEMA.button[1] then guiSetText(CINEMA.edit[1],getBrowserURL(theBrowser)) end end addEventHandler("onClientGUIClick",root,geturl) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c , ...) end local screenWidth, screenHeight = guiGetScreenSize() local webBrowser = createBrowser(screenWidth, screenHeight, false, false) function getPositionFromElementOffset(element, offX, offY, offZ) local m = getElementMatrix(element) local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z end function webBrowserRender() -- This will fetch the top middle point of the drive-in screen (Remember to replace the INSERTSCREENELEMENTHERE variable with your object pointer) local screenPosX, screenPosY, screenPosZ = getPositionFromElementOffset(INSERTSCREENELEMENTHERE, 0, 0.04, 10.6) dxDrawMaterialLine3D(screenPosX, screenPosY, screenPosZ, screenPosX, screenPosY, screenPosZ-8.5, webBrowser, 18, tocolor(255, 255, 255, 255), screenPosX, screenPosY+1, screenPosZ) end function fullscreen() local URLs = string.sub(guiGetText(CINEMA.edit[1]),"33") if source == CINEMA.button[4] then loadBrowserURL(webBrowser, "https://www.youtube.com/embed/"..URLs.."?autoplay=1&iv_load_policy=3&enablejsapi=1&fs=0&theme=light") end end addEventHandler("onClientGUIClick",root,fullscreen) function brow() if source == CINEMA.button[2] then loadBrowserURL(webBrowser, guiGetText(CINEMA.edit[1])) addEventHandler("onClientPreRender", root, webBrowserRender) end end addEventHandler("onClientBrowserCreated", webBrowser, brow) addEventHandler("onClientGUIClick",root,brow) function url() guiSetVisible(cWindow,true) showCursor( true ) guiSetInputEnabled( true ) end addCommandHandler("cinema",url) function closeman() if source == CINEMA.button[3] then guiSetVisible(cWindow,false) showCursor( false ) guiSetInputEnabled( false ) end end addEventHandler("onClientGUIClick",root,closeman) UP