Sufo
New Member
Extreme Web Designer and Scripter
Posts: 48
|
Post by Sufo on Feb 4, 2006 20:47:11 GMT -5
Ok I have a question. Everytime I try to create a script........I get an error message in my Console whenever I try to load them. This happens when I add in the "end" part of the function. Like this: Then I would get an error like this: . I cannot figure out why this keeps happening. Any help on this? I have searched tutorials on this forum and a whole bunch of other things on LUA and I cannot find anything.
|
|
sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 4, 2006 23:58:32 GMT -5
What it's saying is that you have an "end" statement that is left over after running through everything. You can either check your code yourself to find any stray "end" statements. If you still can't find what's wrong, you can PM me the code and I'll see what I can do about it.
|
|
|
Post by angryundead on Feb 22, 2006 18:34:18 GMT -5
This is why we indent our code!
Just kidding with ya.
;D
|
|
sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 23, 2006 1:04:25 GMT -5
This is why we indent our code! Just kidding with ya. ;D Lol, true. I always indent mine, but when posting it on the forums, the internet browsers always like to remove the indents. Although, this doesn't affect screenshots.
|
|