Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Black Ops 2 - GSC Studio by iMCSx
- *
- * Name : ks_double_jump
- * Description : Double Jump
- * Date : 2014/12/02 - 19:44:33
- *
- */
- doDoubleJump()
- {
- self endon("disconnect");
- self endon("death");
- self iPrintlnBold("Your Exo is Online! You can double jump!");
- for(;;)
- {
- if(self jumpButtonPressed() && !self isOnGround && self.jumpT == 2)
- {
- self setVelocity(self getVelocity()+(0, 0, 999));
- }
- wait 0.3;
- }
- }
- doubleJumpT()
- {
- self endon("death");
- self.jumpT = 0
- for(;;)
- {
- if(self.jumpT = 0 && self jumpButtonPressed())
- {
- self.jumpT++;
- }
- wait 0.3;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment