Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Unicon 0.31 KB | None | 0 0
  1.             if (Role == ROLE_Authority || Role < ROLE_Authority)
  2.             {
  3.                 if (PlayerInput.aUp != 0 && JumpDelay >= 0.5) // Peu sauter toute les 0.5 secondes
  4.                     Character.DoJump();
  5.                 Character.ApplyImpulse( Impulse, 100, Character.Location);
  6.                 SetLocation(Character.Location);
  7.                 Character.SetRotation(Rotation);
  8.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement