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

  1. Hello, I would like to know if you can help me ... My MTA is not coming out sound, but the GTA yes, I would like you to help me because I'm with this problem a year ago
  2. am trying to make script that allows only staffs(or acl i chose) to enter such vehicles and it would be great if somone teach me how to make players pays amount of money to spawn them this is what i made but it's not working SCRIPT ERROR: carpriv\server.lua:4: ')' expected near 'then' } script: staffcar = { [432]=true,[425]=true,[520]=true,[599]=true } function enterVehicle ( player, seat, jacked ) if ( staffcar[getElementModel(source)] ) and ( not isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ("Admin") ) then cancelEvent() outputChatBox ( "only acl can enter this!", player ) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )
  3. function outputChatBoxRemote ( playerName, message, type, serverport ) outputChatBox ( "From " .. playerName .. " on " .. serverport .. ": " .. message ) return "hello sailor" end function finishedCallback( responseData, errno ) responseData = tostring(responseData) if responseData == "ERROR" then outputDebugString( "callRemote: ERROR #" .. errno ) elseif responseData ~= "hello sailor" then outputDebugString( "callRemote: Unexpected reply: " .. responseData ) else end end function playerChat ( message, type ) callRemote ( "87.229.77.40:22030", getResourceName(getThisResource()), "outputChatBoxRemote", finishedCallback, getPlayerName(source), message, type, getServerPort() ) end addEventHandler ( "onPlayerChat", getRootElement(), playerChat ) This is the code, but does not working.. what wrong?
  4. arkanbear

    Mega Help!!!!

    Please help me : When turning on the MTA it's all cool but on the 2nd monitor the screen gets tiny with the desktop and when I go to dial the servers that everything is huge as I enter a server, all the things that should be normal are huge. I tried everything I reinstalled mta and gta san andreas You have a scum here: https://imgur.com/a/Yrpk3 And another screen from diagmta: https://pastebin.mtasa.com/676804208 I am Polish and the text is provided by the translator if there is any mistake in the sentence, I'm sorry
  5. Hello have local chat in freeroam server I am new at this I try to make it look in one dimension. For example, if I am in dimension 5, only those in dimension 5 can see it Help please chat_range=100 addEventHandler("onPlayerJoin",getRootElement(), function () bindKey(source,"u","down","chatbox","Local") end) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"u","down","chatbox","Local") end end) function isPlayerInRangeOfPoint(player,x,y,z,range) local px,py,pz=getElementPosition(player) return ((x-px)^2+(y-py)^2+(z-pz)^2)^0.5<=range end function onChat(player,_,...) local px,py,pz=getElementPosition(player) local dm = getElementDimension(player) local msg = table.concat({...}, " ") local nick=getPlayerName(player) local r,g,b = getPlayerNametagColor(player) for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,chat_range) then outputChatBox("(Local) "..nick..": "..msg,v,r,g,b,true) end -- outputServerLog("(Local) "..nick..": "..msg,true) end end addCommandHandler("Local",onChat)
  6. JagleW

    Lags of MTA

    When I play MTA my game lags (drop of fps). From 60 - 10-15 fps for 0.5 second. MTA Diag here: https://pastebin.mtasa.com/745717533
  7. Hello, I want it to be impossible to shoot while this / afk I use toggleControl (player, "fire", false) but this bug in freeroam server ( I think) and allow to shoot HELP please addEventHandler("onPlayerJoin",getRootElement(), function () setElementData(source,"afk_state","back") setElementData(source,"HideState","disabled") setElementData(source,"tafk",false) end) addEventHandler( "onResourceStart", getResourceRootElement(getThisResource()), function () for i,v in pairs (getElementsByType("player")) do setElementData(v,"afk_state","back") setElementData(v,"HideState","disabled") setElementData(v,"tafk",false) end end) function afkstart(player) local vida = getElementHealth ( player ) local x, y, z = getElementPosition ( player ) local interior = getElementInterior (player ) local dim = getElementDimension (player) if getElementData(player,"afk_state") == "back" then if vida < 35 then return outputChatBox ("No puedes ir AFK con la vida baja!",player,255,0,0) end if getElementData (player, "tafk", true) then outputChatBox ('#00FF00Espere 10 segundos...',player,255,0,0,true) return end local id2 = getPedWeapon (player) triggerClientEvent(player,"god_mode",player) setElementFrozen(player,true) setPlayerNametagText (player, "|AFK|" .. getPlayerName (player)) outputChatBox(getPlayerName(player).." #ffff00 is AFK!",getRootElement(),255,50,0, true) setElementData(player,"afk_state","afk") if id2 > 0 then giveWeapon (player, 0, 1, true) end theMarker = createMarker ( x, y, z-1.5, "cylinder", 1.5, 0, 255, 0, 170 ) setElementInterior(theMarker, interior, x, y, z-1.5) setElementDimension(theMarker, dim, interior, x, y, z-1.5) toggleControl (player, "fire", false) toggleControl (player, "next_weapon", false) toggleControl (player, "previous_weapon", false) toggleControl ( player, 'vehicle_fire', false ) toggleControl (player, "aim_weapon", false) bindKey (player,"w","down","noafk") bindKey (player,"d","down","noafk") bindKey (player,"s","down","noafk") bindKey (player,"a","down","noafk") bindKey (player,"num_0","down","noafk") bindKey (player,"lctrl","down","noafk") --bindKey (player,"mouse1","down","noafk") bindKey (player,"arrow_u","down","noafk") bindKey (player,"arrow_d","down","noafk") bindKey (player,"arrow_l","down","noafk") bindKey (player,"arrow_r","down","noafk") if getPedOccupiedVehicle(player) then fixVehicle(getPedOccupiedVehicle(player),true) setElementFrozen(getPedOccupiedVehicle(player),true) setVehicleDamageProof(getPedOccupiedVehicle(player),true) end setElementData (player, "tafk",true) setTimer (setElementData, 10000, 1, player, "tafk", false) end end addCommandHandler("afk", afkstart ) function afkend(player) if getElementData(player,"afk_state") == "afk" then setElementData(player,"afk_state","back") triggerClientEvent(player,"disable_god_mode",player) setElementFrozen(player,false) setPlayerNametagText (player, "" .. getPlayerName (player)) outputChatBox(getPlayerName(player).." #ffff00is back!",getRootElement(),0,255,0, true) toggleControl (player, "fire", true) toggleControl (player, "next_weapon", true) toggleControl (player, "previous_weapon", true) toggleControl ( player, 'vehicle_fire', true ) toggleControl (player, "aim_weapon", true) destroyElement(theMarker) unbindKey (player,"w","down","noafk") unbindKey (player,"d","down","noafk") unbindKey (player,"s","down","noafk") unbindKey (player,"a","down","noafk") unbindKey (player,"num_0","down","noafk") unbindKey (player,"lctrl","down","noafk") --unbindKey (player,"mouse1","down","noafk") unbindKey (player,"arrow_u","down","noafk") unbindKey (player,"arrow_d","down","noafk") unbindKey (player,"arrow_l","down","noafk") unbindKey (player,"arrow_r","down","noafk") if getPedOccupiedVehicle(player) then setElementFrozen(getPedOccupiedVehicle(player),false) setVehicleDamageProof(getPedOccupiedVehicle(player),false) end end end addCommandHandler("noafk", afkend ) addEventHandler( "onResourceStop", getResourceRootElement(getThisResource()), function () for i,v in pairs (getElementsByType("player")) do setElementData(v,"afk_state","back") setElementData(v,"HideState","disabled") setElementData(v,"tafk",false) end end)
  8. I want make a script, which plays sound from youtube.. But.. there is no one converter which would work.. How to use a converter as sound player? Anyone can help?? Sorry for my bad english..
  9. stPatrick

    Crashes

    Hello! About two weeks ago, every player are crashing. This is a continuous report and everyone is affected, even those who have not crashing formerly. The MTA closes and does not write any crash information. (No script errors)
  10. arkanbear

    Mta Crashing

    My MTA suspends after one hour or a window pops up about the program crashing Help!!!!!!!!! https://pastebin.mtasa.com/952249016
  11. I need help with the creation of the pubg zone, as I do not know how to create it, because I would like very much to be told about methods for the creation of this and what other functions should I have. I would apprecriate it too.
  12. There's a shader and a simple float4x4 array in it. I just want to set the array's values with dxSetShaderValue. How should I do this? float4x4 thisBoneMatrix[6] = { float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) };
  13. Hi there. Annó programozgattam Lua-t de abba hagytam egy kis időre(két év) és szeretnék hozzá fogni megint, de ehhez kéne egy olyan ember segítsége aki mostanában is foglalkozik vele és türelmesen tovább adja a tudását. Komolyan gondolom naponta fél - 1 órát(nem nagy szám de a suli stb..) szívesen rászánnék persze az iskola mellett mindenkinek van más dolga. Szóval van egy kevés tudásom benne de szeretném megint elkezdeni és akár ha egy idő múlva fellendülök szívesen segítenék én is! (Bocsi ha rossz helyre nyitom a topicot!!) Köszönöm! Feri.
  14. Hey guys. I tried to killTimer after a player gets back to his jobcar. But it doesn't work for me. there isn't even a outputChatBox (I tried it out but deleted it for this showing) local Timer= setTimer( function () JobIcon=createBlip(1611.9,-1891.8,13.60,40, 1, 0, 0, 0, 255, 0, 99999.0) outputChatBox("Der Job wurde beendet!",myPlayer,255,0,0) destroyElement(jobcar) destroyElement(markers1) end,5000,0) end addEventHandler("onPlayerVehicleEnter",getRootElement(), function(vehicleID,leftSeat,jackerPlayer) local vehicleJ=getPedOccupiedVehicle(thePlayer) --jobcar is defined at the top of my script as 'createVehicle(512,....)-- if vehicleJ == jobcar and isTimer(Timer) then killTimer(Timer) end outputChatBox("Du bist rechtzeitig zurückgekehrt!",myPlayer,0,255,0,true) outputChatBox("Drücke 'B' um die Warnleuchte einzuschalten!",myPlayer,255,135,10,true) end) local Timer= setTimer( function () JobIcon=createBlip(1611.9,-1891.8,13.60,40, 1, 0, 0, 0, 255, 0, 99999.0) outputChatBox("Der Job wurde beendet!",myPlayer,255,0,0) destroyElement(jobcar) destroyElement(markers1) end,5000,0) end addEventHandler("onPlayerVehicleEnter",getRootElement(), function(vehicleID,leftSeat,jackerPlayer) local vehicleJ=getPedOccupiedVehicle(player) --jobcar is defined at the top of my script as 'createVehicle(512,....)-- if vehicleJ == jobcar and isTimer(Timer) then killTimer(Timer) end outputChatBox("Du bist rechtzeitig zurückgekehrt!",myPlayer,0,255,0,true) --translation: You came back in time! -- outputChatBox("Drücke 'B' um die Warnleuchte einzuschalten!",myPlayer,255,135,10,true) end)
  15. I need a function that calculates ped's bone matrices. (bone_attach functions doesn't work) I'm working on a shader that actually can move a ped's bone.
  16. function auto ( ) if getElementData ( source, "carLicense" ) then outputChatBox ( "#FF0000-Auto Escola-#FFFF00Você já passou No Teste!", source, 200, 0, 0, true ) else vedro = createVehicle ( 479, 1615.8929443359,-1135.5010986328,23.90625,0,0,0 ) setElementInterior (source,0) setElementDimension (source,0) acc = getPlayerAccount ( source ) setAccountData ( acc, "carLicense", "1" ) setElementData ( source, "carLicense", true) warpPedIntoVehicle ( source, vedro ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Você começou O Teste.", source, 255, 0, 0, true ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Siga os Marcadores Vermelhos Para completar O Teste.", source, 255, 0, 0, true ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Boa Sorte No Teste ", source, 255, 0, 0, true ) function killt(thePlayer) theVehicle = getPedOccupiedVehicle ( thePlayer ) id = getElementModel ( theVehicle ) if id == 479 then account = getPlayerAccount ( thePlayer ) setAccountData ( acc, "carLicense", "0" ) setElementData ( thePlayer, "carLicense", false) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Voce nao passou no teste.", thePlayer, 255, 0, 0, true ) veh = getPedOccupiedVehicle ( thePlayer ) destroyElement (veh) setElementPosition(source,2442.2177734375, -1969.490234375, 13.546875) end end addEventHandler ( "onVehicleStartExit", getRootElement(), killt ) triggerClientEvent ( source, "startExaming", source ) end end addEventHandler( "markers", getRootElement(), auto ) Me ajudem quero fazer com que quando o jogador sair do veiculo ele seja levado para o local de onde saiu, irá teleporta para onde começou o teste. E os marcadores seja deletado Help me, I want to make sure that when the player leaves the vehicle he is taken to where he left, he will teleport where he started the test. And the markers are deleted function killt(thePlayer) theVehicle = getPedOccupiedVehicle ( thePlayer ) id = getElementModel ( theVehicle ) if id == 479 then account = getPlayerAccount ( thePlayer ) setAccountData ( acc, "carLicense", "0" ) setElementData ( thePlayer, "carLicense", false) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Voce nao passou no teste.", thePlayer, 255, 0, 0, true ) veh = getPedOccupiedVehicle ( thePlayer ) destroyElement (veh) setElementPosition(source,2442.2177734375, -1969.490234375, 13.546875) Oque eu fiz de errado aqui? What did I do wrong here?
  17. Alguem aqui do MTA, tem um mod ou scrift de radar de transito ou radar movel ? Estou fazendo um servidor RPG e preciso de um radar
  18. Ajuda ai gente meu mouse no mta fica puxando pra baixo toda vez que miro
  19. Marcos^v7

    MTA CRASH

    Version = 1.5.5-release-11815.4.004 Time = Sun Mar 18 09:22:23 2018 Module = C:\Games\GTA\proxy_sa.exe Code = 0xC0000005 Offset = 0x00349B7B EAX=00000000 EBX=0DD462F0 ECX=00000000 EDX=0022FC00 ESI=0DD62558 EDI=00000008 EBP=00000000 ESP=0022FB9C EIP=00749B7B FLG=00010202 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 How can I fix this? pls
  20. I not found on community.. Then where can i download Trials maps? Sorry for my bad english.
  21. I want create a sound requester script, but how to convert yt link to mp3 with script? Sorry for my very bad english.
  22. I want if ghost account when the player joins can not talk only when login اريد عندما يتخل احد السيرفر لايستطيع التحدث عندما يسجل دخولة يستطيع التحدث مثال: اذا كتبت :Hi يقول لي السيرفر :Login First اتمنا احد يستطيع مساعدتي
  23. Bad English; Hello people, Today I would like to help modify the script called "Race Ghost" which fulfills the function of when in a DM map it stays in the foreground as a copy of a "ghost" that copies every movement made by it player and it is repeated every time the race is played until someone surpasses the first place and another "ghost" is created. What I like is what I like: what I like to modify is that from time to time he only creates a "ghost" in the foreground, creates a ghost for each part made by each person (that is, infinite "ghosts"). Link of the Script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=665. Why: I would appreciate it if either of you had the ability to do so. Many thanks !!! . Spanish: Hola gente, Hoy me gustaría si me pueden ayudar a modificar un script llamado "Race Ghost" el cual cumple la función de cuando en un mapa DM se queda en el primer top queda como una copia de un "fantasma" que copia cada movimiento hecho por el mismo jugador y se repite cada vez que se juega la carrera hasta que alguien supere el primer top y se cree otro "fantasma". Lo que a mi me gustaría modificar: Lo que me gustaría modificar es que de en vez de que cree solo un "fantasma" por el primer top, cree un fantasma por cada top hecho por cada persona (osea infinitos "fantasmas". Link del Script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=665 . El porqué: Agradecería de cualquier forma que se necesite el poder ayudarme ya que esta idea la tengo hace mas de 3 años y aun no he podido efectuarla. Muchísimas gracias!!!
  24. AnYone have this ariosjentu's resource Pls give me His link is broken
  25. I want create this effect: Effect with a dx image. But i don't know, how to make this possible.. Anyone can help?