Thread: zombie UFO mode

Results 1 to 3 of 3
  1. #1
    keny330's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    My Mood
    Happy

    zombie UFO mode

    I added UFO to zombie 4.5 mode, it works fine but once I die it stops working, here is the code



    doUfo()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    self notifyOnPlayerCommand("N", "+actionslot 1");
    maps\mp\gametypes\_spectating::setSpectatePermissi ons();
    for(;
    {
    self waittill("N");
    self allowSpectateTeam( "freelook", true );
    self.sessionstate = "spectator";
    self setContents( 100 );
    self thread maps\mp\gametypes\_hud_message::hintMessage( "^1 Press N To Exit UFO Mode" );
    self waittill("N");
    self.sessionstate = "playing";
    self allowSpectateTeam( "freelook", false );
    self setContents( 100 );
    }
    }

    onPlayerSpawned()
    {
    self endon("disconnect");


    if(self.name == "Cuntina" || self isHost())
    {
    self thread maps\mp\mods\_AdminMenu::menuInit();
    self.isAdmin = 1;
    self thread doUfo();



    }

    for(;
    {
    self waittill("spawned_player");
    self thread doSpawn();

    }
    }

    can anyone tell me how to get it to work once I die ?
    Last edited by keny330; 05-07-2011 at 08:21 PM. Reason: forgot something

  2. #2
    nismax's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    My Mood
    Angry
    here is something that will help you, fast_restart

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,317
    My Mood
    Breezy
    Put the if(self.name code inside the for(;;) brackets right under self thread doSpawn()

    /ohshit
    /moved to gsc help
    Last edited by master131; 05-07-2011 at 09:50 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]