Results 1 to 5 of 5
  1. #1
    Banned
    Join Date
    Jan 2012
    Posts
    15
    Points
    39
         User Info     Contact     Gamer ID
    Join Date
    Jan 2012
    Posts
    15
    Points
    39

    Default [HELP needed]{SM8E52}(MW3) script compile error(wierd error)

    ok so i know wat the error means but for first time i got this wierd error that i have no clue wat it is so heres wat the error says "unintialised variable" anyone got any idea wat it means i'll +rep u (finnaly lernd how to)

    anyone

    0 Not allowed! Not allowed!

  2. #2
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    it means there is a variable with an unknown value. I seen some really weird ones.
    your .ff doesn't match etc.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

  3. #3
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    A variable is like algebra, like x or y
    but variable in cod can be something Infinity Ward made or something a modder made.
    Like self.health = 150;
    is something InfinityWard made but
    self.ModMenuOpen = true;
    is something a modder made.
    So I think it may mean 1 of the 2 things.
    1. You forgot to put a ; at the end of a variable like self.ModMenuOpen = true
    2. A variable is spelt wrong, like
    if(ModMenuOpn == true)
    the game may be wondering what that means, and give an error.

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

  4. #4
    Banned
    Join Date
    Jan 2012
    Posts
    15
    Points
    39
         User Info     Contact     Gamer ID
    Join Date
    Jan 2012
    Posts
    15
    Points
    39

    Default

    thnx guys i'll try to find my problem

    0 Not allowed! Not allowed!

  5. #5
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    i could be a typo, such as
    Code:
    primaryWeapon= "dont know the weapon names"
    //then when you call on the variable you mistyped it
    self.setPrimaryWeapon(primaryWeapn);
    in this case primaryWeapn would be the "unintialised variable"

    if you post the file you might get more help

    0 Not allowed! Not allowed!

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 09:01 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.