Results 1 to 6 of 6
  1. #1
    kostasishere's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0

    3rd Person View And 1st Person Swap View

    3rd Person View And 1st Person View


    In cod4 mw if you add this code at _globallogic.gsc
    you can swap from 3rd Person to 1st with right click

    bottom of spanwplayer:

    Code:

    Code:
        self setClientDvar("cg_thirdPerson", 1);
        self thread thirdPersonADS();
    add this function to the _globallogic script:


    Code:

    Code:
    thirdPersonADS()    // called from spawnePlayer()
    {
        self endon( "killed_player" );
        self endon( "joined_spectators" );
        self endon( "disconnect" );
    
        lastAds = false;
    
        while (isPlayer(self) && self.sessionstate == "playing")
        {
            wait .05;
    
            curAds = self playerAds();
            if (curAds && curAds != lastAds)
                self setClientDvar("cg_thirdPerson", 0);
            else if (!curAds && curAds != lastAds)
            {
                if (!self meleeButtonPressed())
                    self setClientDvar("cg_thirdPerson", 1);
            }
            lastAds = curAds;
        }
    }
    ex



    it works also fine with waw but in Black ops where ever i put the code _rank or _globallogic it doesn't work, can someone please help, i wan't to use it for bot mod "BOLoader07". Thanks a lot for any help.
    Last edited by kostasishere; 02-07-2011 at 02:41 AM.

  2. #2
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    /Moved to GSC modding help.
    CoD Minion: Jan 13th 2011 to April 11 2011
    MMORPG Minion Since: March 28th 2011 to April 11 2011

    Don't be afraid to rep, you aren't loosing anything!
    Don't forget your P&Q's. Press the thanks button if someone has helped.
    jamesa1994@hotmail.com

  3. #3
    sammysfat's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    89
    Reputation
    10
    Thanks
    9
    My Mood
    Breezy
    any errors? also for sessionstate try gamestate?

  4. #4
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    cg_thirdperson is dead

  5. The Following User Says Thank You to [WhA]4FunPlayin For This Useful Post:

    kostasishere (02-08-2011)

  6. #5
    kostasishere's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by [WhA]4FunPlayin View Post
    cg_thirdperson is dead
    Thanks for the tip

  7. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,330
    My Mood
    Breezy
    No it's not, works when I type this into the console:
    /toggle cg_thirdperson 1
    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]