karer Posted July 22, 2012 Posted July 22, 2012 Hi! How I can change walking with running? (WSAD = walking, ALT - running) When I click W, i walk forward. When I hold ALT and click W, i run forward. Thanks
Castillo Posted July 22, 2012 Posted July 22, 2012 The "WSAD" controls are default from GTA, and you run with "Space" key. P.S: What has this to do with Scripting?
Jaysds1 Posted July 22, 2012 Posted July 22, 2012 , Karer, sorry, but this isn't scripting, Go to your "Settings --> Binds" after, just change the controls in there.
Jaysds1 Posted July 22, 2012 Posted July 22, 2012 Topic moved to "Support for MTA:SA 1.x > Client". , thanks Solid
karer Posted July 22, 2012 Author Posted July 22, 2012 No, I need a script, that replace running (default: w) with walking! Normal: wsad - RUN alt - walk I need: wsad - WALK alt - run
Jaysds1 Posted July 22, 2012 Posted July 22, 2012 why? Anyways, try using these: unbindKey bindKey setControlState BTW, Sorry Solid for making this difficult.
karer Posted July 22, 2012 Author Posted July 22, 2012 addCommandHandler("change", function(player, cmd) unbindKey(player, "lalt", "down", "Walk") bindKey(player, "lalt", "down", "***") end) And what I must replace with *** ? I can't find this...
MTA Team qaisjp Posted July 22, 2012 MTA Team Posted July 22, 2012 Not possible unless you use animations.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now