Jump to content

Shady1

Members
  • Posts

    889
  • Joined

  • Last visited

  • Days Won

    60

Everything posted by Shady1

  1. can you try the above code
  2. mta directory /mods/deathmatch/resources (delete all files and login again),If you have installed the mod separately, I recommend removing it.
  3. https://community.multitheftauto.com/index.php?p=resources&s=details&id=652 I did a lot of research, but I didn't find much information, there was a study similar to this in the community, can you check it, maybe there is some code that will work for you ray = {} addEventHandler("onClientPlayerWeaponFire", getRootElement(), function( _, tAmmo, cAmmo, hX, hY, hZ, hElement, sX, sY, sZ) local muzzleX, muzzleY, muzzleZ = getPedWeaponMuzzlePosition(source) local targetX, targetY, targetZ = getPedTargetEnd(source) local collisionX, collisionY, collisionZ = getPedTargetCollision(source) if(collisionX) then table.insert(ray, {muzzleX, muzzleY, muzzleZ, collisionX, collisionY, collisionZ}) else table.insert(ray, {muzzleX, muzzleY, muzzleZ, targetX, targetY, targetZ}) end end) function drawRays() for i, v in ipairs( ray ) do dxDrawLine3D( v[ 1 ], v[ 2 ], v[ 3 ], v[ 4 ], v[ 5 ], v[ 6 ], tocolor( 255, 0, 0, 100 ), 2 ) end end addEventHandler( "onClientRender", root, drawRays ) bro can you test it i tested it works
  4. you can't create an unlimited range beam except for collision data this will fail
  5. "GetPedTargetCollision" can you try this function, otherwise the collision data will not be loaded GTA also doesn't load an entire map collisions,just enough
  6. yes as i think, your opinion with the server owner is about this issue, i think it might be because of a script
  7. 1 second, is this issue only on one server?
  8. I guess there is something wrong with the source files, can you stop the test by making the files?
  9. I'll be waiting for you tag me
  10. thanks, he talked to me on discord and I gave him the necessary answer but forgot to comment on the topic in the forum... Thanks for your help.
  11. Shady1

    CD16 error

    Let's wait for MTA Staff to write a response about your problem.
  12. Shady1

    CD16 error

    Nonstandard GTA file: \audio\CONFIG\TrakLkup.dat Nonstandard GTA file: \audio\streams\BEATS Nonstandard GTA file: \audio\streams\CUTSCENE a few/non-standard files. Reinstall GTA: SA with a clean, unmodified version,I don't think there is any other solution.
  13. Shady1

    CD16 error

    i want to run mtadiag again and pastebin post link
  14. Shady1

    CD16 error

    you can try a different location
  15. Shady1

    CD16 error

    Are you sure you did a clean install of the MTA again?
  16. Shady1

    CD16 error

    You are welcome, I will always help you
  17. Shady1

    CD16 error

    https://www.g2a.com/grand-theft-auto-san-andreas-steam-key-global-i10000004439009 no sales on steam,It is advantageous for you to buy a key
  18. Shady1

    CD16 error

    you should install without mods and install cleanly,You should not use GTA:SA as CRACK, it will be better for you Tag me if you have any other questions, I will help you
  19. Shady1

    CD16 error

    You must install without mods and cleanly,and if GTA:SA is crack you will have to buy the original instead. (MTA team does not recommend crack)
  20. first of all @Lalalu , welcome to the forum, it would be great if you could tag me and show a screenshot of your problem to get your opinions on this.
  21. Shady1

    CD16 error

    there are too many non-standards, you should reinstall the MTA program,to a mod-free and clean folder.
  22. oi @realasuramc, preparei um código de comando para o seu problema, quero que você o teste e tente outra tecla do teclado no lado "bindkey" (você deve atribuir outra chave em vez de "t") function mensagemRP(player, cmd, ...) local messagemFRP = table.concat ({...}," ") local name = getPlayerName(player) outputChatBox("#FF3C00[ #ffffff CDC - Chat Global #FF3C00] "..name.." #ffffff"..messagemFRP, root, 255, 255, 255, true) --efeito no chat end addCommandHandler("Global", mensagemRP) addEventHandler("onPlayerJoin", root, function() bindKey(source, "t", "down", "chatbox", "Global") end ) addEventHandler("onResourceStart", resourceRoot, function() for _,player in ipairs(getElementsByType("player")) do bindKey(player,"t", "down", "chatbox", "Global") end end )
  23. can you show the code line
×
×
  • Create New...