xana Posted November 15, 2015 Share Posted November 15, 2015 Bonjour en cherchant comment rajouter une commande pour s'accroupir j'ai remarqué qu'un bout du code à était désactivé ma question est pourquoi? Et comment le refaire fonctionner? ------------------------------------------- Hello seeking how to add a command to crouch I noticed a piece of code was off my question is why? And how to run it again? -- Check for crouching --if App.window:KeyHit(Key.ControlKey) then -- crouched = not crouched --end Bizarrement sa plante donc j'ai changer un peut le code en ceci Strangely his plant so I changed the code a bit in this -- Check for crouching if window:KeyDown(Key.A) then crouched = not crouched end Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.