Results 1 to 11 of 11
  1. #1
    kimi1294's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1

    Zombie Mod QCZM v4.5 DISABLE TEAM CHANGE

    Okay, my problem is that humans change team and then they have their own weapons as a zombie.
    So they can easily kill every human.
    But if a "gunzombie" died, he becomes a normal zombie.
    How can i disable the team change?
    I searched the forum, but the command:

    ui_allow_teamchange "0"

    or in the mod in the init() function:

    setDvar("ui_allow_teamchange", 0);

    does not work

    and if use the first code in the console there comes the message:
    it is cheat-protected...

    so, i hope u will help me :/

  2. #2
    Heartview's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    KY Cygni
    Posts
    9,208
    Reputation
    717
    Thanks
    2,872
    Moved to GSC Help.
    Texture Mods


    Obedear, the sky is low

  3. #3
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Code:
    Dvars()
    {
    
    setdvar("ui_allow_teamchange", "0");
    level.teamLimit = 18;
    level.teamBalance = 0;
    setDvar("scr_teambalance", 0);
    setDvar("party_autoteams", 0);
    
    
    }
    Code:
    Onplayerspawned()
    {
    self endon("disconnect");
    for(;;)
    	{	
    		self waittill("spawned_player");
                              self thread dvars();
          }
    }
    This should work fine

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

    kimi1294 (09-03-2011)

  5. #4
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    setDvar("ui_allow_teamchange", 0);
    Press thanks if I helped you
    my English grammar not good

  6. #5
    kimi1294's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    thank you really much, its working

    hm, maybe u can help me with my next problem.
    The menu is sometimes bugged...
    u cannot buy anything from the shop-menu.
    This often happens when a player joins the game later, he cannot buy anything.

    oh and another problem ^^
    u cannot knife in third person mode...
    i enabled 3rd person mode for zombies and humans have first person mode.
    if zombies knife, they knife into the air automatic...
    how can i enable 3rd person mode correctly? so that zombies can knife...
    Last edited by kimi1294; 09-03-2011 at 07:41 AM.

  7. #6
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Quote Originally Posted by kimi1294 View Post
    thank you really much, its working

    hm, maybe u can help me with my next problem.
    The menu is sometimes bugged...
    u cannot buy anything from the shop-menu.
    This often happens when a player joins the game later, he cannot buy anything.

    oh and another problem ^^
    u cannot knife in third person mode...
    i enabled 3rd person mode for zombies and humans have first person mode.
    if zombies knife, they knife into the air automatic...
    how can i enable 3rd person mode correctly? so that zombies can knife...
    make loop statement(while(1)) and at the end put
    Code:
    wait 0.01;
    if it doesn't work. then post your menu function
    Press thanks if I helped you
    my English grammar not good

  8. #7
    kimi1294's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    removed ^^ because this post was too long...
    Last edited by kimi1294; 09-03-2011 at 05:34 PM.

  9. #8
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Look at me, I quote massive posts and then complain about how long they are.


    NOT UR WHOLE MENUS.GSC, the function where is the shop-menu, not menus.gsc
    Last edited by Heartview; 09-04-2011 at 04:29 AM.
    Press thanks if I helped you
    my English grammar not good

  10. #9
    kimi1294's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    sry idk what u mean...
    should i upload my complete mod for you?

    I attached it.
    Last edited by kimi1294; 09-03-2011 at 05:33 PM.

  11. The Following User Says Thank You to kimi1294 For This Useful Post:

    johnsmith086 (04-25-2012)

  12. #10
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    Quote Originally Posted by kimi1294 View Post
    sry idk what u mean...
    should i upload my complete mod for you?

    I attached it.
    no, u must not upload you whole mod /facepalm
    tell me where did you write the shop-menu?
    and post the place where you wrote the shop-menu not your whole .gsc
    Press thanks if I helped you
    my English grammar not good

  13. #11
    kimi1294's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    idk where i wrote the shop menu, so i thought u would know it, because I only edited the QCZM v4.5

Similar Threads

  1. [Solved] QCZM 4.5 STOP TEAM CHANGE
    By Black666Devil666 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 13
    Last Post: 05-17-2011, 10:49 AM
  2. [Preview/Testing] Team-LTDT zombie mod.
    By h34dsh00tz in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 0
    Last Post: 10-07-2010, 09:38 AM
  3. Zombie mod is coming to Combat arms!
    By iHazBalls in forum Combat Arms Europe Hacks
    Replies: 5
    Last Post: 07-18-2009, 03:04 AM
  4. Zombies mod
    By frfwolf in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 2
    Last Post: 04-26-2009, 05:07 PM
  5. Jr Team changes vote
    By RJ in forum Art & Graphic Design
    Replies: 13
    Last Post: 02-24-2009, 05:31 PM