Jump to content

Search the Community

Showing results for tags 'error'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Member Title





  1. CLIENT: function cancelTazerDamage(attacker, weapon, bodypart, loss) if (weapon==24) then -- deagle local mode = getElementData(attacker, "handTaser") if (mode==true) then cancelEvent() end end end addEventHandler("onClientPlayerDamage", localPlayer, cancelTazerDamage) local cFunc = {} local cSetting = {} cSetting["shots"] = {} cSetting["shot_calcs"] = {} local last_shot = 1 cFunc["draw_shot"] = function(x1, y1, z1, x2, y2, z2) table.insert(cSetting["shots"], last_shot, {x1, y1, z1, x2, y2, z2}) local lastx, lasty, lastz = x1, y1, z1 local dis = getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) cSetting["shot_calcs"][last_shot] = {} last_shot = last_shot+1 end cFunc["wait_shot"] = function() toggleControl("fire", false) setTimer(function() toggleControl("fire", true) end, 15000, 1) end cFunc["shot_check"] = function(wp, _, _, hitX, hitY, hitZ, element, startX, startY, startZ) if(wp == 24) and (getElementData(localPlayer,"handTaser"))then cFunc["shot_weapon"](hitX, hitY, hitZ, startX, startY, startZ) cancelEvent() if(source == localPlayer) then cFunc["wait_shot"]() end end end cFunc["anim_check"] = function(attacker, wep, bodypart,loss) if(wep == 24) and (getElementData(localPlayer,"handTaser"))then local playerX,playerY,playerZ = getElementPosition(localPlayer) local targetX,targetY,targetZ = getElementPosition(source) if getDistanceBetweenPoints3D(playerX,playerY,playerZ,targetX,targetY,targetZ) <= 12 then triggerServerEvent("tazerFired", getRootElement(), source) end end end addEventHandler("onClientPlayerWeaponFire", getRootElement(), cFunc["shot_check"]) addEventHandler("onClientPedDamage", getRootElement(),cFunc["anim_check"]) addEventHandler("onClientPlayerDamage", getRootElement(),cFunc["anim_check"]) addEventHandler("onClientResourceStart",resourceRoot,function() setElementData(localPlayer, "tazed",0) end) addEventHandler("onClientRender",getRootElement(),function() if getElementData(localPlayer, "tazed") == 1 then toggleAllControls(false, false, false) toggleControl("fire", false) toggleControl("sprint", false) toggleControl("crouch", false) toggleControl("jump", false) toggleControl('next_weapon',false) toggleControl('previous_weapon',false) toggleControl('aim_weapon',false) end end) SERVER: local cFunc = {} local cSetting = {} function tazerFired(target) if (isElement(target) and getElementType(target)=="player") then fadeCamera ( target, false, 1.0, 255, 255, 255 ) setElementData(target, "tazed", 1) toggleAllControls(target, false, false, false) setPedAnimation(target, "ped", "FLOOR_hit_f", -1, false, false, true) setTimer(removeAnimation, 30000, 1, target) end end addEvent("tazerFired", true ) addEventHandler("tazerFired", getRootElement(), tazerFired) function removeAnimation(thePlayer) if (isElement(thePlayer) and getElementType(thePlayer)=="player") then fadeCamera(thePlayer, true, 0.5) if getElementData(thePlayer,"isAnim") then setElementFrozen(thePlayer,true) setPedAnimation(thePlayer,"sweet","sweet_injuredloop",-1,false,false,false) else setPedAnimation(thePlayer,nil,nil) toggleAllControls(thePlayer, true, true, true) end setElementData(thePlayer, "tazed", 0) end end I do not get any errors/warnings in debugscript 3, just simply does not working the script.. What wrong in this codes? :s
  2. My server does not appear in the list of servers, I have already tested the site at https://nightly.mtasa.com/ports/ and there everything is OK, but it does not appear in the server list, what can it be? SERVER IP: mtasa://
  3. Mam problem z MTA , ponieważ gdy włączam gre i wybiore dowolny serwer jest narazie w porządku . Gdy zaczyna się pobieranie zasobów serwera albo logowanie się do serwera następuje crash albo bluescreen i tak mam za każdym razem . Bardzo proszę o pomoc Dodam , że kilkukrotnie próbowałem przeinstalować mta i gta ale to nic nie dało. https://pastebin.mtasa.com/434512021
  4. BrunoV20


    what happens is that I change from windows to windows 10 the thing is that I get "could not create direct3d font'unifont''" and look in several places and I can not find a solution if someone could help me would be very helpful!
  5. Hello guys, i have a big problem. I created some object in interior, after the script was loaded, it did not create the objects. HERE THE SCRIPT pls help local mysql = exports.mta_connection:getConnection() local loadedRoulettePoints = 0 function createRoulettePoint(x,y,z,r,i,d,player) x = tonumber(x) y = tonumber(y) z = tonumber(z) r = tonumber(r) i = tonumber(i) d = tonumber(d) local insertQuery = dbQuery(mysql, "INSERT INTO roulettes SET position = ?", toJSON({x, y, z, r, i, d})) local insertResult, insertNumber, insertID, inti, dim = dbPoll(insertQuery, -1) local inti = getElementInterior(player) local dim = getElementDimension(player) if insertResult then temp = createObject(1978, x, y, z, 0, 0, r) if isElement(temp) then setElementData(temp, "dbid", insertID) setElementInterior(temp, inti) setElementDimension(temp, dim) setElementData(temp, "isRefill", true) for k,v in ipairs(getElementsByType("player")) do if getElementData(v,"acc:admin") >= 7 then outputChatBox("#7cc576[New - Network]:#0094ff "..getElementData(player, "char:anick").." #fffffflétrehozott egy rulett asztalt. ID:#7cc576 "..insertID,v,255,255,255,true) end end end end end addCommandHandler("createroulette", function(player) if getElementData(player, "acc:admin") >= 7 then x,y,z = getElementPosition(player) _,_,r = getElementRotation(player) i = getElementInterior(player) d = getElementDimension(player) createRoulettePoint(x,y,z,r,i,d,player) end end) addCommandHandler("delroulette", function(player) if getElementData(player, "acc:admin") < 7 then return end local id = getNearestRoulettePoint(player) local interiorka = getElementInterior(player) if id ~= -1 and getElementData(id, "isRefill") then id = getElementData(id, "dbid") interiorka = getElementData(interiorka, "dbid") end if id == -1 then outputChatBox("#D63F3E[New - Network]: #ffffffNincs a közeledben rulett asztal.", player, 0, 0, 0, true) return end local qh = dbQuery(mysql, "DELETE FROM roulettes WHERE id = ?", id) local removeResult, _, removeID = dbPoll(qh, -1) if removeResult then for k,v in ipairs(getElementsByType("player")) do if getElementData(v,"acc:admin") >= 1 then outputChatBox("#7cc576[New - Network]:#0094ff "..getElementData(player, "char:anick").." #fffffftörölt egy rulett asztalt.",v,255,255,255,true) end end for k,v in ipairs(getElementsByType("object")) do if getElementData(v, "isRefill") and getElementData(v, "dbid") == id then destroyElement(v) end end end end) function getNearestRoulettePoint(ep) local pe = {getElementPosition(ep)} local dis = 2 local dis2 = 0 local obj = -1 local type = "object" for key, value in ipairs(getElementsByType(type)) do local p2 = {getElementPosition(value)} dis2 = getDistanceBetweenPoints3D (pe[1], pe[2], pe[3], p2[1], p2[2], p2[3]) if tonumber(dis2) < tonumber(dis) then dis = dis2 obj = value end end return obj end function loadRoulettePoints(resource, object) if resource ~= getThisResource() then return end loadedRoulettePoints = 0 local loaderQuery = dbPoll(dbQuery(mysql, "SELECT * FROM roulettes"), -1) if loaderQuery then for key, value in ipairs(loaderQuery) do local id = tonumber(value["id"]) local position = fromJSON(value["position"]) local interior, dimension = getElementsByType("object") local inti = getElementInterior(interior) local dim = getElementDimension(dimension) for a, p in ipairs (getElementsByType("object")) do if p then local loadedRoulettes = createObject(1978, position[1], position[2], position[3], 0, 0, position[4]) setElementData(loadedRoulettes, "dbid", id) setElementInterior(loadedRoulettes, inti) setElementDimension(loadedRoulettes, dim) setElementDoubleSided(loadedRoulettes, true) local loadedPedPoint = createPed(123, position[1], position[2], position[3], position[4]+90) setElementData(loadedPedPoint, "dbid", id) --setElementInterior(loadedPedPoint, inti) --setElementDimension(loadedPedPoint, dim) end end loadedRoulettePoints = loadedRoulettePoints + 1 end outputDebugString(loadedRoulettePoints .. " rulett asztal betöltve.") end end addEventHandler("onResourceStart", resourceRoot, loadRoulettePoints)
  6. Hello. I think that is good to say that I have been using MTA since 2013. I uninstalled MTA and GTA San Andreas some months ago (3 or 4) and yesterday installed both. But to be honest, it's the first time I have this kind of issue: First of all, when I start up MTA, it needs several minutes to start, freezing like this: https://drive.google.com/file/d/1yA3TF_UPu_a6T6fY-NwCz72ioicJnNv8/view?usp=sharing I won't lie, some servers perfectly work and even better than they used to. But, in the most part of the servers, the MTA crashes. Sometimes I get a crash report (I couldnt get a screenshot of it, long explain :P) but the most part of times it closes for its own. Before it closes, cars seems bugy, my fps aggressively drops and MTA seems very slow. This makes me think that it is a texture problem, but like I said: I play this game since 2013 and i have never got this issue. I think that could be a version problem, so I downloaded 1.5.4 version to see what happens. It won´t solve the problem forever but it's a start... My antivirus is Microsoft Essentials, and you can see other stuff in the MTADiag pastebin: https://pastebin.mtasa.com/136010168 By the way, I have already read the MTA crashes topic (below), but my problem doesn´t fit there. Anyways, I would apreciate it if you could help me! Thanks for reading, cheers.
  7. alexeypro04

    Crash MTA

    Version = 1.5.6-release-14334.0.000 Time = Sat Sep 15 20:51:55 2018 Module = C:\Program Files (x86)\MTA San Andreas 1.5\mods\deathmatch\client.dll Code = 0xE06D7363 Offset = 0x003470D8 EAX = 0028F568 EBX=D76FFE14 ECX = 00000003 EDX = 00000000 ESI = 60C670F4 EDI = 0028F5D0 EBP = 0028F5B8 ESP = 0028F568 EIP = 76F6C54F FLG = 00200212 CS = 0023 DS = 002B SS = 002B ES = 002B FS = 0053 HELP PLEASE
  8. Whenever I go to do a dx panel this error appears ... What can I do to correct? "ERROR: Server triggered clientside event "eventoabrir", but event is not added clientside" -------------------CLIENT-------------------------- function abrir (_,state) if painel == false then showCursor(true) addEventHandler("onClientRender", root, Pdx) painel = true else showCursor(false) removeEventHandler("onClientRender", root, Pdx) painel = false end end addEvent("abrir", true) addEventHandler("abrir", root , abrir) ------------------SERVER-------------------------- local abrir = "painel" function showPanellr(thePlayer) triggerClientEvent(root, "abrir", thePlayer) end addEventHandler("onMarkerHit", mrkInicio, showPanellr)
  9. me tira error al iniciar el juego, "error 1392" y cuando estoy instalando el launcher del mta me dice que no se ha detectado una versión valida de windows para la instalacion AYUDA
  10. Hola bueno quería pedirles si me pueden ayudar con este script que ise lo que pasa es que ya funciona todos los botones y eso pero al momento de logearme me sale que esta mal la contraseña o no existe y al momento de registrarme me sale que ya existe queria saber si me ayudan a repararlo no se si es un problema de algun evento grid o algo por favor llevo todo el dia intentando y no me sale que podra ser el error cliente: GUIEditor = { button = {}, window = {}, edit = {}, staticimage = {}, label = {} } zero = "" two = "" GUIEditor.window[1] = guiCreateWindow(0.38, 0.31, 0.22, 0.32, "Login", true) guiWindowSetSizable(GUIEditor.window[1], false) showCursor(true) logon = guiCreateButton(0.03, 0.82, 0.46, 0.15, "Login", true, GUIEditor.window[1]) guiSetFont(logon, "default-bold-small") GUIEditor.button[2] = guiCreateButton(0.52, 0.82, 0.46, 0.15, "Registro", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") GUIEditor.staticimage[1] = guiCreateStaticImage(0.02, 0.06, 0.96, 0.26, ":guieditor/images/plus.png", true, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(0.41, 0.34, 0.20, 0.08, "Usuario", true, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(0.41, 0.55, 0.20, 0.08, "contraseña", true, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.edit[1] = guiCreateEdit(0.28, 0.42, 0.47, 0.11, "", true, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(0.28, 0.65, 0.47, 0.10, "", true, GUIEditor.window[1]) guiEditSetMasked ( password, true ) usuario = guiGetText ( GUIEditor.edit[1] ) guiGetText ( GUIEditor.edit[2] ) function onregister ( ) triggerServerEvent("rg",getLocalPlayer(),usuario,contra) end addEventHandler ( "onClientGUIClick", GUIEditor.button[2], onregister) function onlogin ( ) triggerServerEvent("lg",getLocalPlayer(),usuario,contra) end addEventHandler ( "onClientGUIClick", logon, onlogin) function ocu ( ) guiSetVisible( GUIEditor.window[1], false ) showCursor(false) end addEvent ( "ocultar", true ) addEventHandler ( "ocultar", getLocalPlayer(), ocu) button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "OK", true ) --Create an edit box and define it as "editBox". editBox = guiCreateEdit( 0.3, 0.1, 0.4, 0.1, "", true ) guiEditSetMaxLength ( editBox, 128 ) --the max chatbox length is 128, so force this --setup our function to output the message to the chatbox function outputEditBox () local text = guiGetText ( editBox )--get the text from the edit box outputChatBox ( contra ) --output that text end addEventHandler ( "onClientGUIClick", button, outputEditBox ) y servidor function rg(usuario,contra) if (addAccount(usuario,contra)) then triggerClientEvent(source,"ocultar",source) logIn (source,getAccount(usuario,contra),contra) else outputChatBox("la cuenta ya existe") end end addEvent("rg",true) addEventHandler("rg",getRootElement(), rg) function lg(usuario,contra) cuenta = getAccount(usuario,contra) if (cuenta) then triggerClientEvent(source,"ocultar",source) logIn (source,getAccount(usuario,contra),contra) outputChatBox("te logeaste correctamente") setCameraTarget(source) else outputChatBox("la cuenta no existe o la contraseña esta mal") end end addEvent("lg",true) addEventHandler("lg",getRootElement(), lg) addEventHandler ( "onPlayerJoin", getRootElement(),function () triggerClientEvent(source,"abrir",source) end) function setCameraOnPlayerJoin() -- slowly fade the camera in to make the screen visible fadeCamera(source, true, 5) -- set the player's camera to a fixed position, looking at a fixed point setCameraMatrix(source, -1568, 540, 80, -400000, 10000000, 99.881813049316) end addEventHandler("onPlayerJoin", root, setCameraOnPlayerJoin) addEventHandler ( "onResourceStart", getRootElement(), setCameraOnPlayerJoin )
  11. me tira error al iniciar el juego, "error 1392" y cuando estoy instalando el launcher del mta me dice que no se ha detectado una versión valida de windows para la instalacion AYUDA
  12. me tira error al iniciar el juego, "error 1392" y cuando estoy instalando el launcher del mta me dice que no se ha detectado una versión valida de windows para la instalacion AYUDA I get an error when starting the game, "error 1392" and when I'm installing the mta launcher it tells me that a valid windows version has not been detected for the installation. HELP
  13. Hi, I'm new to the forum and I hope you give me the answer to also use MTADiag and this is what means https://pastebin.mtasa.com/749116153 When I enter the game it takes me out sometimes and I get to play but then it takes me out I hope you give me the answer to this
  14. 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.
  15. function walkstyle(thePlayer) setPedWalkingStyle(localPlayer,128) end function walk ( thePlayer ) elseif isObjectInACLGroup("user."..walk, aclGetGroup("Console")) then walkstyle(thePlayer) end end addCommandHandler("walk", walk) I couldn't fix it. How can i fix this code.
  16. <catalog type="vehicle"> <group name="Latające"> <group name="Helikoptery"> <vehicle id="548" name="Cargobob" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="417" name="Leviathan" /> <vehicle id="487" name="Maverick" /> <vehicle id="488" name="News Chopper" /> <vehicle id="497" name="Policyjny Maverick" /> <vehicle id="563" name="Raindance" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="469" name="Sparrow" /> </group> <group name="Samoloty"> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="511" name="Beagle" /> <vehicle id="512" name="Cropduster" /> <vehicle id="593" name="Dodo" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="553" name="Nevada" /> <vehicle id="476" name="Rustler" /> <vehicle id="519" name="Shamal" /> <vehicle id="460" name="Skimmer" /> <vehicle id="513" name="Stuntplane" /> </group> </group> <group name="Jednoślady"> <group name="Motory"> <vehicle id="581" name="BF-400" /> <vehicle id="462" name="Faggio" /> <vehicle id="521" name="FCR-900" /> <vehicle id="463" name="Freeway" /> <vehicle id="523" name="HPV1000" /> <vehicle id="522" name="NRG-500" /> <vehicle id="461" name="PCJ-600" /> <vehicle id="448" name="Pizza Boy" /> <vehicle id="468" name="Sanchez" /> <vehicle id="586" name="Wayfarer" /> <vehicle id="471" name="Quadbike" /> </group> <group name="Rowery"> <vehicle id="509" name="Miejski" /> <vehicle id="481" name="BMX" /> <vehicle id="510" name="Górski" /> </group> </group> <group name="Łodzie"> <vehicle id="472" name="Łódź Straży" /> <vehicle id="473" name="Dinghy" /> <vehicle id="493" name="Jetmax" /> <vehicle id="595" name="Łódź Wojskowa" /> <vehicle id="484" name="Jacht 2" /> <vehicle id="430" name="Łódź Policyjna" /> <vehicle id="453" name="Reefer" /> <vehicle id="452" name="Speeder" /> <vehicle id="446" name="Squalo" /> <vehicle id="454" name="Jacht 1" /> </group> <group name="Samochody"> <group name="Sportowe"> <vehicle id="602" name="Alpha" /> <vehicle id="429" name="Banshee" /> <vehicle id="402" name="Buffalo" /> <vehicle id="541" name="Bullet" /> <vehicle id="415" name="Cheetah" /> <vehicle id="480" name="Comet" /> <vehicle id="562" name="Elegy" /> <vehicle id="587" name="Euros" /> <vehicle id="565" name="Flash" /> <vehicle id="411" name="Infernus" /> <vehicle id="559" name="Jester" /> <vehicle id="603" name="Phoenix" /> <vehicle id="560" name="Sultan" /> <vehicle id="506" name="Super GT" /> <vehicle id="451" name="Turismo" /> <vehicle id="558" name="Uranus" /> <vehicle id="555" name="Windsor" /> <vehicle id="477" name="ZR-350" /> </group> <group name="Lowridery"> <vehicle id="536" name="Blade" /> <vehicle id="575" name="Broadway" /> <vehicle id="518" name="Buccaneer" /> <vehicle id="419" name="Esperanto" /> <vehicle id="534" name="Remington" /> <vehicle id="567" name="Savanna" /> <vehicle id="535" name="Slamvan" /> <vehicle id="576" name="Tornado" /> <vehicle id="412" name="Voodoo" /> </group> <group name="2-Drzwi"> <vehicle id="496" name="Blista Compact" /> <vehicle id="401" name="Bravura" /> <vehicle id="527" name="Cadrona" /> <vehicle id="542" name="Clover" /> <vehicle id="533" name="Feltzer" /> <vehicle id="526" name="Fortune" /> <vehicle id="474" name="Hermes" /> <vehicle id="545" name="Hustler" /> <vehicle id="517" name="Majestic" /> <vehicle id="410" name="Manana" /> <vehicle id="436" name="Previon" /> <vehicle id="475" name="Sabre" /> <vehicle id="439" name="Stallion" /> <vehicle id="549" name="Tampa" /> <vehicle id="491" name="Virgo" /> </group> <group name="4-Drzwi"> <vehicle id="445" name="Admiral" /> <vehicle id="438" name="Cabbie" /> <vehicle id="507" name="Elegant" /> <vehicle id="585" name="Emperor" /> <vehicle id="466" name="Glendale" /> <vehicle id="492" name="Greenwood" /> <vehicle id="546" name="Intruder" /> <vehicle id="551" name="Merit" /> <vehicle id="516" name="Nebula" /> <vehicle id="467" name="Oceanic" /> <vehicle id="426" name="Premier" /> <vehicle id="547" name="Primo" /> <vehicle id="405" name="Sentinel" /> <vehicle id="580" name="Stafford" /> <vehicle id="409" name="Stretch" /> <vehicle id="550" name="Sunrise" /> <vehicle id="566" name="Tahoma" /> <vehicle id="420" name="Taxi" /> <vehicle id="540" name="Vincent" /> <vehicle id="421" name="Washington" /> <vehicle id="529" name="Willard" /> </group> </group> <group name="Służbowe"> <vehicle id="416" name="Ambulans" /> <vehicle id="433" name="Barracks" /> <vehicle id="427" name="Ciężarówka SWAT" /> <vehicle id="490" name="FBI" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="407" name="Straż Pożarna" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="596" name="Policja (LS)" /> <vehicle id="598" name="Policja (LV)" /> <vehicle id="597" name="Policja (SF)" /> <vehicle id="599" name="Jeep Policyjny" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> </group> <group name="Ciężkie"> <group name="=Służbowe"> <vehicle id="524" name="Ciężarówka z Cementem" /> <vehicle id="578" name="Ciężarówka 1" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="455" name="Ciężarówka 2" /> <vehicle id="530" name="Wózek Widłowy" /> <vehicle id="403" name="Ciężarówka 3" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="515" name="Duża Ciężarówka" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="514" name="Ciężarówka 4" /> <vehicle id="525" name="Holownik" /> <vehicle id="408" name="Śmieciarka" /> <vehicle id="1" name="='Zablokowane" /> </group> <group name="Przyczepy"> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="537" name="Pociąg" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="584" name='Przyczepa 1" /> <vehicle id="1" name="Zablokowane" /> <vehicle id="435" name="Przyczepa 2" /> <vehicle id="450" name="Przyczepa 3" /> <vehicle id="591" name="Przyczepa 4" /> </group> <group name="Ciężarówki"> <vehicle id="499" name="Benson" /> <vehicle id="609" name="Black Boxville" /> <vehicle id="422" name="Bobcat" /> <vehicle id="498" name="Boxville" /> <vehicle id="414" name="Mule" /> <vehicle id="600" name="Picador" /> <vehicle id="543" name="Sadler" /> <vehicle id="428" name="Securicar" /> <vehicle id="478" name="Walton" /> <vehicle id="456" name="Yankee" />żż <vehicle id="554" name="Yosemite" /> </group> <group name="Vany"> <vehicle id="1" name="Zablokowane" /> <vehicle id="482" name="Burrito" /> <vehicle id="483" name="Camper" /> <vehicle id="508" name="Journey" /> <vehicle id="418" name="Moonbeam" /> <vehicle id="582" name="News van" /> <vehicle id="413" name="Pony" /> <vehicle id="440" name="Rumpo" /> </group> <group name="Jeepy"> <vehicle id="589" name="Club" /> <vehicle id="579" name="Huntley" /> <vehicle id="400" name="Landstalker" /> <vehicle id="500" name="Mesa" /> <vehicle id="470" name="Patriot" /> <vehicle id="404" name="Perennial" /> <vehicle id="489" name="Rancher" /> <vehicle id="479" name="Regina" /> <vehicle id="442" name="Romero" /> <vehicle id="495" name="Sandking" /> <vehicle id="458" name="Solair" /> <vehicle id="561" name="Stratum" /> </group> </catalog>
  17. Hi ! I just downloaded a simple script that puts NOS into cars when u hold fire. I wanted to make it so it only works for selected serials but now i get this error : ERROR : Loading script failed: nos\nitro.lua:17: unexpected symbol near ')' Please help ! Attached code bellow Engedelyezettserial means AllowedSerials engedelyezettserial = { [""]=true, -- NoOne [""]=true, -- Mili ["9BC41DB2DB129348886FB6A5603433F2"]=true, -- Jani } g_Me = getLocalPlayer( ); g_Root = getRootElement( ); g_ResRoot = getResourceRootElement( ); addEventHandler( "onClientResourceStart", g_ResRoot, function( ) if engedelyezettserial[getPlayerSerial(thePlayer)] then bindKey( "vehicle_fire", "both", toggleNOS ); bindKey( "vehicle_secondary_fire", "both", toggleNOS ); end ) function toggleNOS( key, state ) local veh = getPedOccupiedVehicle( g_Me ); if engedelyezettserial[getPlayerSerial(thePlayer)] then if veh and not isEditingPosition then if state == "up" then removeVehicleUpgrade( veh, 1010 ); setControlState( "vehicle_fire", false ); else addVehicleUpgrade( veh, 1010 ); end end end
  18. Hello When I get inside some servers, I'll face the following: you were kicked from game (SD #28 cxj) this server does not alow wine Please help me solve this problem and I can play on Linux
  19. Hello. I have a problem with the game. When logging in to the server and when working in the Map Editor crashes with error File error reading gta3.img. From the beginning put MTA with the modified GTA SA -> Start to fly out with the same error. I put a clean GTA, installed MTA there and also changed the path to GTA SA during the installation. I go to play and the same mistake. On the Internet, I really did not find a solution to the problem. The title of the window with an error: Disconnect [CD48]. Help me please.
  20. Enju12


    Error:local isWorking = exports.CIGbusiness:getPlayerWorkingStatus(player) or false function: function viewMyJobInfo(player, key) if (getResourceFromName("CIGjobs") and getResourceState(getResourceFromName("CIGjobs")) == "running") then if (exports.CIGjobs:getPlayerJob(player) == "Pilot") then return end if (exports.CIGjobs:getPlayerJob(player) == "Trucker") then return end if (exports.CIGbusiness:getPlayerJob(player) == "Criminales") then return end if (exports.CIGbusiness:getPlayerJob(player) == "Serial Killer") then return end if (exports.CIGjobs:getPlayerJob(player) == "Farmer") then return end end if (isPedDead(player)) then return end local account = getPlayerAccount(player) if (not account) then return end local update = not key local accName = tostring(getAccountName(account)) local playerJob = exports.CIGbusiness:getPlayerJob(player) local isWorking = exports.CIGbusiness:getPlayerWorkingStatus(player) or false local jobHunt = false local bus = getBusUserData(player) if (bus) then busdata = getBusinessData(bus[1]) busStr = "Business Name: "..tostring(bus[1]).." | Employees: "..tostring(busdata[1]).." | Total Worth: "..tostring(busdata[2]) else bus = {"", 0} busStr = "Business Name: N/A | Employees: N/A | Total Worth: N/A" end local invite = getPlayerBusinessInvite(player) local changes = prepareBusinessMessages(bus[1]) local tasks = getPlayerTasks(player) if (not playerJob) then playerJob = "N/A" end triggerClientEvent(player, "CIGbusiness.viewMyInfo", player, accName, playerJob, isWorking, jobHunt, busStr, update, bus[2] > 0, bus[2] == 2 or bus[2] == 3, bus[2] == 3, invite, changes, tasks) end function beginViewMyJobInfo() viewMyJobInfo(client, "F3") end addEvent("CIGbusiness.vmji", true) addEventHandler("CIGbusiness.vmji", root, beginViewMyJobInfo)
  21. I have a problem, I tried to make a local blip for each player, that is, if you are a business owner on the server (in my case), then only you have a note of where your business is. Errors in the console are not any no, it's completely clean. ----------------------------------------------------- this is server.lua function dbCreateBusinessesCallback(queryHandle) local sql = dbPoll(queryHandle, 0) if sql and #sql > 0 then for index, sqlRow in ipairs(sql) do local pos = split(sqlRow["bPos"], ",") local bMarker = createMarker(pos[1], pos[2], pos[3], "corona", 1.5, settings["business.markerColor"][1], settings["business.markerColor"][2], settings["business.markerColor"][3], settings["business.markerColor"][4]) setElementInterior(bMarker, pos[4]) setElementDimension(bMarker, pos[5]) local timer = setTimer(businessPayout, sqlRow["bPayoutCurTime"] , 1, bMarker) setElementData(bMarker, "bData", {sqlRow["bID"], sqlRow["bName"], sqlRow["bOwner"], sqlRow["bCost"], sqlRow["bPayout"], sqlRow["bPayoutTime"], sqlRow["bPayoutOTime"], sqlRow["bPayoutUnit"], sqlRow["bBank"], timer}) local bData = getElementData(bMarker, "bData") local id, name, owner, cost, payout, payoutTime, payoutOTime, payoutUnit, bank, timer = unpack(bData) if settings["business.blip"] ~= false then if sqlRow["bOwner"] == "For Sale" then addEventHandler( 'onPlayerLogin', root, function(getPlayerAccount) setElementData( source, 'account', getAccountName(getPlayerAccount(player))); triggerClientEvent(source,"createBizBlips", source) end); end end addEventHandler("onMarkerHit", bMarker, onBusinessMarkerHit) addEventHandler("onMarkerLeave", bMarker, onBusinessMarkerLeave) local timer = setTimer(businessPayout, sqlRow["bPayoutCurTime"] , 1, bMarker) setElementData(bMarker, "bData", {sqlRow["bID"], sqlRow["bName"], sqlRow["bOwner"], sqlRow["bCost"], sqlRow["bPayout"], sqlRow["bPayoutTime"], sqlRow["bPayoutOTime"], sqlRow["bPayoutUnit"], sqlRow["bBank"], timer}) end end end ---------------------------------------------------- this is client.lua ---------------this is bind bindKey( 'i', 'both', function( key, keyState ) if keyState == 'down' then for k, v in ipairs ( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) and getElementData( v, 'bOwner' )[7] then if getElementData( v, 'bOwner' )[7] ~= '' then else createBlipAttachedTo( v, 52 ); end; end; end; else for k, v in ipairs( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) then for k, elem in ipairs( getAttachedElements( v ) ) do if getElementType( elem ) == 'bBlip' then destroyElement( elem ); end; end; end; end; createBlips() end; end ); ------------------------ And this is the second part function getPlayerByAccountName( name ) for i, v in ipairs( getElementsByType( 'player' ) ) do if getElementData( v, 'account' ) == name then return v; end; end; return false; end; function creatbBlips() local account = getAccount(owner) for k, v in ipairs ( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) and getElementData( v, 'bOwner' )[7] then if getElementData( v, 'bOwner' )[7] == getElementData( localPlayer, account) then createBlipAttachedTo( v, 52 ); end; end; end; end addEvent("createBizBlips",true) addEventHandler("createBizBlips",root,createBlips) createBlips() help me pleas :3 so, then I'm a terrible perplexity
  22. Saludos a todos. Hace dos días que tengo el mismo problema y no puedo solucionarlo.. Resulta que tengo dos ordenadores, uno lo utilizo para mis creaciones y testear el servidor (PC sobremesa) Y el otro lo utilizo unicamente como host para el servidor. Dentro del ordenador de testeo todo funciona bien y sin errores. Pero al momento de transladar el servidor al ordenador que utilizo como host, aparece el siguiente error: ERROR: DayZ\Vehicle_spawns.lua:1805: attemp to call global 'getvehicleMaxFuel' <a nil value> Sé que es un error conocido por muchos, se forma cuando intentas spawnear un vehiculo desde el panel de admin (P) Esto genera que se malogre la base de datos del servidor (Internal.db) El problema es que como dije antes, en el servidor de testeo todo funciona perfectamente. Entonces, ¿Porque me aparece este error solo en el ordenador que utilizo como Host? He intentado con Eliminar, reemplazar y hasta reparar el Internal.db, pero hasta ahora nada ha funcionado, el error sigue apareciendo .. ¿Alguna idea?
  23. Hello guys, I am wondering if you can help me with this issue please, I am running windows 10 with mta 1.5 When I launch it I get this: then windows asks to grant permissions, if I click No I get this: Here, https://wiki.multitheftauto.com/wiki/Error_Codes I can read that Error Code CL01 Associated strings MTA:SA could not complete the following task:\n\n '%s'\n Multi Theft Auto: San Andreas File:LineNumber Client\loader\CInstallManager.cpp:350 How can I solve this? If I click on Yes when windows asks to grant permissions, mta launches; but I rather have a permanent fix please, i am sure there is something wrong otherwise i would not get those windows I am showing you.
  24. il0veass2


    Guys,Whenever i try to connect to a specific server ( PUBG Servers) and start downloading,after downloading some MBs i get disconnected from the server and this error is there "Download error: Error downloading requested files. Couldn't connect to server. [Failed to connect to port 24005: Connection refused] [pb_models/data/714f17.pb] & "Download error: Error downloading requested files. Timeout was reached. [Connection timed out after 10000 milliseconds] [pb_models/data/3418ad.pb]" Please Help bros.I need a solution asap,Thanks. PS:Im new here just signed up,idk whether its a right place to post this error.
  25. hi i 've created my first menu with Guieditor and i've scripted it but after i want to test it it didn't work and i found this Error: as you can see it on the image and this is the script GUIEditor = { button = {}, window = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(519, 260, 344, 304, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit((344 - 199) / 2, (304 - 20) / 2, 199, 20, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(280, 256, 55, 26, "‗הב", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(507, 146, 0, 110, "", false, GUIEditor.window[1]) GUIEditor.edit[3] = guiCreateEdit(17, 196, 245, 86, "", false, GUIEditor.window[1]) end ) local key = "F3" bindkey(key, "down", function() guiSetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) addEventHandler("onClienGUIClick",root, if (source == GUIEditor.button[1]) guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end what do i do to fix this??
  • Create New...