Search the Community

Showing results for tags 'error'.



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
  • General MTA
    • News
    • Media
    • Site/Forum/IRC/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • community.mtasa.com
    • Scripting
    • Maps
    • Resources
    • Other Creations
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash
  • Private Bugtracker

Found 44 results

  1. Hello, i am having a problem with MTA. I am not able to connect to the server shown on the screenshot, yet there is no problem to connect with any other server I have tried re-installing both GTA and MTA, also moving them to another disk. Does anyone know how to fix it, thank you in advance for any helpful replies.
  2. Fui criar um servidor para jogar com amigos e fiz todos os passo como diz no site mas quando o cmd abriu deu nisso https://uploaddeimagens.com.br/imagens/sem_titulo-png--23180
  3. Crashing MTA

    Hello. For a few days I have continuous crashes on one of the MTA servers. I get them every 15-20 minutes. I did pretty much everything that was in your 32bit system manuals. I have Win XP SP3 and freshly installed GTA and MTA. GTA is original from a DVD disc. Logs from MTADiag: https://pastebin.mtasa.com/869696099 Crash ScreenShot http://imgur.com/a/pWV5O
  4. HELP ME PLEASE :(

    Every time I enter a server,I'm kicked out of the Server shortly thereafter.I've already downloaded the game 5 times and reinstalled it,It is saying that files have been modified, but the game is original without modification.Please help me I have a server to administer Here is a LINK with the video of the error, please help me Here is a LINK with the video of the error, please help me: https://www.dropbox.com/s/w8r0sx6gdbtcgs4/ERRO MTA.avi?dl=0
  5. [Help] setElementData

    First of all, sorry for bad English. I am creating a script and I used the getElementData function to get data stored in the user account and then the setElementData function to get the information through the getElementData on the client but the script has the following error in debugging: Bad argument @ setElementData [Expect element at argument 1, got nil] SCRIPT: [SERVER-SIDE] function setarDados_Entrar(source) local acc = getPlayerAccount(source) local habl = getAccountData(acc, "hablt") local ficha = getAccountData(acc, "fichacriminal") setElementData(source, "hblt", habl)--In that error line setElementData(source, "fich", ficha) -- In that error line end function setarDados_Iniciar() local acc = getPlayerAccount(player) local habl = getAccountData(acc, "hablt") local ficha = getAccountData(acc, "fichacriminal") setElementData(player, "hblt", habl)--In that error line setElementData(player, "fich", ficha)--In that error line end function setarDados_Mudar(player) local acc = getPlayerAccount(player) local habl = getAccountData(acc, "hablt") local ficha = getAccountData(acc, "fichacriminal") setElementData(player, "hblt", habl)--In that error line setElementData(player, "fich", ficha)--In that error line end addEventHandler("onPlayerLogin", getRootElement(), setarDados_Entrar) addEventHandler("onResourceStart", root, setarDados_Iniciar) addEventHandler("onAccountDataChange", root, setarDados_Mudar)
  6. Hi. I have a code, but the code is very wrong. Can somebody correct it? code: dxDrawImage(getScreenFromWorldPosition(getPedBonePosition(headShowingElements[i][1], 8)) - 65 * interpolateBetween(1, 1, 0, 0.15, 0, 0, getDistanceBetweenPoints3D(getCameraMatrix()) / maxDistance, "OutQuad") / 2, getScreenFromWorldPosition(getPedBonePosition(headShowingElements[i][1], 8)) - 65 * interpolateBetween(1, 1, 0, 0.15, 0, 0, getDistanceBetweenPoints3D(getCameraMatrix()) / maxDistance, "OutQuad") / 2, 65 * interpolateBetween(1, 1, 0, 0.15, 0, 0, getDistanceBetweenPoints3D(getCameraMatrix()) / maxDistance, "OutQuad"), 65 * interpolateBetween(1, 1, 0, 0.15, 0, 0, getDistanceBetweenPoints3D(getCameraMatrix()) / maxDistance, "OutQuad"), "files/" .. headShowingElements[i][3] .. ".png", 0, 0, 0, tocolor(255, 255, 255, 255)) What i want: (With going up and down anim from the head) http://imgur.com/a/aHeHL What this code do (why?): http://imgur.com/a/X78mx
  7. Sql printing error

    What is the problem with this system ? Why is not sql writing? mysql = exports.mysql function setetiket(thePlayer, commandName, targetPlayerName, etiketLevel) local targetName = exports.global:getPlayerFullIdentity(thePlayer, 1) if exports.integration:isPlayerLeadAdmin(thePlayer) then if not targetPlayerName or not tonumber(etiketLevel) then outputChatBox("Kullanım: #ffffff/" .. commandName .. " [İsim/ID] [VİP]", thePlayer, 255, 194, 14, true) else local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick( thePlayer, targetPlayerName ) if not targetPlayer then elseif getElementData( targetPlayer, "loggedin" ) ~= 1 then outputChatBox( "Player is not logged in.", thePlayer, 255, 0, 0 ) else mysql:query_free("UPDATE `characters` SET `etiket`="..mysql:escape_string(etiketLevel)..", WHERE `id`='"..mysql:escape_string(getElementData(targetPlayer, "dbid")).."'") setElementData(targetPlayer, "etiket", tonumber(etiketLevel)) outputChatBox("[!]#ffffff".. targetPlayerName .. " adlı kişinin vip seviyesini " .. etiketLevel .. " yaptın.", thePlayer, 0, 255, 0, true) outputChatBox("[!]#ffffff"..targetName.." tarafından vip seviyeniz " .. etiketLevel .. " yapıldı.", targetPlayer, 0, 255, 0,true) end end else outputChatBox( "[!]#ffffffBu işlemi yapmaya yetkiniz yok.", thePlayer, 255, 0, 0, true) end end addCommandHandler("etiketver", setetiket)
  8. I think the Title says it all. What dxSetRenderTarget() is used for?And could you give me some example other than on the wiki?
  9. When I connect to a server, The downloading doesn't start. it's stuck on 0% and after 10 seconds it disconnects automatically and an error appears in the menu, 'Error downloading requested files. Timeout was reached. [Operation too slow. Less than 10 bytes/sec transferred the last 10 seconds] [performancebrowser_client.lua]' I've tried everything, Re-installing MTA, Deleting the resources, Changing the firewall settings. Non of them works. Please help .-.
  10. Okey, i have made this small function: addEvent("onClientWantToExecuteCommandHandler",true) addEventHandler("onClientWantToExecuteCommandHandler",resourceRoot,function(playername, item,value,count,source) if (getElementData(source,"acc:admin") or 0 >= 6) then local sourcePlayer = source local rovid = "#398FB1[GreenStone - Inventory] #ffffff" if id and item and value and count and source then local targetPlayer, targetPlayerName = exports.mta_main:findPlayer(sourcePlayer, playername) if targetPlayer then if giveItem(targetPlayer, tonumber(item), tostring(value), tonumber(count), 0) then -- 0 -> dutyitem if not (source==targetPlayer) then outputChatBox(rovid.. " Adott egy itemet neked: #43cd80".. getElementData(playerSource,"char:anick") .."#ffffff (" ..exports["mta_item2"]:getItemName(tonumber(item))..")", targetPlayer,255,255,255,true) end outputChatBox(rovid.. " Adtál egy itemet neki: #43cd80".. targetPlayerName:gsub("_", " ") .."#ffffff (" ..exports["mta_item2"]:getItemName(tonumber(item))..")", source,255,255,255,true) dbExec(con, adminlog, getElementData(playerSource, "char:anick"), getElementData(playerSource, "acc:id"), "GIVEITEM", getElementData(playerSource, "char:anick") .. " adott " .. count .. " db " .. exports["mta_item2"]:getItemName(tonumber(item)) .. " -t. Érték: " .. value .. "", getPlayerName(targetPlayer), getElementData(targetPlayer, "acc:id")) exports.mta_admin:outputAdminMessage("#43cd80" .. getElementData(playerSource, "char:anick") .. "#ffffff adott " .. count .. " darab " .. exports["mta_item2"]:getItemName(tonumber(item)) .. " -t #43cd80" .. targetPlayerName .. "#ffffff játékosnak.") else outputChatBox("#43cd80[" .. serverName .. " #43cd80- Inventory]: #ffffffNem fér el több tárgy az adott játékosnál!", playerSource, 255 ,255, 255, true) end end end end end) Its throwing the error on the line 7, but i dont know why...
  11. Map Editor not working properly

    Greetings community, My Map Editor started throw a error in console but when I connect to server it is all loaded up but I am missing that bottom left bar and editor wont load any map so I cant edit map or create new ones. So then I saw error in console "ERROR: edf\edf.lua:220: editor_main: couldn't load edf file" But I dont make changes to edf file... So I dont know why it start throwing that error. Can someone help me with this? Thanks and have a good day or night (Idk what time it is in your country...) :).
  12. Rhino wheels bug?

    I have a bug on my server. The Rhinos have an extra wheel, In Grand Theft Auto San Andreas , When you write HESOYAM this wheel appears and in appearsMTA it always, I was researching and I did not find anything about this since I had two options, Download a model that has no wheels but use the Rhino Tracks cleo or disappear the extra wheel, For obvious reasons I preferred to disappear the extra wheel but still I have not found how to do it help me pls. (#)
  13. Memory Could Not Be Read Error

    Anyone can help me? http://prntscr.com/fs81lj
  14. Idea: Creating a marker on Map "Draqonlife" (gamemode play), which leads you to to another map. In this case "DraqonDocks" (gamemode race). known issues to be ignored: event triggers any marker known issues to be fixed: after gamemode change, the map wont change. Marker.lua : >Creates a marker (works) >Triggers player on entering and leaving any Marker (works) >Starts gamemode race (works) ! Does not start Map ! !! No error when map does not start !! !! ERROR: lobby/ChangeMode.lua:7: attempt to call global 'changeGamemodeMap' (a nil value) !! resourceRoot = getResourceRootElement() function onCurrentResourceStart(Draqonlife) local resourceName = getResourceName(Draqonlife) outputChatBox("Hello and welcome to " .. resourceName .. "!") Marker = createMarker (2860, -2115, 10, "corona", 4.0, 0, 0, 255, 255) -- create Marker end addEventHandler("onResourceStart", resourceRoot, onCurrentResourceStart) //Create Marker function MarkerHit( hitElement, matchingDimension ) local elementType = getElementType( hitElement ) local resource = getResourceFromName ("race") -- | this works, startResource( resource ) -- | really good tho --local resource = getResourceFromName ("DraqonDocks") --startResource( resource ) // If I try to start the map Resource directly after the race resource, // the Map resource wont load up end addEventHandler( "onMarkerHit", root, MarkerHit) //Should start gamemode race (and map) function MarkerLeave( leaveElement,matchingDimension) local elementType = getElementType( leaveElement ) local resource = getResourceFromName ("DraqonDocks") -- |Also not working, server ignores this line, startResource( resource ) -- |as it Ignores this line too. end addEventHandler( "onMarkerLeave", root, MarkerLeave ) ChangeMode.lua > My Idea to fix this problem --Thats why i want to import the mapmanager (or the function changeGamemodeMap) --Sadly I found no useful documentation for my case. --adding <exports.mapmanager:changeGamemodeMap/> to the meta.xml of the scripts didnt work function changeGamemodeMap() changeGamemodeMap("DraqonDocks", "race") -- this doesnt work end addCommandHandler("420", changeGamemodeMap) ___________________________________________________________________________________________ It would be very kind if someone could enlight me and give me a short introduction to using mapmanagers functions properly. Sadly the Mapmanager post in wiki didnt help me too much. If you find a fix for the existing (half working) Marker.lua, then I'd be really glad too I would love to get feedback and already thank everyone
  15. Hello, I have rented a server from clans.hu (not the best tbh) And I have uploaded the exact same resources from my win server, but they wont load screenshots:
  16. So, heres my table local twonodes = {"login", "rpteszt"} local thirdnodes = {[twonodes[1]] = {"username","password", "rememberMe"}, [twonodes[2]]={"rpteszt"}} local values = {thirdnodes[twonodes[1]]={"false"}} Seems good, right?Yeah, for u,but not for Lua... ERROR: Loading script failed: loginpanel/loginpanelC:112: '}' expected near '=''
  17. У меня ошибка в одном из скриптов. Дебаг показал: attempt to perform arithmetic on local ''priceWidth" (a boolean value) Сама строка: local hearderScale = math.min(1, (resolution.x - 60 - priceWidth) / hearderWidth) Уже который день мучусь помогите решить данную проблему. Вместо priceWidth Вставлял разные числа. эфекту 0
  18. Hey, I become a Error when i try to connect to a Server. Looks like that: --------------------------- MTA: San Andreas (CTRL+C to copy) --------------------------- Error loading 'CefWeb' module! Die angegebene Prozedur wurde nicht gefunden. Pls help
  19. debugging error

    I've been posting a lot here lately, and I am sorry if I'm getting annoying. But after a whole afternoon of trying to get my script to work I'd like to get some feedback. After I learned of the existence of debugging I immediatly went ahead and tried it. I almost fixed my script, but there's one problem keeping it from working Context: Player enters vehicle and an uzi is spawned and attached to the vehicle When the player presses left mouse button the uzi starts firing When the left mouse button is released the uzi should stop firing. function hydraFunctions() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle)then if getElementModel(vehicle) == 520 then outputChatBox ("Hydra guns installed") toggleControl ( "accelerate", true ) toggleControl ( "brake_reverse", true ) toggleControl ( "vehicle_secondary_fire", false ) toggleControl ( "vehicle_fire", false ) setControlState ( "special_control_up", true) toggleControl ( "special_control_down", false) local x, y, z = getElementPosition(vehicle) local weapon = createWeapon("uzi", x, y, z) local weaponHydraR = setElementData(vehicle, "weaponHydraR", weapon, true) attachElements ( weapon, vehicle, 0, 4, 1, 0, 0, 90) setWeaponClipAmmo(weapon, 500) setWeaponFiringRate(weapon, 90) end end end addEventHandler ( "onClientPlayerVehicleEnter", getLocalPlayer(), hydraFunctions ) function hydraFiring() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle)then if getElementModel(vehicle) == 520 then if getElementData(vehicle, "weaponHydraR", true ) then setWeaponState(weapon, "firing") -- Can't seem to find the weapon outputChatBox ("guns activated") end end end end function hydraStopping() local vehicle = getPedOccupiedVehicle(localPlayer) if(vehicle)then if getElementModel(vehicle) == 520 then if getElementData(vehicle, "weaponHydraR", true ) then setWeaponState(weapon, "ready") -- Can't seem to find the weapon outputChatBox ("guns deactivated") end end end end bindKey("mouse1", "down", hydraFiring) bindKey("mouse1", "up", hydraStopping) bindKey("lctrl", "down", hydraFiring) bindKey("lctrl", "up", hydraStopping) WARNING: 1947weapons\hydraweaponC.lua:41: Bad argument @ 'setWeaponState' [Expected weapon at argument 1, got nil] WARNING: 1947weapons\hydraweaponC.lua:28: Bad argument @ 'setWeaponState' [Expected weapon at argument 1, got nil] What I think is happening: The uzi spawns perfectly fine, but for some reason the following functions (hydraFiring & hydraStopping) cannot "detect" the uzi, hence the [Expected weapon at argument 1, got nil] error message. The uzi is simply not found. Also, I read on the forums that the setElementData and getElementData should only be used with more important data (which this isn't really I guess.) Is there an alternative that I can use? Thanks for your time, -Noah
  20. when i try this code it's never insert datas into database pls help me... ) -- root = getElementRoot() addEventHandler("onPlayerLogin", root, function(_, account) outputChatBox(getPlayerName(source).." Giriş yapti.", root) local oyuncu = getPlayerName(source) local ip = getPlayerIP(source) local serial = getPlayerSerial(source) local username = getAccountName(account) local result = dbPoll( dbQuery( userdata_db, "SELECT * FROM masterdata WHERE username = ?", username ), -1 ) if type(result) ~= 0 then outputChatBox("#afafaf[#f9a52fSA:MP#afafaf] #f9a52fVeritabanina bir veri eklenmedi.",root, 255, 255, 255, true ) else dbQuery( userdata_db, "INSERT INTO masterdata VALUES (?,?,?,?,?)",username,serial,ip, '',oyuncu) end end) Console Log : Username = Asokanta WARNING: mysql/serverside.lua:22: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got nil] WARNING: mysql/serverside.lua:22: Bad argument @ 'dbPoll' [Expected dbquery at argument 1, got boolean] Username = deneme WARNING: mysql/serverside.lua:22: Bad argument @ 'dbQuery' [Expected db-connection at argument 1, got nil] WARNING: mysql/serverside.lua:22: Bad argument @ 'dbPoll' [Expected dbquery at argument 1, got boolean] I Fixed Here* It's giving only login logs but it still don't insert data in database when result isn't 0 New Console Log : LOGIN: (Everyone, Console) Asokanta successfully logged in as 'Asokanta' LOGIN: (Everyone) Asokanta successfully logged in as 'deneme' Database Screenshot :
  21. spawnPlayer, Error extraño

    Buenas, Estoy teniendo un error al momento de usar spawnPlayer, En el argumento uno no logro hacer que reconozca al jugador para spawnear. function deathspawn () fadeCamera ( getRootElement(), false, 2 ) setTimer( function() fadeCamera ( getRootElement(), true, 2 ) setCameraMatrix ( getRootElement(), 0, 0, 33, 100, 100, 3 ) spawnPlayer ( source, math.random (0,100), math.random (0,100), 10 ) -- Aqui esta el problema, no funciona con source, player o getrootelement end, 4000, 1) end addEventHandler ("onPlayerWasted", getRootElement(), deathspawn) Estaría muy agradecido de que me ayuden a encontrar el error, aun soy bastante novato.
  22. Sound of mta have problems

    My mta play sounds but, in minutes the sound make a loop and don't stop, i'm restart the mta and in minutes begins again! In my old gta sa i had tha Proxy_sa.exe and don't have a problems, but i don't know to resolve the issue of sound! Thanks!
  23. The MTA just crash only in one server

    Hi! My MTA always crashes on one server (American Villages Roleplay), with this error message: (It's partly english) Some people wrote on the server forum, that's because I using 32 bit Windows 7, not 64. But I've got a dual core processor, wich support only the 32 bit. What to do?
  24. The actual error message is on the screen-shot: http://prntscr.com/e7hjeq I forked current release from git to my local machine. Then I've run everything by "Build instruction" from readme.md. create-projects.bat was working only with regular rights - it returned "System cannot find path specified" error when running with admin rights. I compiled this thing using Visual Studio 2015 Build Tools (with Win 8.1 SDK). As I have x64 Win I used "VS2015 x64 Native Tools Command Line" shell. After compilation it returned 792 warnings and no errors. Also I've created a .bat file for final steps: " utils\premake5.exe install_data utils\premake5.exe install_resources pause" Can anyone suggest how to resolve this issue?
  25. CEF Browser showing into certain color?

    Hey there, im here cause im having some issues with CEF Browser, the problem is that isn't showing the web-site color and i don't really know why. Original: MTA Browser: