Jump to content

Search the Community

Showing results for tags 'player speed'.

  • 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. local sprint = true function updateSprint () local state = getControlState ( "forwards" ) local playeR = getLocalPlayer() local speedx, speedy, speedz = getElementVelocity (playeR) if state and sprint == false then setElementVelocity(playeR, speedx * 2, speedy * 2, speedz) elseif sprint == true then return end end addEventHandler ( "onClientElementStreamIn", getRootElement(), updateSprint ) function startSprint() if sprint then sprint = false else sprint = true end end bindKey ( "mouse2", "down", startSprint ) im not even sure im going the right way about this but its not seeming to work
×
×
  • Create New...