You are viewing our Forum Archives. To view or take place in current topics click here.
[RELEASE] Teleport Players to different locations
Posted:
[RELEASE] Teleport Players to different locationsPosted:
Status: Offline
Joined: Jul 21, 201014Year Member
Posts: 54
Reputation Power: 4
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
if(self isHost()){
self thread Teleport2();
}
}
}
Teleport2()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;;)
{
self waittill( "up" );
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 SetPlayerAngles( directionYaw );
self endLocationselection();
self.selectingLocation = undefined;
foreach( player in level.players ) {
if(player.name == "Player1") {
player SetOrigin( newLocation );
}
}
}
}
#2. Posted:
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
are you kidding this was released ages ago ?
awh well code looks different and smaller well done some rep
awh well code looks different and smaller well done some rep
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
my bad it wasnt released sorry well done
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jul 21, 201014Year Member
Posts: 54
Reputation Power: 4
the only thing i saw was teleporting people to your cross hairs not this
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jun 18, 200915Year Member
Posts: 2,513
Reputation Power: 105
Status: Offline
Joined: Jun 18, 200915Year Member
Posts: 2,513
Reputation Power: 105
very nice dude keep it up
-d1ao232
-d1ao232
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
Status: Offline
Joined: Feb 17, 201014Year Member
Posts: 1,586
Reputation Power: 66
Gmodz wrote the only thing i saw was teleporting people to your cross hairs not this
yeh i thought it was that stupid flag shit u run nd get teleported somewhere else:P
im sorry well done
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Feb 15, 201014Year Member
Posts: 1,257
Reputation Power: 53
Status: Offline
Joined: Feb 15, 201014Year Member
Posts: 1,257
Reputation Power: 53
nice release, but make it with a menu where you can select player ;)
miwin
miwin
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jul 21, 201014Year Member
Posts: 54
Reputation Power: 4
and by the way im GODLYM0DZ lol my name is Gmodz because ttg wont let me have GODLYM0DZ
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Aug 03, 201014Year Member
Posts: 1,514
Reputation Power: 70
Status: Offline
Joined: Aug 03, 201014Year Member
Posts: 1,514
Reputation Power: 70
pretty crap y would you want to teleport other players ?
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Jul 21, 201014Year Member
Posts: 54
Reputation Power: 4
callmejacck wrote pretty crap y would you want to teleport other players ?
y wouldnt you :L
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.