Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.78 KB | None | 0 0
  1. doTeleport()
  2. {
  3.         self notifyOnPlayerCommand( "[{+actionslot1}]", "+actionslot 1" );
  4.  
  5.         for(;;)
  6.         {
  7.                  self waittill( "[{+actionslot1}]" );
  8.                  self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
  9.                  self.selectingLocation = true;
  10.                  self waittill( "confirm_location", location, directionYaw );
  11.                  newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
  12.                  self SetOrigin( newLocation );
  13.                  self SetPlayerAngles( directionYaw );
  14.                  self iPrintlnBold("f***ing Teleported!");
  15.                  self endLocationselection();
  16.                  self.selectingLocation = undefined;
  17.  
  18.         }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement