Results 1 to 5 of 5
  1. #1
    nutterz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    South East England
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Dead

    [SOLVED]Stop Spectator mode

    Ok, I need some help, i'm new to GSC modding, but i've got the hang of most things, one problem. I'm using a quickscope mod but people keep entering spectator mode, which causes confusion as they show up as enemies and don't know what team they are on. I've searched the code line by line to find out how to stop this but there is nothing in there allowing people in spectator, so is there a code to kick people from spectator mode and force a team?

    Any help would be appreciated and i'm sorry if this has been asked before. I have searched the forums

  2. #2
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    146
    My Mood
    Angelic
    Just disable Spectator Mode. Not too sure what code it is, might want to search around for disabling it.

  3. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Here you go!

    [php]
    ByeSpectator();
    {
    while(1)
    {
    if(self.team == "spectator")
    {
    self notify("menuresponse", game["menu_team"], "autoassign");
    wait .1;
    self notify("menuresponse", "changeclass", "class1");
    self thread weaponthreadhere();
    }
    }
    }

    // Change onJoinSpectators() to what you see below!
    onJoinedSpectators()
    {
    self endon("disconnect");

    for(;
    {
    self waittill( "joined_spectators" );
    self thread removeRankHUD();
    self thread ByeSpectator();
    }
    }[/php]
    Last edited by master131; 08-28-2010 at 12:58 AM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    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]

  4. The Following User Says Thank You to master131 For This Useful Post:

    AZUMIKKEL (08-28-2010)

  5. #4
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    /Moved to help + 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

  6. #5
    nutterz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    South East England
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Dead
    Thank you very much! Much appreciated

Similar Threads

  1. [SOLVED] Stop Weapon Pick up
    By nutterz in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-30-2010, 12:25 PM
  2. [SOLVED]MTH window mode?
    By igotfish in forum Alliance of Valiant Arms (AVA) Help
    Replies: 4
    Last Post: 08-17-2010, 12:04 AM
  3. Can't Enter spectator mode :(
    By MuhKuh2010 in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 06-26-2010, 01:28 AM
  4. spectator mode
    By freb in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 02-17-2010, 12:05 PM
  5. IS ANYONE INTERESTED IN A SPECTATOR MODE????
    By lolz2much in forum Combat Arms Hacks & Cheats
    Replies: 17
    Last Post: 07-26-2009, 04:49 PM