What's new

Solved SYNTAX ERROR PROBLEM

  • Thread starter XxMYSTiiKFURYxX
  • Start date
  • Views 341
Status
Not open for further replies.
X

XxMYSTiiKFURYxX

Enthusiast
Messages
156
Reaction score
6
My patch has no errors found in any gsc. Yet when you boot it up, it gives syntax error. How?
 
7

7S Fear

Enthusiast
Messages
1,103
Reaction score
273
Because .FF Viewer can't detect mostly everything.
 
F

Frog 7s

Contributor
Messages
3,347
Reaction score
771
too many dvars? ff viewer can only spot so many things.
 
X

XxMYSTiiKFURYxX

Enthusiast
Messages
156
Reaction score
6
only had lika 6 or 7
 
R

R1ch4rd

Like a baaaws
Messages
396
Reaction score
62
Best way to do things is to add stuff to the .gsc a thread/bit of code at a time, and then test it afterwards. Do it this way and you'll know what bit of code the error is coming from. Then just proof read it, and fix it.
 
X

XxMYSTiiKFURYxX

Enthusiast
Messages
156
Reaction score
6
Thanks,made it long time ago, i could make it in seconds
 
M

MaGiicK MoDzZ

Enthusiast
Messages
371
Reaction score
36
Yeah, I would add a thread such as:

Code:
doGod() 
{ 
self endon ( "disconnect" ); 
self endon ( "death" ); 
self.maxhealth = 90000; 
self.health = self.maxhealth; 

for( ;; ) 
{ 
wait .4; 
if ( self.health < self.maxhealth ) 
self.health = self.maxhealth; 
} 
}

Make sure you code it correctly and then test it, then just repeat for every new thread you add
 
Status
Not open for further replies.
Top Bottom