General > Developers Corner

Cannot get this addon to work properly... is something gone wrong in my lua?

<< < (2/2)

ajzima32:

--- Quote from: JamminR on December 08, 2014, 07:58:08 PM ---Yeah, I wasn't exactly meaning you copy/paste my example 100%. (It missed a closing parenthesis )
At this time of day for me, I'm within an hour of bedtime, with only 5-6 hours until time to get up for work.
(All you young college kids on a half hour nap between 'night' and 'classes' hush...I'm 1.8x-2x your age. :) )

Pro-Tip - learn to read the error codes Gmod lua presents.
It told you line 33 was expecting something.
Posted here, it's numbered, and, viola, us more experienced folks saw 33 was missing the )
We recommend you get a decent text editor that highlights code/punctuation.
I personally like Notepad++, but there are many others out there.


--- End quote ---

Yes, I have Note++pad  and I saw the gmod error, upon doing so I went to go find and do away with the error, yet everything I tried wasnt working..

"Hey, you cant judge me. I literally just got started with lua and wanted to know why the plugin wasnt working in general. Sounds werent playing."


I have no idea if it went from compressing the addon, or even if my sound files were up. Appearently not, they work fine while playing them in Windows Media Player.

And yes, I know it wasnt going to be as easy as copy/paste.

ajzima32:
Wow... I said Note++pad. Maybe I should learn simple Kindergarten subjects first... ;-;

Navigation

[0] Message Index

[*] Previous page

Go to full version