Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/07/20 in all areas

  1. The crash is related to collisions (probably a corrupt, or extremely unoptimized, collision model) but on the server you crash on, it's rare. So it's safe to assume that there is a problem on your side, e.g GTA mods or modded models with custom collisions. I advise to re-install GTA, ensuring the game is unmodded.
    1 point
  2. Clean up your code and add comments, then I do not mind take a look at it. Currently I am looking at alien code...
    1 point
  3. Hello. Can you please download and run MTADiag? Then post the pastebin link here. It can help investigate.
    1 point
  4. if (not isGuestAccount (login)) then
    1 point
  5. function getPositionBackOfElement(element, meters) if (not element or not isElement(element)) then return false end local meters = (type(meters) == "number" and meters) or 3 local posX, posY, posZ = getElementPosition(element) local _, _, rotation = getElementRotation(element) posX = posX + math.sin(math.rad(rotation)) * meters posY = posY - math.cos(math.rad(rotation)) * meters rot = rotation - math.cos(math.rad(rotation)) return posX, posY, posZ , rot end function getPositionFrontOfElement(element, meters) if (not element or not isElement(element)) then return false end local meters = (type(meters) == "number" and meters) or 3 local posX, posY, posZ = getElementPosition(element) local _, _, rotation = getElementRotation(element) posX = posX - math.sin(math.rad(rotation)) * meters posY = posY + math.cos(math.rad(rotation)) * meters rot = rotation + math.cos(math.rad(rotation)) return posX, posY, posZ , rot end function isPlayerBehindPlayer( source,player ) local x,y,z = getElementPosition( source ) local x1,y1,z1 = getElementPosition( player ) local cx,cy,cz=getPositionBackOfElement(source, 500) local dist = getDistanceBetweenPoints3D( x,y,z,cx,cy,cz ) local dist1 = getDistanceBetweenPoints3D( x1,y1,z1,cx,cy,cz ) if dist1<dist then return true end return false end function isPlayerInFrontPlayer( source,player ) local x,y,z = getElementPosition( source ) local x1,y1,z1 = getElementPosition( player ) local cx,cy,cz=getPositionFrontOfElement(source, 500) local dist = getDistanceBetweenPoints3D( x,y,z,cx,cy,cz ) local dist1 = getDistanceBetweenPoints3D( x1,y1,z1,cx,cy,cz ) if dist1<dist then return true end return false end يتحقق اذا كان اللاعب اللي تبي قدام او ورا اللاعب اللي تبي
    1 point
  6. Buenas. Abro este hilo para poner a vista de todos, las personas que participan en estafas/scams con sus servicios de scripting. Esto es a fin de evitar hacer negocios con esta gente problematica. Para sumar una persona a esta lista, deben enviarme un PM con pruebas CONTUNDENTES (enfasis en esto, ya que no se aceptaran capturas o pruebas que no dicen nada) de que esa persona esta estafando gente. Quien desee ser removido de esta lista, tambien debe contactarme por privado con pruebas contundentes que refuten la acusacion. https://forum.multitheftauto.com/profile/47413-sticmy/ (Pide dinero por adelantado y no completa las tareas asignadas)
    1 point
×
×
  • Create New...