Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 29/09/20 in all areas

  1. Change back camera's target to localPlayer, with setCameraTarget.
    2 points
  2. Na verdade é bem simples por meio de código. Vc só precisa saber o ID do objeto e informar uma coordenada bem próxima ao objeto, não precisa ser exatamente no centro do objeto. Para descobrir o ID de um objeto que não é selecionável, dai é algo mais complexo que exige ferramentas externas. Para isso, vamos no site http://dev.prineside.com e clicamos no botão Model Search by Map Position. Após selecionada a posição no mapa, ele vai mostrar todos os objetos (selecionáveis e não selecionáveis) em um raio de 500 metros, em ordem dos mais próximos para os mais distantes. Na lista que aparecer, encontre o objeto que você deseja remover e anote o ID desse objeto. Descobrimos o ID do objeto, e agora? Agora já passou a parte mais difícil, o resto é programar um script básico de remoção de objetos por ID. Para isso vamos usar a função RemoveWorldModel. Essa função é bem simples de se usar, basta informar o ID do objeto a ser removido, o raio cuja remoção será aplicada e as coordenadas do ponto onde vai começar a remoção. Se você quiser restaurar o objeto quando o script for desligado, use RestoreWorldModel. Ideal para colocar em scripts de mapas, casas ou bases. O script funciona tanto em server-side quanto em client-side, mas em geral utiliza-se server-side. O Script deve ficar como esse: function removeBagulho () removeWorldModel (5681, 15, 1911.3, -1776.25, 13.38) --Remove o objeto do lava-jato próximo ao posto de LS quando o resource é iniciado. end addEventHandler ("onResourceStart", getResourceRootElement(getThisResource()), removeBagulho) function restauraBagulho () restoreWorldModel (5681, 15, 1911.3, -1776.25, 13.38) --Restaura o objeto quando o resource é desativado. end addEventHandler ("onResourceStop", getResourceRootElement(getThisResource()), restauraBagulho) Esse script vc adiciona junto com o resource do seu mapa. Você pode optar por deixar isso em um script separado ou deixar junto com algum script que vc já tenha no seu mapa por exemplo scripts de portões, server-side. Vlw, flw. Deixe seu LIKE se ajudou você. Dúvidas comente abaixo.
    1 point
  3. 1 point
  4. This is wrong. Try: addCommandHandler('leave', function (player) setCameraTarget(player) end )
    1 point
  5. Show me the code you used to test
    1 point
  6. For you set the camera target to yourself, try using setCameraTarger function.
    1 point
  7. local left = 10 -- تحقق مكان الوقوف بجهة اليسار local right = 400 -- تحقق مكان الوقوف بجهة اليمين local xpos = right -- احداثيات البدايه يسار او يمين انا مخليها تبدء من اليمين -- اليوزفل function DxDrawMove(i) if xpos < left then xpos = left elseif xpos > right then xpos = right end xpos = xpos+tonumber (i == 'left' and -3 or i == 'right' and 3 ) return xpos end -- اللوحه تتحرك يمين عند الضغط علي زر اف 3 function dx1() dxDrawImage(DxDrawMove('right'),250, 354, 270, "image.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) end -- اللوحه تتحرك يسار عند الضغط علي زر اف 3 function dx2() dxDrawImage(DxDrawMove('left'),250, 354, 270, "image.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) end -- فتح اللوحه bindKey("F2","down", function () if v then addEventHandler("onClientRender", root,dx1) removeEventHandler("onClientRender", root,dx2) else addEventHandler("onClientRender", root,dx2) removeEventHandler("onClientRender", root,dx1) end v = not v end ) جرب
    1 point
  8. شطور المهم انك تكون ارتحت وهي ارتاحت انا فيوم من الايام اكون غلطان لو برمجت لاحد شي بدون مقابل لأنك لو شاريه ما كانن صار كذاا
    1 point
  9. We both know that your activities (attempted cheat development) are way bigger than your appeal presents it. Also, we have seen some of your messages regarding this ban elsewhere and confirmed that you were lying about the extent of your activities. For months, you've been carrying out these activities, which included trying to create cheats and bots for MTA. In order to keep trying to bypass detection and work on your projects, you wanted to spoof your serial (as you described) and all this time we have been stopping you. Yes, you got a couple of tempbans as a result of your projects being detected. But later, when we saw what you were doing, and recognizing you from earlier cheat development activity, we decided to manually extend the ban and make it permanent. You're not someone that wants to play legit - you're a known cheating scene developer, using aliases on the web: "a8pure / navewindre / duxe" while creating and spreading cheats for other multiplayer games. Even so, we won't forgive you and you will remain permanently banned. Just admit it, MTA anti-cheat is better than you, and you can spread the word & find another game to hack. Ban appeal denied @duxeyo
    1 point
  10. 1. Temporary bans cannot be appealed. Temporary bans are a result of anti-cheat detection for trying to cheat, and everyone, including you, is lying about the reason or what they did. 2. Always include your MTA serial (F8 > "serial") when posting an appeal. In this case it's not neccesary, because of point 1. Wait for the ban to expire, locked.
    0 points
×
×
  • Create New...