(adsbygoogle = window.adsbygoogle || []).push({});
teleportto()
{
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 iPrintlnBold("^3Teleported");
}
I decided to make this because most patches have two options that do the same thing e.g. teleport one person to another. ( bring to me, teleport to ) so i thought it would be useful if the code was upgraded.