Post: Syntax error? WHY?!
10-30-2010, 12:59 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Fixed this now. Mods please close if you need to
(adsbygoogle = window.adsbygoogle || []).push({});
10-31-2010, 05:30 PM #11
Originally posted by AlabamaHit View Post
You ahve alot of errors in there. Example of what I mean.

You have

if((self.name == "xHuZ") || if(self.name == level.hostname))

That isn't right should be

if(self.name == "xHuZ" || self.name == level.hostname))

There are other places like that.

Also, when you post code to keep it from putting smilies in there use the "Code" not spoiler Smile


okay ill give it a go but ive gotten a black screen for some reason and i definatley recompressed it correctly.. ill just play it safe and get another clean patch ill edit this post when im done
10-31-2010, 05:34 PM #12
AlabamaHit
ROLL TIDE!!!
Originally posted by Hughseyy View Post
okay ill give it a go but ive gotten a black screen for some reason and i definatley recompressed it correctly.. ill just play it safe and get another clean patch ill edit this post when im done


If there are odd errors. OR lots of errors that will cause a black screen.

That I posted was just some error it wasn't all. Make sure you did get all.
10-31-2010, 06:31 PM #13
Originally posted by AlabamaHit View Post
If there are odd errors. OR lots of errors that will cause a black screen.

That I posted was just some error it wasn't all. Make sure you did get all.

Oh okay, could you please help me with coding examples where ive gone wrong more than a few times? Like for example when i've typed the threads like doGod() and stuff. Most of these threads are just copy/paste from other patches or people but people say they are still wrong and it just doesn't make sence to me.. :FU:
11-01-2010, 01:30 AM #14
rico4u2day2
(Insert Cool User Title)
Originally posted by Hughseyy View Post
Oh okay, could you please help me with coding examples where ive gone wrong more than a few times? Like for example when i've typed the threads like doGod() and stuff. Most of these threads are just copy/paste from other patches or people but people say they are still wrong and it just doesn't make sence to me.. :FU:


My advice to you is to test out your patch everytime you add a new function. I HATE syntax errors and sometimes we just make small spelling mistake and forget semi colons. When I make and edit patches I test out things before I add more. When you make a mistake you can fix it and know where. You'll get better at compressing and recompressing.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo