(adsbygoogle = window.adsbygoogle || []).push({});
self.option[][] = "Teleport Player";//Player Menu
self.function[][] = ::teleport01;//Player Menu
teleport01(){
player = level.players[self.selplay];
self beginLocationSelection( "map_artillery_selector" );
self.selectingLocation = true;
self waittill( "confirm_location", location );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
player SetOrigin( newLocation );
self endLocationSelection();
self.selectingLocation = undefined;
player iPrintln(level.hostname+ "^2Just Teleported You^0!" );
self iPrintln("You Just Teleported "+player.name+"^0!" );
}
Its a simple script. It allows you to teleport the player to a desired selected location on the map
Again, let me know of unknown functions... ENJOY