Jump to content

Search the Community

Showing results for tags 'no'.

  • 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
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 8 results

  1. I have a problem with setElementTarget recently, because I would like to make a script in which when I aim at something, "CreateWeapon" will shoot in that direction, but no matter what I do, it shoots too close or crooked. Anyone got any idea for this?
  2. sneky1337

    MTA not starting

    GTA:SA in Singleplayer is working perfectly fine, but if i want to play MTA it's not starting, when i run it it have the logo "stop playing with yourself" and then it's closing This is the MTADiag log. https://pastebin.mtasa.com/556249767
  3. Estoy siguiendo este tutorial. Al momento, tengo esto: El script está ubicado dentro de una carpeta ("client"), y el archivo se llama "gui.Lua". El meta.xml está editado de tal manera que vaya a buscar el script a cliente/gui.Lua. He reducido el script a elementos más simples para testear las partes. Al momento, solo tengo habilitada la ventana; todo el resto está removido. No funciona. No tengo errores en la consola, pero tampoco tengo una ventana en el juego. ¿Es posible que el tutorial tenga errores o esté desactualizado? ¿El error lo estoy cometiendo yo? ¿Cómo lo puedo arreglar? Descubrí que tengo muchos errores y elementos faltantes. No pude encontrar alguna función para eliminar el post.
  4. Hi I have a problem whit starting the linux server i use ubunu 19.XX the ssh says: root@server:~/mta# ./mta-server64 libncursesw.so.5: cannot open shared object file: No such file or directory ERROR: Could not load ./x64/core.so * Check installed data files. Press enter to continue... q root@server:~/mta# ldd /x64/core.so ldd: /x64/core.so: No such file or directory root@server:~/mta# ldd root/mta/x64/core.so ldd: root/mta/x64/core.so: No such file or directory root@server:~/mta# ldd x64/core.so linux-vdso.so.1 (0x00007fff41da0000) libncursesw.so.5 => not found libtinfo.so.5 => not found librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f43d12c7000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f43d1179000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f43d1158000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f43d0f6d000) /lib64/ld-linux-x86-64.so.2 (0x00007f43d164b000) #root@server:~/mta# ./mta-server64 libncursesw.so.5: cannot open shared object file: No such file or directory ERROR: Could not load ./x64/core.so * Check installed data files. Press enter to continue... root@server:~/mta# I have core.so i also try apt-get install lib32readline5
  5. 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
  6. Hey there MTA community. I've got a problem since yesterday. My MTA is like freezing when I'm trying to connect to a server, its every server doesn't work. Here my MTAdiagram: https://pastebin.mtasa.com/133209097 Waiting for fast responding, thank you.
  7. HUMAN WORLD PRO FREEROAM: 198.23.193.197:22050 SERVER PASSWORD = humanworld Scatterbrain: Someone asked me earlier... seeing as most missions are just for fun, I'd say my place is ROLEPLAY. NO RULES for regular players. You'd think that wouldn't work but we simply over power the cops, and neutralize the hackers with funny scripts. If i get enough donations I'll put the server's files on MTA community. Plenty of strangers and freaks to meet here, even if the server is empty, I've created strangers at several ? symbols everywhere including: Sweet, GTA SA myth series people. and plenty serial killers and fraudulent workers to mess with including cops., I've added jobs, and un-balenced them, and plenty more. I un-balanced the jobs because who wants to work? We are here for FUN not working for in-game cash. (We are new and just starting, so pardon me if the server has no one online!) Watch out for parked cop cars, Player cops can attach their vehicle to yours, then speed-cam ticket you. We have bases for Groups Turfing, selling drugs via a marker around ur player, We have Aliens, alien missions, ufo's and alien events. We have added a Jesus ped that can make you fly, and plenty more! The strangers and freaks include but are not limited to: The grim reaper, ISIS attacks, Racist country hicks, Cannibals, Insurance fruaders, Mountain freaks, store robbers, drug dealers, Off duty Cops, and aliens with gravity guns. Each ? is a different random event. Take the tutorial at the beach to get FREE starting money!!! My youtube account RAW VIDEO: NOTE: this video was before the major updates. This was last year. Last BIG update March/1/2017 when I uploaded all my offline mods to the server. and the Latest update was: April/14/2017 From now on I'll upload mods to MTA community, or my website humanworld.enjin.com(When it's online.), so that I may give back to the community! I use my website because it's easier to upload all my files at once, and just let you go through them. EXCLUSIVE CHEAT CODE ONLY FOR MTA FORUMS: /hang10forfree = free flying surf board. Please do not hand out cheat codes to other players. It is very rude, and ruins the game. NORMAL players must pay $25k at the beach for a surf board. TO FIND THE SERVER: Search for "HUMAN WORLD" in the in-game master server list. IF there's a password, it's 'humanworld' say Shamont sent you! before you reply to this topic... just know.... I don't care!
  8. local localPlayer = getLocalPlayer() local playerName = getPlayerName(localPlayer) function createLoginWindow() windowLogin = guiCreateWindow(0.3945,0.3646,0.2109,0.2018,"Magyar Play Szerver - Loginpanel by turbesz",true) guiSetSize(windowLogin, 270, 155, false) guiSetAlpha(windowLogin,1) labelUsername = guiCreateLabel(10,52,59,24,"Felh.név:",false,windowLogin) guiSetAlpha(labelUsername,1) guiLabelSetColor(labelUsername,255,255,255) guiLabelSetVerticalAlign(labelUsername,"center") guiLabelSetHorizontalAlign(labelUsername,"left",false) labelPassword = guiCreateLabel(10,86,59,24,"Jelszó:",false,windowLogin) guiSetAlpha(labelPassword,1) guiLabelSetColor(labelPassword,255,255,255) guiLabelSetVerticalAlign(labelPassword,"center") guiLabelSetHorizontalAlign(labelPassword,"left",false) labelInfo = guiCreateLabel(10,26,250,17,"Regizz, és jelentkezz be a játékhoz.",false,windowLogin) guiSetAlpha(labelInfo,1) guiLabelSetColor(labelInfo,255,255,255) guiLabelSetVerticalAlign(labelInfo,"top") guiLabelSetHorizontalAlign(labelInfo,"center",false) guiSetFont(labelInfo,"default-bold-small") editUsername = guiCreateEdit(79,52,181,25,"",false,windowLogin) guiSetAlpha(editUsername,1) guiEditSetMaxLength(editUsername, 50) editPassword = guiCreateEdit(79,86,181,25,"",false,windowLogin) guiSetAlpha(editPassword,1) guiEditSetMasked(editPassword, true) guiEditSetMaxLength(editPassword, 50) buttonLogin = guiCreateButton(10,121,120,21,"Bejelentkezés",false,windowLogin) guiSetAlpha(buttonLogin,1) buttonRegister = guiCreateButton(143,121,117,21,"Regisztrálás",false,windowLogin) guiSetAlpha(buttonRegister,1) guiWindowSetSizable ( windowLogin, false ) guiSetInputMode("no_binds_when_editing") guiSetVisible(windowLogin, false) addEventHandler("onClientGUIClick", buttonLogin, clientSubmitLogin, false) addEventHandler("onClientGUIClick", buttonRegister, clientSubmitRegister, false) end function resourceStart() createLoginWindow() if (windowLogin ~= nil) then guiSetVisible(windowLogin, true) else outputChatBox("Whoops, valami error történt.") end showCursor(true) guiSetInputEnabled(true) guiSetInputMode("no_binds_when_editing") end function clientSubmitLogin(button, state) if button == "left" and state == "up" then local username = guiGetText(editUsername) local password = guiGetText(editPassword) if username and password then triggerServerEvent("submitLogin", getRootElement(), localPlayer, username, password) else guiSetText(labelInfo, "Írj be felh.nevet és jelszót.") end end end function clientSubmitRegister(button, state) if button == "left" and state == "up" then local username = guiGetText(editUsername) local password = guiGetText(editPassword) if username and password then triggerServerEvent("submitRegister", getRootElement(), localPlayer, username, password) else guiSetText(labelInfo, "Írj be felh.nevet és jelszót.") end end end function hideLoginWindow() guiSetInputEnabled(false) guiSetVisible(windowLogin, false) showCursor(false) end function unknownError() guiSetText(labelInfo, "Ismeretlen hiba.") end function loginWrong() guiSetText(labelInfo, "Hibás adatok.") end function registerTaken() guiSetText(labelInfo, "Felhasználó név regisztrálva van.") end guiSetInputMode("no_binds_when_editing") addEvent("hideLoginWindow", true) addEvent("unknownError", true) addEvent("loginWrong", true) addEvent("registerTaken", true) addEventHandler("hideLoginWindow", getRootElement(), hideLoginWindow) addEventHandler("unknownError", getRootElement(), unknownError) addEventHandler("loginWrong", getRootElement(), loginWrong) addEventHandler("registerTaken", getRootElement(), registerTaken) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), resourceStart) i added one more line this: guiSetInputMode("no_binds_when_editing") but.. binds working when i type my name, and pass, why? how to fix?
×
×
  • Create New...