03-25-2011, 10:49
Code:
doTeleport()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;
{
self waittill( "DPAD_RIGHT" );
napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 3000 );
self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
self.selectingLocation = true;
self waittill( "confirm_location", location, yaw );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
if ( !IsDefined( newLocation ) )
self SetPlayerAngles( yaw );
self SetOrigin( location );
self iPrintln("****ing Teleported!");
self endLocationselection();
self.selectingLocation = false;
}
}
why doesn't that work and no im not actually using self waittill( "DPAD_RIGHT" );
I've changed DPAD_RIGHT to many things
and sorry if this is an obvious thing i know im a noob
ADD ME ON STEAM: AKNINJA612