Results 1 to 5 of 5
  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    My Mood
    Angelic

    Wink If Host is on Team then do

    Hey, a friend of mine wonder how to make like.

    If the host is on 1 team the rest of the team will get something.


    Like:
    If host press like N the team the host is on will get like wallhack.
    So basicly.
    The "host-Team" gets something if the host Press N. And the other team don't get anything ( Won't be affected)

    The "host-Team" is the team that the host is on.


    ( I made some suggestions to him, but he said they didn't work so... )

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. #2
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    you have to make in more like if self is host join team axis
    then you can make a if self is host (n for axis team wallhack etc.)

    dont know if your getting what i mean but i think this will be the best solution

  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
    Code:
    doHostTeam()
    {
        if(!self isHost()) 
            return;
        self endon("death");
        self endon("disconnect");
        self notifyOnPlayerCommand("N", "+actionslot 1");
        for(;;)
        {
            self waittill("N");
            foreach(player in level.players)
            {
                if(player.pers["team"] == self.pers["team"]) //Use player to peform an action on someone who is on the same team as the host
                {
                    player iPrintLnBold("You are on the host's team!");
                    player giveWeapon("ak47_mp", 0, false);
                }
            }
        }
    }

    Let me know if it works and I'll mark as solved.
    Last edited by master131; 05-27-2011 at 01:05 AM.
    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
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    My Mood
    Angelic
    Quote Originally Posted by master131 View Post
    Code:
    doHostTeam()
    {
        if(!self isHost()) 
            return;
        self endon("death");
        self endon("disconnect");
        self notifyOnPlayerCommand("N", "+actionslot 1");
        for(;;)
        {
            self waittill("N");
            foreach(player in level.players)
            {
                if(player.pers["team"] == self.pers["team"]) //Use player to peform an action on someone who is on the same team as the host
                {
                    player iPrintLnBold("You are on the host's team!");
                    player giveWeapon("ak47_mp", 0, false);
                }
            }
        }
    }

    Let me know if it works and I'll mark as solved.
    @master131
    Yeh, this is solved now. Thanks
    EDIT!:
    Well, he says it only affects him and no one else...
    Last edited by Jorndel; 05-27-2011 at 03:45 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. #5
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,326
    My Mood
    Breezy
    /marked as solved
    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]