Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Change isMapVisible() to isPlayerMapVisible(). https://wiki.multitheftauto.com/wiki/IsPlayerMapVisible isMapVisible is an OOP method. Used like this (if OOP is enabled): localPlayer:isMapVisible()
  3. i have a radar script here and in db 3 it shows error related to line 112: setPlayerHudComponentVisible("radar", (getElementDimension(localPlayer) == 0) and (getElementInterior(localPlayer) == 0) and getElementData(localPlayer, "player:sid") and not (getElementData(localPlayer, "player:customradar") == true) and not (getElementData(localPlayer, "notshowhud") ~= false) and not (isMapVisible())) and here is the full function: function drawRadarDisc() if isPlayerHudComponentVisible("radar") then dxSetAspectRatioAdjustmentEnabled(true) local w, h = screenW*0.156, screenH*0.182 local x, y = screenW*0.058, screenH-h-screenH*0.056 dxDrawImage(x, y, w, h, "images/radar/radar_circle.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxSetAspectRatioAdjustmentEnabled(false) end setPlayerHudComponentVisible("all",false) setPlayerHudComponentVisible("radar", false) setPlayerHudComponentVisible("crosshair",true) setPlayerHudComponentVisible("radar", (getElementDimension(localPlayer) == 0) and (getElementInterior(localPlayer) == 0) and getElementData(localPlayer, "player:sid") and not (getElementData(localPlayer, "player:customradar") == true) and not (getElementData(localPlayer, "notshowhud") ~= false) and not (isMapVisible())) end in line 112 it turns out that there is an error in defining and not (isMapVisible())) if you can fix please guide me to victory <3
  4. you mean a client mod loader right? Ye I can make that
  5. Actually i'm playing CNR servers and sometimes i want to get backup of MTA settings > Binds There's no way for that ?!! Thanks in advance
  6. Mas é pra isso que estamos aqui. A gente te ajuda a desenvolver seus próprios scripts e a corrigir bugs, mas você precisa ter a iniciativa de tentar e começar por conta própria.
  7. bro i want SARP Modloader can u give me ?
  8. This is a good tutorial series you can follow! With this information, I can't really tell what's causing the black screen issue. Try the following: - make sure you have a clean and original copy of GTA:SA - uninstall MTA fully - install MTA again and see if you still can't join the map editor - if you still can't, close MTA then go to your MTA installation folder => server and launch the MTA server executable and let me know what happens
  9. @yToPzz ele está reclamando que a variável name é nil (não existe). O erro está lá no triggerServerEvent do script client onde a variável name foi passada.
  10. How to check the recoil of a weapon. Notice that when you shoot, for example, with an ak47, it starts with a slight recoil and after 3 seconds when you hold it, you have a large recoil and it stops at this recoil, then the bullets fly in all directions when you are, for example, on poor level. Therefore, is there something to check the recoil of a given weapon so that the int changes at the time of the initial recoil and the final recoil? Maybe the getWeaponProperty function but I don't see anything that could check it because "spread" for example stops on the same recoil.
  11. Tut

    Change Serial MTA

    We want all players to use their existing serial as we use serials instead of user accounts to identify players. Therefore we're not going to help you with this issue.
  12. Hello, I would like to change my serial in mta
  13. nao fui desbanido dos 20 e nao criador de cheat e nunca fui!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! esse anti cheat ruim de voces como sempre banindo injustamente

    meu serial 

    1A16436A33465FCB83179F456D746994

    1. Vinyard

      Vinyard

      Hi, welcome to the forums.

      Ban appeals and ban-related questions/issues are no longer being handled as of 25th January. You can read more about the changes affecting this here:

      There's nothing to debate upon so please take my (short) explanation into account and cease asking about your ban as it may attract administrative punishments like it says in the topic linked above. 👍

  14. Vdd agora que me lembrei que destroy para todos os players, tentei usar o setElementVisibleTo mas não funcionou, não sei se foi por que acabei de executar uma função nele...
  15. Há um problema nesse código, ao usar o destroyElement no lado server, o marker é destruido para todos os jogadores! Por isso recomendo usar o setElementVisibleTo, ou fazer este resource em client-side ( o que eu particularmente, prefiro rs)
  16. Não exatamente o mod do ID, existe um arquivo na pasta 'deathmatch' que se chama internal.db, lá você consegue ver todos os ids/logins/seriais/senhas(criptografadas) e etc, pelo menos no servidor local é possivel alterar tudo por lá, tem que ver se nas hosts também é possivel, mas o mta não autoriza a questão de ver senhas das contas e etc.
  17. Yesterday
  18. Olá boa noite, o createElement não serve examente para o criar o marker, então aqui crei o marker novamente e coloquei a função dnv agora só encerrar o script... local MarkerIniciar = createMarker(1198.36206, -1454.21411, 13.383 -1,"cylinder",1.2,255,255,255,100) -- Cria o marker de iniciar local MarkerFinalizar = createMarker(1197.54395, -1437.23108, 13.383 -1,"cylinder",1.2,255,255,255,100) -- Cria o marker finalizar setElementVisibleTo(MarkerFinalizar, root, false) -- Oculta o marker pra todo mundo local veiculo = {} -- Variavel veiculo function inicio (thePlayer) if thePlayer and isElement(thePlayer) and getElementType(thePlayer) == "player" then -- Verifica o elemento the thePlayer if not getPedOccupiedVehicle (thePlayer) then -- Se o player não estiver em veiculo, então local quantidade = exports["[HS]Inventory_system_2"]:getItem(thePlayer, 'cafe') if quantidade == 14 then -- Verificar a quantidade de pizzas MensagemDX(thePlayer, 'Você não tem pizzas suficientes', 'error') return end if veiculo[thePlayer] and isElement(veiculo[thePlayer]) then -- Se o player estiver com a moto, então destrui-la destroyElement(veiculo[thePlayer]) veiculo[thePlayer] = nil end veiculo[thePlayer] = createVehicle(521, 1194.031, -1454.766, 13.383) -- Cria o veiculo warpPedIntoVehicle(thePlayer, veiculo[thePlayer]) -- Coloca o player dentro do veiculo if veiculo[thePlayer] and isElement(veiculo[thePlayer]) then -- Verifica se há moto if MarkerIniciar and isElement(MarkerIniciar) then -- Verifica se o marker existe destroyElement(MarkerIniciar) -- Destroi o marker de iniciar end setElementVisibleTo(MarkerFinalizar, thePlayer, true) -- Mostra o marker para o player após pegar a moto MensagemDX(thePlayer, 'Vá até o local marcado em seu mapa para fazer sua primeira entrega', 'info') end else -- Se o player tiver no veiculo, então MensagemDX(thePlayer, 'Saia do seu veiculo para pegar outro!', 'info') end end end addEventHandler("onMarkerHit", MarkerIniciar, inicio) -- Adiciona o evento ao ligar o resource function fim (player) if veiculo[player] and isElement(veiculo[player]) then -- Se há moto, então destroyElement(veiculo[player]) -- Destroy a moto setElementVisibleTo(MarkerFinalizar , player, false) -- Oculta o marker de finalizar para o player MarkerIniciar = createMarker(1198.36206, -1454.21411, 13.383 -1,"cylinder", 1.2, 255, 255, 255, 100) -- Cria o marker novamente addEventHandler("onMarkerHit", MarkerIniciar, inicio) -- Adiciona o evento da função ao marker MensagemDX(player, 'Você guardou a moto com sucesso e finalizou seu expediente', 'success') end end addEventHandler("onMarkerHit", MarkerFinalizar, fim) -- Adiciona o evento ao ligar o resource --[[ █▀▀▄ ▀▄▒▄▀ █▀▄▀█ █▀▀▀ █▀▀▀█ █▀▀▀█ █▀▀█ █▀▀█ █▀▀▀ █▀▀▀█ █░▒█ ░▒█░░ █▒█▒█ █▀▀▀ ▀▀▀▄▄ ▀▀▀▄▄ █▄▄█ █░▄▄ █▀▀▀ ▀▀▀▄▄ █▄▄▀ ▄▀▒▀▄ █░░▒█ █▄▄▄ █▄▄▄█ █▄▄▄█ █░▒█ █▄▄█ █▄▄▄ █▄▄▄█ ]]-- function MensagemDX(p, message, type) exports["[HS]Notify_System"]:notify(p, message, type) end Deixa o thanks se deu certo<3
  19. A I spoke to a staff he told me to restart my pc thank god he came back and I was going to leave the stupido discord that made me take this ban but he blocked me and his discord has a random name CLOSED TY BROS
  20. I just heard a word from my friend to inject a file into my mta and when I went to open it I ended up getting a permanent ban I didn't expect that, I depend on playing mta I can only play this my favorite game please give me one more chance I didn't know that for me it was something that didn't banish me something like he said he was going to modify some cars to make them faster and more beautiful. after entering the server it stayed for 1 minute and crashed and showed you were banned trainer I didn't understand, I spend hours a day playing a lot and my favorite game I don't know why I went to do that I'm very sad and I wanted to go back to playing a lot my serial number: 2B2E813E0C47ECCD06F468315F443882 The first one showed up for 3 days I waited for the 3 days and when I went to enter I came across a permanent I need to go back to playing I dedicate myself a lot to this game closed
  21. . Обжалование блокировок больше невозможно в связи с нашей новой политикой, с которой вы можете ознакомиться здесь:
  22. . Вы указали неверный серийный номер. Запустите MTA, откройте консоль (клавиша F8), введите serial и результат сюда. Либо можете попробовать подключиться к любому серверу и если будет отображаться время до окончания блокировки, значит бан временный.
  23. Hello, I was banned by cd46 mta TRAINER. I went to a friend's mta project and turned on a program with which you can fly, I wanted to make fun of him, after which I was banned by cd46 mta TRAINER, I'm against cheaters and I want projects to develop and there were few ATO and there were no cheaters, yes, I was also wrong to do so, and I will forgive forgiveness you and all mta players that I did this and it won't happen again, please understand and forgive.
  1. Load more activity
×
×
  • Create New...