Jump to content

Search the Community

Showing results for tags 'help plz'.

  • 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
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. How to fade this text while I'm moving away from it? ? function jobL() for k, v in ipairs(getElementsByType("marker")) do local info = getElementData(v, "infojob") if info then local x, y, z = getElementPosition(localPlayer) local mx, my, mz = getElementPosition(v) local a, b = 50, 30 local cx, cy, cz = getCameraMatrix() if getDistanceBetweenPoints3D(x, y, z, mx, my, mz + 0.5) < 65 and isLineOfSightClear(cx, cy, cz, mx, my, mz + 0.5, true, true, false) then local sx, sy = getScreenFromWorldPosition(mx, my, mz + 0.5) if sx and sy then sx, sy = sx - a, sy - b dxDrawText(info, (sx - 30)-1, sy-1, sx-1, sy-1, tocolor(0, 0, 0, 255), 0.6, "bankgothic") dxDrawText(info, (sx - 30)+1, sy-1, sx+1, sy-1, tocolor(0, 0, 0, 255), 0.6, "bankgothic") dxDrawText(info, (sx - 30)-1, sy+1, sx-1, sy+1, tocolor(0, 0, 0, 255), 0.6, "bankgothic") dxDrawText(info, (sx - 30)+1, sy+1, sx+1, sy+1, tocolor(0, 0, 0, 255), 0.6, "bankgothic") dxDrawText(info, sx - 30, sy, sx, sy, tocolor(243, 0, 0, 255), 0.6, "bankgothic") end end end end end addEventHandler("onClientRender", root, jobL)
×
×
  • Create New...