Results 1 to 11 of 11
  1. #1
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw

    Explain how this works...

    If (player.hasbighead); Can someone explain me how this works? Thanks.

  2. #2
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    were you found the code or did you make the bighead part up?

  3. #3
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Ye i made that Wait, gonna post the code.

  4. #4
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by TechnoX View Post
    Ye i made that Wait, gonna post the code.
    if(player.hasbighead == true)

    ?

  5. #5
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Yes like that, now can someone explain how it works, pleas?

  6. #6
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    Quote Originally Posted by TechnoX View Post
    Yes like that, now can someone explain how it works, pleas?
    @TechnoX

    Depens on how you gone use:

    if(player.hasbighead == true){
    // means if something is true, it will do whats below here
    player sayall("I try");
    }
    you can also use it for other things like:
    if(i == 5){
    self sayall("Yeh");
    }
    means if the i is 5, it will do something thats below.
    if not.
    it don't do it.

    EDIT:
    More: ( The IF statment)

    i = 5;
    if(i == 5){
    self sayall("The value is 5");
    }

    self waittill("death");
    i = 0;
    if(i == 0){
    self sayall("The value is now 0");
    }
    EDIT: more... (The ELSE statment)

    i = 5;
    if(i == 5){
    self sayall("The value is 5");
    }
    else
    {
    self sayall("The value is not 5");
    }
    self waittill("death");
    i = 0;
    if(i == 0){
    self sayall("The value is now 0");
    }
    else
    {
    self sayall("The value is not 0");
    }
    The else means if the IF is not right, it will do the ELSE
    Last edited by Jorndel; 06-10-2011 at 01:36 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

  7. #7
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Nice, thanks.
    Last edited by TechnoX; 06-10-2011 at 01:37 PM.

  8. #8
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    Quote Originally Posted by TechnoX View Post
    What does else mean...
    You saw below?

    It will do something if the IF statment is false (Not right/correct)

     
    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

  9. #9
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Edited it before you posted, your a fast guy

  10. #10
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    Quote Originally Posted by TechnoX View Post
    Edited it before you posted, your a fast guy
    Yeh, I have to try to do that.....

    So you can feel you get fast answers

    (But, for 3 days after today. I won't be answering here )

     
    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

  11. #11
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,324
    My Mood
    Breezy
    0 = false
    1 (or higher) = true

    if(self isHost() == 1) is the same as if(self isHost())
    if(self isHost() == 0) is the same as if(!self isHost())

    /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]