doufo()
{
self notifyOnPlayerCommand( "left", "+actionslot 3" );
self maps/mp/gametypes/_spectating::setSpectatePermission();
for(;
{
self waittill("left");
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self waittill("left");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
}
}
doteleport()
{
self notifyOnPlayerCommand("down", "+actionslot 2");
for(;
{
self waittill( "down" );
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
}
}
doteleport()
{
self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationSelection();
self.selectingLocation = undefined;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.