Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do_boost_jump()
- {
- while(true)
- {
- if( self isOnGround() )
- {
- break;
- }
- if( self UseButtonPressed( "&&1" ) )
- {
- self PlaySound("boost_jump");
- player_angle = self getplayerangles() * 500;
- player_angle = (0,player_angle[1],0);
- player_direction = AnglesToUp(player_angle) * 750;
- for(i = 0; i < 6; i++)
- {
- self SetVelocity( self getVelocity() + player_direction );
- wait .1;
- }
- while( self isOnGround() == false )
- {
- wait .1;
- }
- break;
- }
- wait .1;
- }
- self thread aw_exo_boost();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement