Thread: teleport

Results 1 to 6 of 6
  1. #1
    cod1's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Have you checked the roof?
    Posts
    167
    Reputation
    10
    Thanks
    7
    My Mood
    Sneaky

    teleport

    i want to make this host only how could i do that i only do mods for every one so i never done a host only mod
    Code:
    doTeleport()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self notifyOnPlayerCommand("N", "+actionslot 1");
    
        for(;;)
        {
            self waittill( "N" );
            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;
        }
    }

    Don't look!!!

    You looked

  2. #2
    ViktorFr's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    6
    same i wanna know how to make it host only

  3. #3
    Tuhoaja's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Finland?
    Posts
    28
    Reputation
    10
    Thanks
    3
    If your using mod menu its easy. Add it to Admin menu

  4. #4
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    if(self isHost())
    self theard doTeleport();

  5. #5
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    /Moved to GSC modding help
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  6. #6
    ApeelHunter's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Mexico
    Posts
    10
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    How about open a dedicated server on aIW???