You are viewing our Forum Archives. To view or take place in current topics click here.
whats wrong with this line?
Posted:

whats wrong with this line?Posted:

dotZip
  • Resident Elite
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
its probably something really small but
[ Register or Signin to view external links. ]

im new to this btw ;)
#2. Posted:
PeakModz
  • Challenger
Status: Offline
Joined: Nov 29, 201112Year Member
Posts: 145
Reputation Power: 8
Status: Offline
Joined: Nov 29, 201112Year Member
Posts: 145
Reputation Power: 8
Theres no semi-colon at the end of the line;
;
;
;
;
;
;
;
;
;
#3. Posted:
dotZip
  • Resident Elite
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
nope i do have it but just didnt get it in the shot ;/
#4. Posted:
Skittle
  • 1000 Thanks
Status: Offline
Joined: Aug 20, 20149Year Member
Posts: 6,813
Reputation Power: 413
Status: Offline
Joined: Aug 20, 20149Year Member
Posts: 6,813
Reputation Power: 413
There may be a missing semi-colon on the line before
#5. Posted:
dotZip
  • Resident Elite
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
this is the script, could it be this?
[ Register or Signin to view external links. ]

Remember im new so dont judge xD
#6. Posted:
Dovashin
  • Prospect
Status: Offline
Joined: Jul 10, 20149Year Member
Posts: 624
Reputation Power: 33
Status: Offline
Joined: Jul 10, 20149Year Member
Posts: 624
Reputation Power: 33
How big is the code....

I remember searching lines and lines of code for my TF2 plugins for one damn ;. I found it 2 hours later and it was a : instead of ;....
#7. Posted:
154
  • Blind Luck
Status: Offline
Joined: May 04, 20149Year Member
Posts: 2,747
Reputation Power: 4457
Status: Offline
Joined: May 04, 20149Year Member
Posts: 2,747
Reputation Power: 4457
Expwess wrote this is the script, could it be this?
[ Register or Signin to view external links. ]

Remember im new so dont judge xD


If I'm right? The '{' Should be on and empty line? Well at school it always has to be anyway?


Or if it's not that it could be that their should be a semi-colon after the double brackets.
[ Register or Signin to view external links. ]
And then move the '{' down one line.


Last edited by 154 ; edited 3 times in total
#8. Posted:
dotZip
  • Resident Elite
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
Status: Offline
Joined: Jan 26, 201311Year Member
Posts: 287
Reputation Power: 15
67 lines
1376 length

biggish
#9. Posted:
Skittle
  • Video King
Status: Offline
Joined: Aug 20, 20149Year Member
Posts: 6,813
Reputation Power: 413
Status: Offline
Joined: Aug 20, 20149Year Member
Posts: 6,813
Reputation Power: 413
It looks like you need a '}' after the second line, like so:
var obj = {red: true, yellow: false}


At the moment you only have two closing braces, one for the 'iterate() {' and one for the 'if (obj.red == true {'
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.