Results 1 to 3 of 3
  1. #1
    isokasi's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    129
    Reputation
    10
    Thanks
    6
    My Mood
    Fine

    [SOLVED]UFO mode

    Whats the code for the UFO mode? Then i mean like u press a button and become a spectator and press it again and u spawn at the spot ur at. I would like to put it in a mod, and it would be for the host only :P

  2. #2
    rkaf's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    OPEN RIGHT NOW!! <--- ADD MPGHRKAF
    Posts
    748
    Reputation
    73
    Thanks
    1,633
    My Mood
    Yeehaw
    Quote Originally Posted by isokasi View Post
    Whats the code for the UFO mode? Then i mean like u press a button and become a spectator and press it again and u spawn at the spot ur at. I would like to put it in a mod, and it would be for the host only :P

    Code:
    oUfo()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self notifyOnPlayerCommand("dpad_up", "+actionslot 1");
            maps\mp\gametypes\_spectating::setSpectatePermissions();
            for(;;)
            {
                    self waittill("dpad_up");          
                    self allowSpectateTeam( "freelook", true );
                    self.sessionstate = "spectator";
                    self setContents( 0 );
                    self waittill("dpad_up");
                    self.sessionstate = "playing";
                    self allowSpectateTeam( "freelook", false );
                    self setContents( 100 );
            }
    }
    use search next time

  3. #3
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    /Marked as solved
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

Similar Threads

  1. [SOLVED] Windowed Mode without borders
    By MuhKuh2010 in forum Call of Duty Black Ops Help
    Replies: 10
    Last Post: 11-30-2010, 04:30 PM
  2. [Solved]Windowed Mode
    By FUKO in forum Call of Duty Modern Warfare 2 Help
    Replies: 7
    Last Post: 11-28-2010, 06:06 PM
  3. [Solved]Window Mode
    By zooyork in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 11-14-2010, 02:24 AM
  4. [SOLVED] Windowed Mode problem
    By chrisdavis97 in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 09-19-2010, 08:38 PM
  5. [SOLVED] god mode
    By Erige in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 09-12-2010, 02:25 PM