Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doTeleport()
- {
- self notifyOnPlayerCommand( "[{+actionslot1}]", "+actionslot 1" );
- for(;;)
- {
- self waittill( "[{+actionslot1}]" );
- self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
- self.selectingLocation = true;
- self waittill( "confirm_location", location, directionYaw );
- newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
- self SetOrigin( newLocation );
- self SetPlayerAngles( directionYaw );
- self iPrintlnBold("f***ing Teleported!");
- self endLocationselection();
- self.selectingLocation = undefined;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement