Thread: Host .gsc codes

Results 1 to 15 of 15
  1. #1
    merked_nub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    My Mood
    Fine

    Unhappy Host .gsc codes

    Ive been looking everywere for host codes. i want to be able to have godmode/killstreaks while all the other players dont have it. i would like to use it on noobs who dont listen and are dissrespectfull. i dont really like kicking players and i would like someone to help me with host codes.

    i would be really greatfull if someone could help me with this.

  2. #2
    Josephlittle™'s Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    GSC Modding Section
    Posts
    1,345
    Reputation
    26
    Thanks
    562
    My Mood
    Devilish
    Use the Search Button!

  3. #3
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    god mode:
    Code:
    doGod()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self.maxhealth = 200000;
            self.health = self.maxhealth;
    
            for( ;; )
            {
                    wait .4;
                    if ( self.health < self.maxhealth )
                            self.health = self.maxhealth;
            }
    }
    killstreak:
    Code:
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "KILLSTREAK", false );

  4. #4
    Threadstarter
    Unverified User
    merked_nub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    none of the mods that i have has host commands. care to explain a bit better?

    u got killstreak just for host?
    cause i believe thats for everyone.
    and i wanna be able to use the killstreaks without killing anyone :P

  5. #5
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    woh wait im giving you the code!!!

    add this to give killstreak(all :P)
    Code:
    doKillstreakcycle()
    {
            self endon ( "disconnect" );
                    self endon ( "death" );
            self notifyOnPlayerCommand( "[{+actionslot2}]", "+actionslot 2" );
                                    while ( 1 )
                                    {
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "uav", 1);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "uav", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "airdrop", 2 );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "counter_uav", 3);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "counter_uav", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "sentry", 4);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "sentry", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "precision_airstrike", 5);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "precision_airstrike", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helisupport", 6) ;
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helisupport", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "harrier_airstrike", 7) ;
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "harrier_airstrike", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "airdrop_mega", 8) ;
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helicopter_flares", 9 );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_flares", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "stealth_airstrike", 10 );
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "stealth_airstrike", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helicopter_minigun", 11);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_minigun", false );
                                    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "ac130", 12);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "emp", 13);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", false );
    
                    self waittill( "[{+actionslot2}]" );
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "nuke", 25);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", false );
                                    }
    }
    this to add the host check!
    Code:
    doHostcheck()
    {	      
            if( self isHost() ) 
    	{
    		self thread doKillstreakcycle();
    
    	}
    }
    add the code:
    Code:
    self thread doHostCheck();
    in your thread onPlayerSpawed()!(in the file _rank.gsc)!


    hey thanks me if i helped you!(Press 5 For Killstreaks!)!
    Last edited by ♪~ ᕕ(ᐛ)ᕗ; 07-30-2010 at 07:02 AM.

  6. #6
    Threadstarter
    Unverified User
    merked_nub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    where do i put the "self thread doHostCheck();" sorry im kind of a noob

  7. #7
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    in the thread look....(onPlayerSpawed()!!)
    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    	for(;;)
    	{
                    self thread doHostcheck();
    		self waittill("spawned_player");
            }		
    
    }
    REMEMBER TO PRESS "Thanks"! :P
    Last edited by ♪~ ᕕ(ᐛ)ᕗ; 07-30-2010 at 06:59 AM. Reason: REMEMBER TO PRESS "Thanks"! :P

  8. The Following User Says Thank You to ♪~ ᕕ(ᐛ)ᕗ For This Useful Post:

    merked_nub (07-30-2010)

  9. #8
    joshuadebeir's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    I"m a noob to xD
    And were do you find the DoHostCheck?
    I cant find it in my gsc file's

  10. #9
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    look at my post i post there the code to add in the script!!

  11. The Following User Says Thank You to ♪~ ᕕ(ᐛ)ᕗ For This Useful Post:

    merked_nub (07-30-2010)

  12. #10
    joshuadebeir's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    It works for me, Thank you verry much for this post , Both of you =D

  13. #11
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,119
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by joshuadebeir View Post
    It works for me, Thank you verry much for this post , Both of you =D
    no problem man!!!!

  14. #12
    Threadstarter
    Unverified User
    merked_nub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    thanks for all the help m8 i love u

  15. #13
    Threadstarter
    Unverified User
    merked_nub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Moderator can now close the thread.

  16. #14
    Erige's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    3
    My Mood
    Twisted
    well i tryed the god mode one and the game runs fine but i can still die....i dont know whats wrong

  17. #15
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Quote Originally Posted by Erige View Post
    well i tryed the god mode one and the game runs fine but i can still die....i dont know whats wrong
    READ THE RULES BEFORE YOU POST!
    This is your second bump i believe!


    /Closed

    Ex Middleman

Similar Threads

  1. [RELEASE] GSC Code Finder
    By CainFool in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 12
    Last Post: 11-07-2010, 10:56 AM
  2. Extra { in GSC code. Do not understand and where it is.
    By jonboey in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 4
    Last Post: 11-02-2010, 08:53 AM
  3. [Idea] GSC Code Database
    By Blubb1337 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 6
    Last Post: 10-22-2010, 02:36 PM
  4. [Solved]GSC Code?
    By jabbathehutt in forum Call of Duty Modern Warfare 2 Help
    Replies: 7
    Last Post: 09-17-2010, 09:33 AM
  5. With a gsc code for hiding!
    By kegmeister in forum Call of Duty Modern Warfare 2 Help
    Replies: 12
    Last Post: 08-17-2010, 08:28 PM