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-30-2010, 01:04 PM #2
Default Avatar
Sync
Guest
do you have any experience at coding? or even know what you were doing?
10-30-2010, 01:08 PM #3
yep and ive done a few patches but i wouldnt say im pro.. ive just used things people have said and told me to use.
10-30-2010, 01:08 PM #4
gola
OVER 9000!
in the create money thing it ends in }} not just 1 } also I noticed somewhere a certain lot of code started in { and ended in ) not another }
10-30-2010, 01:09 PM #5
ok ill look for that and re try the patch thanks

Edit:
Originally posted by adogalog View Post
in the create money thing it ends in }} not just 1 } also I noticed somewhere a certain lot of code started in { and ended in ) not another }

I dont understand.. i cant see any code that starts in { but ends in ) and the createmoney does end in 2 }s
10-30-2010, 01:16 PM #6
gola
OVER 9000!
Originally posted by Hughseyy View Post
ok ill look for that and re try the patch thanks

Edit:

I dont understand.. i cant see any code that starts in { but ends in ) and the createmoney does end in 2 }s


You don't get what I mean, don't worry about it.
10-30-2010, 01:22 PM #7
Originally posted by adogalog View Post
You don't get what I mean, don't worry about it.


do you mean thread or code? and i need to worry about it because i want to get this patch finished but i cant because no one will help me and i cant work it out for myself because i can't see what is wrong with it!
10-30-2010, 02:32 PM #8
gola
OVER 9000!
Originally posted by Hughseyy View Post
do you mean thread or code? and i need to worry about it because i want to get this patch finished but i cant because no one will help me and i cant work it out for myself because i can't see what is wrong with it!


init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");
level thread createPerkMap();
level thread onPlayerConnect();
}

this is an example of what i mean by a lot of code
10-30-2010, 10:51 PM #9
Originally posted by adogalog View Post
init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");
level thread createPerkMap();
level thread onPlayerConnect();
}

this is an example of what i mean by a lot of code

ok i understand now but i still cant find it. ive even used the Find thing to find all )s but i couldnt find one that ended a lot of code. why dont you just tell me white one it is?...
10-30-2010, 10:58 PM #10
AlabamaHit
ROLL TIDE!!!
Originally posted by Hughseyy View Post
yep and ive done a few patches but i wouldnt say im pro.. ive just used things people have said and told me to use.




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

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo