Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Post [Release] SC7E52 Fire Proof

    Code:
    FireProof()
    {
    	if  (!level.FireProofOn)
    	{
    		level.FireProofOn = true;
    		self iprintBold("ON");
    		self thread ProofFire();
    	}
    	else
    	{
    		level.FireProofOn = false;
    		self iprintBold("OFF");
    		level.notify ("FirePOff");
    	}
    }
    
    ProofFire()
    {
    	self endon ("disconnect");
    	level endon ("FirePOff"
    	iprintBold("Fire Proof!");
    	setDvar("specialty_fireproof", "01000000" );
    }
    It's just like my code! I hope you enjoy!

    Credits:
    Outlaw
    Morder
    IDontHack

    0 Not allowed! Not allowed!
    Last edited by Outlaw; 09-26-2012 at 01:09 PM.
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  2. #2
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    01000000 is the value for true in codes, for mods, it's just 1.

    0 Not allowed! Not allowed!

  3. #3
    http://xat.com/cleaker
    Dv0id's Avatar
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
    Gamer IDs

    Wii Code: 3213-373-1827

    Default

    you do not need the ; on the top FireProof and change the top one to something else because it is already defined once.

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  4. #4
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Quote Originally Posted by IDontHack View Post
    you do not need the ; on the top FireProof and change the top one to something else because it is already defined once.
    Ok, I did. And wouldn't be ok because the top fireproof is: FireProof() and the second one is: FireProof!()?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  5. #5
    http://xat.com/cleaker
    Dv0id's Avatar
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
    Gamer IDs

    Wii Code: 3213-373-1827

    Default

    Ohh it would be.. my bad. I did not see the ! in it lol.

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  6. #6
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Is it ok now?
    And yeah, that is what I do when I do scripts, the first one will be: Name() and the second one will be: Name!();

    0 Not allowed! Not allowed!
    Last edited by Outlaw; 09-26-2012 at 01:04 PM.
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  7. #7
    Banned
    Join Date
    May 2011
    Posts
    917
    Points
    1,182
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    917
    Points
    1,182

    Default

    Code:
    FireProof()
    {
    	if  (!level.FireProofOn)
    	{
    		level.FireProofOn = true;
    		self iprintBold("ON");
    		self thread ProofFire();
    	}
    	else
    	{
    		level.FireProofOn = false;
    		self iprintBold("OFF");
    		level.notify ("FirePOff");
    	}
    }
    
    ProofFire()
    {
    	self endon ("disconnect");
    	level endon ("FirePOff"
    	iprintBold("Fire Proof!");
    	setDvar("specialty_fireproof", "01000000" );
    }
    Fixed your script.

    0 Not allowed! Not allowed!

  8. #8
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Quote Originally Posted by MorderVonJuden View Post
    Code:
    FireProof()
    {
    	if  (!level.FireProofOn)
    	{
    		level.FireProofOn = true;
    		self iprintBold("ON");
    		self thread ProofFire();
    	}
    	else
    	{
    		level.FireProofOn = false;
    		self iprintBold("OFF");
    		level.notify ("FirePOff");
    	}
    }
    
    ProofFire()
    {
    	self endon ("disconnect");
    	level endon ("FirePOff"
    	iprintBold("Fire Proof!");
    	setDvar("specialty_fireproof", "01000000" );
    }
    Fixed your script.
    So your saying that I don't need for(;;) ?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  9. #9
    http://xat.com/cleaker
    Dv0id's Avatar
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
    Gamer IDs

    Wii Code: 3213-373-1827

    Default

    Well seems as if morder already told you. you don't need the for(;;)

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  10. #10
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    So does that go for all the scripts that I make that way?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 06:02 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.