Results 1 to 11 of 11
  1. #1
    Lemon30's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    10
    My Mood
    Devilish

    [Help]How to change jump height of a single team?

    setDvar( "jump_height", 300 );
    setDvar("bg_falldamageminheight", 9998);
    setDvar("bg_falldamagemaxheight", 9999);

    I want to add these only to allies; but when game starts I see that both teams are affected. Is there another way to increase jump height that I can use?

    Thanks
    -Lemon
    Last edited by Lemon30; 08-31-2010 at 09:51 PM.

  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
    Put this under the team you want, axis or allied...

    Code:
    selfsetDvar( "jump_height", 300 ); selfsetDvar("bg_falldamageminheight", 9998); selfsetDvar("bg_falldamagemaxheight", 9999);
    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
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,326
    My Mood
    Breezy
    That's not correct GSC code James.....
    [php]
    if(self.pers["team"] == "allies") {
    setDvar("jump_height", 300 );
    setDvar("bg_falldamageminheight", 9998);
    setDvar("bg_falldamagemaxheight", 9999); }
    [/php]
    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]

  4. #4
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /solved



  5. #5
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    Quote Originally Posted by master131 View Post
    That's not correct GSC code James.....
    [php]
    if(self.pers["team"] == "allies") {
    setDvar("jump_height", 300 );
    setDvar("bg_falldamageminheight", 9998);
    setDvar("bg_falldamagemaxheight", 9999); }
    [/php]
    Oops, your right, the space isn't meant to be there =S
    Code:
    if(self.pers["team"] == "allies") {
    self setDvar("jump_height", 300 );
    self setDvar("bg_falldamageminheight", 9998);
    self setDvar("bg_falldamagemaxheight", 9999); 
    }
    Try that...

  6. #6
    Lemon30's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    10
    My Mood
    Devilish
    None of them is working, so not solved, yet. It affects everyone.

  7. #7
    JamesA1994's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    The dark side
    Posts
    1,703
    Reputation
    271
    Thanks
    529
    My Mood
    Psychedelic
    Quote Originally Posted by Lemon30 View Post
    None of them is working, so not solved, yet. It affects everyone.
    Not if you use the one I posted...
    It sets the dvar for a single user not everyone...

  8. #8
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,326
    My Mood
    Breezy
    Use self setDvar instead of setDvar
    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]

  9. #9
    Amir98's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    200
    Reputation
    10
    Thanks
    17
    thank u

  10. #10
    Lemon30's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    10
    My Mood
    Devilish
    If I use what you said, game gives unknown function error.

  11. #11
    Amir98's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    200
    Reputation
    10
    Thanks
    17
    Quote Originally Posted by Lemon30 View Post
    If I use what you said, game gives unknown function error.
    yeah i also had that

Similar Threads

  1. [SOLVED]How to change pin.php to comfirmation.php
    By xdragonkk in forum CrossFire Help
    Replies: 5
    Last Post: 10-02-2010, 07:06 PM
  2. [Help] [SOLVED]How do you change login pic?
    By IssuedGaming in forum CrossFire Mods & Rez Modding
    Replies: 3
    Last Post: 09-20-2010, 01:38 AM
  3. [Solved]How to change windows in aero?
    By Loki in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 09-15-2010, 12:41 PM
  4. [Solved]How can i change language?
    By isokasi in forum Call of Duty Modern Warfare 2 Help
    Replies: 8
    Last Post: 09-15-2010, 12:32 PM
  5. [SOLVED] how to change a private match into a public lobby
    By youareabitch in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 09-02-2010, 07:57 AM