Jump to content

Search the Community

Showing results for tags 'interpolatebetween'.

  • 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 3 results

  1. Quero que quando apertar uma tecla e a barra estiver um uma posição específica ele execute outra função gostaria de saber como fazer para saber quando a barra estiver na area do alvo Essa é a forma que estou fazendo a barra : local screenW, screenH = guiGetScreenSize() local painel = false function hacking() barra = interpolateBetween(0, 0, 0, 0.1695, 0, 0, (getTickCount()-tick)/3000, "Linear") dxDrawRectangle(screenW * 0.4156, screenH * 0.7139, screenW * 0.1695, screenH * 0.0444, tocolor(0, 0, 0, 180), false) dxDrawRectangle(screenW * 0.4742, screenH * 0.7139, screenW * 0.0109, screenH * 0.0444, tocolor(255, 255, 255, 180), false) -- Alvo dxDrawRectangle(screenW * 0.4156, screenH * 0.7139, screenW * barra, screenH * 0.0444, tocolor(0, 255, 0, 255), false) end function starting () tick = getTickCount() if painel == false then addEventHandler ( "onClientRender", root, hacking ) painel = true else painel = false removeEventHandler ( "onClientRender", root, hacking ) end end addCommandHandler("iniciar",starting)
  2. I have an understanding in the topic the only thing that I dont get is the fprogress please can explain me with detail why they use getTickCount() and add subtract and devide to get that progress I just dont get it, thank you...!!! please not mean comments not everybody is an einstein at everything and dont say look at the wiki the wiki dont explain with details.
  3. i need someone to explain me how does interpolateBetween work and how can it be applied and on what please and thank you. i want to make a script that shows credits like in the movies where credits go from the bottom to the top crossing the screen. like that or can someone tell me if its possible PLEASE AND THANK YOU image
×
×
  • Create New...